Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @user { "test.user":
- ensure => "present",
- uid => "31000",
- gid => "100",
- comment => "Test User ",
- home => "/home/test.user",
- shell => "/bin/bash",
- managehome => "true",
- password => "*",
- groups => ["studio_app", "studio", "admin"],
- require => Group["studio_app", "studio"],
- }
- @ssh_authorized_key { "test.user.key":
- ensure => "present",
- user => "test.user",
- type => "ssh-dss",
- name => "test.user@testing.com",
- key => "ThisIsMyKey",
- }
- realize User["test.user"]
- realize Ssh_authorized_key["test.user.key"]
- Ssh_authorized_key <| title == "test.user.key" |>{
- user => "studio_app",
- }
Add Comment
Please, Sign In to add comment