Thanks for the help Brian, I installed *libshadow-ruby1.8* however it still failed to update, however this time I ran in debug mode:
*vagrant@precise64:/tmp$ sudo puppet apply --verbose --debug main.ppwarning: Could not retrieve fact fqdndebug: Failed to load library 'shadow' for feature 'libshadow'debug: Puppet::Type::User::ProviderPw: file pw does not existdebug: Puppet::Type::User::ProviderLdap: true value when expecting falsedebug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not existdebug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not existdebug: /User[test5]: Provider useradd does not support features manages_passwords; not managing attribute passworddebug: Creating default schedulesdebug: Failed to load library 'selinux' for feature 'selinux'debug: Failed to load library 'ldap' for feature 'ldap'debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state]debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl]debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring File[/var/lib/puppet/state]debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl]debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring File[/var/lib/puppet/state]debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl]debug: /File[/var/lib/puppet/state/state.yaml]/mode: mode changed '0640' to '0660'debug: Finishing transaction 70361834010940debug: Loaded state in 0.00 secondsdebug: Loaded state in 0.00 secondsinfo: Applying configuration version '1398300274'debug: /Schedule[daily]: Skipping device resources because running on a hostdebug: /Schedule[monthly]: Skipping device resources because running on a hostdebug: /Schedule[hourly]: Skipping device resources because running on a hostdebug: /Schedule[never]: Skipping device resources because running on a hostdebug: User[test5](provider=useradd): Executing '/usr/sbin/useradd -s /bin/bash test5'notice: /User[test5]/ensure: createddebug: /User[test5]: The container Class[Main] will propagate my refresh eventdebug: /Schedule[weekly]: Skipping device resources because running on a hostdebug: /Schedule[puppet]: Skipping device resources because running on a hostdebug: Class[Main]: The container Stage[main] will propagate my refresh eventdebug: Finishing transaction 70361834425240debug: Storing statedebug: Stored state in 0.00 secondsnotice: Finished catalog run in 0.05 secondsdebug: Finishing transaction 70361834090100debug: Received report to process from precise64debug: Processing report from precise64 with processor Puppet::Reports::Store* I did notice that there was a another package (libshadow-ruby1.8:i386) but I think that is for 32 bit, I am running 64 bit ubuntu. On Wednesday, April 23, 2014 5:30:07 PM UTC-5, Brian Mathis wrote: > > The issue you have is that Puppet is not updating the /etc/shadow file, > but even once it's doing that correctly, Method 1 still will not work. The > sha1() and md5() functions do not produce passwd/shadow compatible values > because that is not what they are for. Generating encrypted passwords is > more complex than a simple hash of the password. > > Method 2 *should* work, but since it's not, you have something else going > on. Have you tried to apply the manifest using debug and/or verbose mode? > > I will guess that you're missing the ruby-shadow package, which Puppet > needs to manage those files. Check your package provider and/or gem to make > sure you have it installed. > > > ❧ Brian Mathis > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/4cb19f68-c3a8-40e8-8fb0-71b993eb1cfc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
