Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## manifest class backupsusers inherits sysusers { realize( Group["storage"], User["storage"], Ssh_userkeys["storage"] ) User["storage"] { before => Homedir["storage"], groups +> $storagegroups } homedir { "storage": homedir => $hostname ? { galaxy => "/storage", universe => "/storage1", default => "/home/storage" }, mode => "0775", recurse => "false", owner => "storage", group => "storage"; } } ## Result err: //Node[baseserver]/backupsusers/Homedir[storage]/File[storagehome]/ensure: change from absent to directory failed: Could not set directory on ensure: Could not find user storage at /etc/puppet/manifests/definitions/definitions.pp:48
This paste will be private.
From the Design Piracy series on my blog: