Guest User

Untitled

a guest
Jan 21st, 2018
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. @user { "eric.cifreo":
  2. ensure => "present",
  3. uid => "30008",
  4. gid => "100",
  5. comment => "eric.cifreo",
  6. home => "/home/eric.cifreo",
  7. shell => "/bin/bash",
  8. managehome => "true",
  9. password => "*",
  10. groups => ["studio_app", "studio", "admin"],
  11. require => Group["studio_app", "studio"],
  12. }
  13.  
  14. @ssh_authorized_key { "eric.cifreo-key":
  15. ensure => "present",
  16. user => "eric.cifreo",
  17. type => "ssh-dss",
  18. name => "eric.cifreo@demandmedia.com",
  19. key => "Key…..",
  20. tag => "studio_dev",
  21. }
  22.  
  23. @user { "anthony.heidnreich":
  24. ensure => "present",
  25. uid => "30018",
  26. gid => "100",
  27. comment => "anthony.heidnreich",
  28. home => "/home/anthony.heidnreich",
  29. shell => "/bin/bash",
  30. managehome => "true",
  31. password => "*",
  32. groups => ["studio_app", "studio", "admin"],
  33. require => Group["studio_app", "studio"],
  34. }
  35.  
  36. @ssh_authorized_key { "anthony.heidnreich-key":
  37. ensure => "present",
  38. user => "anthony.heidnreich",
  39. type => "ssh-dss",
  40. name => "anthony.heidnreich@demandmedia.com",
  41. key => "key . . . . ",
  42. tag => "studio_dev",
  43. }
  44.  
  45. realize User["eric.cifreo"]
  46. realize Ssh_authorized_key["eric.cifreo-key"]
  47.  
  48. realize User["anthony.heidnreich"]
  49. realize Ssh_authorized_key["anthony.heidnreich-key"]
  50.  
  51. Ssh_authorized_key<| tag == "studio_devs" |>{
  52. user => "studio_app",
  53. }
Add Comment
Please, Sign In to add comment