diff --git a/UpdUpgReb.sls b/UpdUpgReb.sls new file mode 100644 index 0000000..3db8973 --- /dev/null +++ b/UpdUpgReb.sls @@ -0,0 +1,8 @@ +update_pkg: + pkg.uptodate: + - refresh: True + +system.reboot: + module.run: + - watch: + - pkg: update_pkg diff --git a/users.sls b/users.sls index 2b3df33..03c8324 100644 --- a/users.sls +++ b/users.sls @@ -1,21 +1,21 @@ -marco: - user.present: - - fullname: Marco Salvi - - shell: /bin/bash - - home: /home/marco - - password: '$1$kK4.Rz43$Xfb1BOv5gEy.rU9Q2ZCVm1' - - groups: - - sudo - ssh_auth.present: - - user: marco - - source: salt://ssh-keys/marco.id_rsa.pub - - config: '%h/.ssh/authorized_keys' +#marco: +# user.present: +# - fullname: Marco Salvi +# - shell: /bin/bash +# - home: /home/marco +# - password: '$1$kK4.Rz43$Xfb1BOv5gEy.rU9Q2ZCVm1' +# - groups: +# - sudo +# ssh_auth.present: +# - user: marco +# - source: salt://ssh-keys/marco.id_rsa.pub +# - config: '%h/.ssh/authorized_keys' samuele: user.present: - - fullname: Samuele Locatelli + - fullname: Samuele E. Locatelli - shell: /bin/bash - home: /home/samuele - - password: '$1$kK4.Rz43$Xfb1BOv5gEy.rU9Q2ZCVm1' + - password: '$6$hNHeYKbo$NtBrKFzScGJEHUbVosleik/vruKx8DFDWqstBBr.m7uuiTqW9HDXabTi954uDaDzQJWGB4ced1d6r5ieMz6SC.' - groups: - sudo ssh_auth.present: @@ -23,5 +23,13 @@ samuele: - source: salt://ssh-keys/sam.id_ed25519.pub - config: '%h/.ssh/authorized_keys' +steamware: + user.present: + - fullname: Steamware Admin User + - shell: /bin/bash + - home: /home/steamware + - password: '$6$c31aH6dTMDuQ/lGO$ybu3eX4kDjE4wVFr6h8OWiBIp05DZ54DhwD.nPdGBvDDGGAaVhvogPJSRFbHopGV.yrCtXDDibTLDrFTHDME..' + - groups: + - sudo diff --git a/utils.sls b/utils.sls index 0f37a34..2938a88 100644 --- a/utils.sls +++ b/utils.sls @@ -26,6 +26,14 @@ nnn: pkg: - installed +ncdu: + pkg: + - installed + dos2unix: pkg: - installed + +mc: + pkg: + - installed