puppet-accounts
puppet-accounts copied to clipboard
home_mode is not supported ?
I am unable to use home_mode which can set custom rwx permissions to the home directory. It gives an error " unsupported variable"
Could you post some code example?
You're probably looking for home_permissions
parameter
accounts::users:
john:
home_permissions: '0740'
groups: ["sudo", "users"]
shell: "/bin/bash"
Yes sir, I am trying to find the right variable for setting permissions like what you have mentioned.
Example
accounts::users:
durgaprasad:
ensure: present
home_permissions: '0740'
groups: sudo
managehome: true
shell: /bin/bash
ssh_authorized_keys:
durgaprasad_keys:
type: 'ssh-rsa'
key: ''