Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @user { "eric.cifreo":
- ensure => "present",
- uid => "30008",
- gid => "100",
- comment => "eric.cifreo",
- home => "/home/eric.cifreo",
- shell => "/bin/bash",
- managehome => "true",
- password => "*",
- groups => ["studio_app", "studio", "admin"],
- require => Group["studio_app", "studio"],
- }
- @ssh_authorized_key { "eric.cifreo-key":
- ensure => "present",
- user => "eric.cifreo",
- type => "ssh-dss",
- name => "eric.cifreo@demandmedia.com",
- key => "Key…..",
- tag => "studio_dev",
- }
- @user { "anthony.heidnreich":
- ensure => "present",
- uid => "30018",
- gid => "100",
- comment => "anthony.heidnreich",
- home => "/home/anthony.heidnreich",
- shell => "/bin/bash",
- managehome => "true",
- password => "*",
- groups => ["studio_app", "studio", "admin"],
- require => Group["studio_app", "studio"],
- }
- @ssh_authorized_key { "anthony.heidnreich-key":
- ensure => "present",
- user => "anthony.heidnreich",
- type => "ssh-dss",
- name => "anthony.heidnreich@demandmedia.com",
- key => "key . . . . ",
- tag => "studio_dev",
- }
- realize User["eric.cifreo"]
- realize Ssh_authorized_key["eric.cifreo-key"]
- realize User["anthony.heidnreich"]
- realize Ssh_authorized_key["anthony.heidnreich-key"]
- Ssh_authorized_key<| tag == "studio_devs" |>{
- user => "studio_app",
- }
Add Comment
Please, Sign In to add comment