Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

home_mode is not supported ? #85

Open
durga1983 opened this issue Sep 13, 2017 · 2 comments
Open

home_mode is not supported ? #85

durga1983 opened this issue Sep 13, 2017 · 2 comments

Comments

@durga1983
Copy link

I am unable to use home_mode which can set custom rwx permissions to the home directory. It gives an error " unsupported variable"

@deric
Copy link
Owner

deric commented Sep 14, 2017

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"

@durga1983
Copy link
Author

durga1983 commented Sep 15, 2017

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: ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants