On Nov 12, 2008, at 11:55 AM, Nigel Kersten wrote: > > So I have a first candidate that's a pretty big rewrite of the > directoryservice provider. > > If anyone is interested in testing this (it's just replacing one file > in the 0.24.6 installation) on an OS X client, let me know. I have > some more cleanup to do before submitting the patch, but it's > functional. > > Note this is also fixing the bug with comments or any other attributes > with spaces in the value that was reported with the directoryservice > provider. > > Makes manifests a bit ugly though... but all that zero padding is > actually used for some things on OS X like setting an alternative > Lanman hash for SMB, and managing the existence or lack thereof of > alternative hashes is rather desirable to me. > > user { "testviapuppet": > ensure => present, > gid => 80, > uid => 495, > home => "/Users/testviapuppet", > shell => "/bin/bash", > comment => "Test Via Puppet", > password => > "000000000000000000000000000000000000000000000000000000000000000000000 > 0000000000000000000000000000000000000000000000000000000000000000000000 > 00000000000000000000000000000087832794FF3758105D7A4E560EBADDF18D7A0635 > F49BA17000000000000000000000000000000000000000000000000000000000000000 > 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", > }
For this kind of thing, it probably makes sense to have a function to retrieve the password from an external source; or even provide a function that just does the necessary zero-padding. -- Talent hits a target no one else can hit; Genius hits a target no one else can see. -- Arthur Schopenhauer --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---