==== User ==== These states are responsible for the management of Users. Pillar ------ For using this Module you need a corresponding pillar/user. The structure of the pillar/users/init.sls should look like this: .. code-block:: yaml users: : uid: fullname: email: password: shell: /bin/bash groups: - wheel - kvm - libvirt - sudo ssh_auth: - key: type: ssh-rsa comment: absent_ssh_auth: - - : .. absent_users: - - absent_root_ssh_auth: - - To generate the Password you can use mkpasswd .. code-block:: bash mkpasswd --method=sha-512 --salt=$(pwgen 8 1) If mkpasswd is not available to you, you can use python .. code-block:: python import crypt; print crypt.crypt('PASSWORD','$6$HASH') git --- Managging .gitconfig for users for configuring git-stuff. init ---- The init.sls is to create and update the useraccounts found in the corresponding users-pillar. If an ssh-key is in users-pillar includes, the ssh-key will be included ~/.ssh/authorized_keys. root ---- The root.sls collects all the ssh-key and appends them to ~root/.ssh/authorized_keys.