Guest User

Untitled

a guest
Jun 19th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. ------------------macauth.pp-----------------------
  2.  
  3. #!/usr/bin/env puppet
  4.  
  5. macauthorization { 'system.device.dvd.setregion.initial':
  6. auth_class => 'user',
  7. comment => 'Changed by Puppet - Used by DVD Player for Region Code',
  8. group => 'staff',
  9. shared => 'true',
  10.  
  11. }
  12.  
  13. macauthorization {'sys.openfile.readwrite./private/etc/httpd/httpd.conf':
  14. auth_class => 'user',
  15. group => 'dumbadmin',
  16. mechanisms => ['builtin:authenticate'],
  17. shared => 'false',
  18. }
  19.  
  20. ---------------------------------Running with puppet apply------------------------
  21.  
  22. bash-3.2# puppet apply macauth.pp
  23. notice: /Stage[main]//Macauthorization[sys.openfile.readwrite./private/etc/httpd/httpd.conf]/ensure: created
  24. err: /Stage[main]//Macauthorization[sys.openfile.readwrite./private/etc/httpd/httpd.conf]: Could not evaluate: flush requested for unknown type.
  25. notice: /Stage[main]//Macauthorization[system.device.dvd.setregion.initial]/comment: comment changed 'Used by the DVD player to set the region code the first time. Note that changing the region code after it has been set requires a different right (system.device.dvd.setregion.change).' to 'Changed by Puppet - Used by DVD Player for Region Code'
  26. notice: /Stage[main]//Macauthorization[system.device.dvd.setregion.initial]/group: group changed 'admin' to 'staff'
  27. err: /Stage[main]//Macauthorization[system.device.dvd.setregion.initial]: Could not evaluate: flush requested for unknown type.
Add Comment
Please, Sign In to add comment