Onboard Hakim: Add unix account
Related to T3075
Test Plan
octocatalog-diff
$ bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging worker0.internal.staging.swh.network
...
*** Running octocatalog-diff on host worker0.internal.staging.swh.network
I, [2021-03-01T13:43:51.849500 #17956] INFO -- : Catalogs compiled for worker0.internal.staging.swh.network
I, [2021-03-01T13:43:52.854899 #17956] INFO -- : Diffs computed for worker0.internal.staging.swh.network
diff origin/production/worker0.internal.staging.swh.network current/worker0.internal.staging.swh.network
*******************************************
+ File[/home/hakb/.ssh] =>
parameters =>
"ensure": "directory"
"group": "hakb"
"mode": "0600"
"owner": "hakb"
*******************************************
+ File[/home/hakb] =>
parameters =>
"ensure": "directory"
"group": "hakb"
"mode": "0644"
"owner": "hakb"
*******************************************
+ Mailalias[hakb] =>
parameters =>
"ensure": "present"
"notify": "Exec[newaliases]"
"recipient": ["hakim.baaloudj@gmail.com"]
*******************************************
+ Ssh_authorized_key[hakb hakimbaaloudj@MacBook-Pro-de-Hakim.local] =>
parameters =>
"ensure": "present"
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCo0eF8sx39x0Vu2T8YwpO9dD1G3oawaovN0KZMMW3nYge0mSsstWL+VoST2+1CV82vJ62KmlfldJVOe0ao7X/VU+PtG7tWEqWAgJIr6vlWnVI46utRdmn55kM3a9n07wSgBEPTwgH47QgHFUpIqHsR+utE+Au1o0DZF5ZJx0Q2Tj7QRfDLSDtgRhoRms1pWFauU+Z5QoUnQZh14/D2Imzhqj+fbpNiQqf9kTppflx+WbHDwhfSmpoDVWZn5qFL4p4kYtVXNhqXNLh7kHzUYpidBySJvf2ldk7lO7aN1tUo3wYM1hCMn+g6NjVioQ2ga37vy6BZJkm5BmKqBq+fSyD72bO2Ojh8fX1Y0ZJtb00MlD6lMX953asK1xm5gwmvyli7btb09aZkLEtIktRUN7gja1wvtkjmUnwMYnnUmVWUrCJC1Rquj7eHmCEgZOZ//Blsjs7+6bY9uo91bVt2xoxQaIfhVuhEh+cpQnCfz59rMoeLFE2toI3brVFPfHT6aV0="
"type": "ssh-rsa"
"user": "hakb"
*******************************************
+ User[hakb] =>
parameters =>
"comment": "Hakim Baaloudj"
"ensure": "present"
"groups": ["swhdev", "swhteam"]
"shell": "/bin/bash"
"uid": 1028
*******************************************
*** End octocatalog-diff on worker0.internal.staging.swh.network
Migrated from D5166 (view on Phabricator)