Issue #4975 has been updated by Merritt Krakowitzer.
I think this is related, when I upgraded to 2.6.2 I get the followiing: [r...@mrk1207b:/root]#puppetd --debug --test debug: Failed to load library 'selinux' for feature 'selinux' debug: Failed to load library 'shadow' for feature 'libshadow' debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: Could not find a default provider for user debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: Could not find a default provider for user debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: Could not find a default provider for user debug: Using cached certificate for ca debug: Using cached certificate for mrk1207b.liberty.co.za debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl, :agent]: Could not find a default provider for user debug: Loaded state in 0.75 seconds info: Retrieving plugin debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows is missing debug: Loaded state in 0.28 seconds debug: Failed to load library 'ldap' for feature 'ldap' debug: Using cached certificate for ca debug: Using cached certificate for mrk1207b.liberty.co.za debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: Could not find a default provider for user debug: Using cached certificate_revocation_list for ca debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson debug: /File[/var/lib/puppet/lib]: Storing newly-audited value for content debug: Finishing transaction 6770760 debug: Storing state debug: Stored state in 1.90 seconds info: Loading facts in serial info: Loading facts in serial debug: catalog supports formats: b64_zlib_yaml dot marshal pson raw yaml; using pson info: Caching catalog for mrk1207b.liberty.co.za debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not run Puppet configuration client: Could not find a default provider for user When installing a new instance of puppet and run puppet for the first time I get: [r...@foo:~]#puppetd --debug --test debug: Failed to load library 'selinux' for feature 'selinux' debug: Failed to load library 'shadow' for feature 'libshadow' debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: Could not find a default provider for user debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: Could not find a default provider for user info: Creating a new SSL key for FOO err: Could not request certificate: Cannot save FOO; parent directory /etc/puppet/ssl/private_keys does not exist Exiting; failed to retrieve certificate and waitforcert is disabled I then make the dir [r...@foo:~]#mkdir -p /etc/puppet/ssl/private_keys and get: [r...@foo:~]#puppetd --debug --test debug: Failed to load library 'selinux' for feature 'selinux' debug: Failed to load library 'shadow' for feature 'libshadow' debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: Could not find a default provider for user debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: Could not find a default provider for user info: Creating a new SSL key for db2srsprelz1.liberty.fin-za.net debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Puppet::Type::User::ProviderUser_role_add: file chage does not exist err: Could not request certificate: Could not write /etc/puppet/ssl/private_keys/db2srsprelz1.liberty.fin-za.net.pem to privatekeydir: Could not find a default provider for user Exiting; failed to retrieve certificate and waitforcert is disabled [r...@foo:~]# ---------------------------------------- Bug #4975: Password age issue in 2.6.2 http://projects.puppetlabs.com/issues/4975 Author: Matteo Cerutti Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected version: 2.6.2 Keywords: Branch: Whenever I create a new user, using the latest puppet 2.6.2 I get the following error: ensure: change from absent to present failed: Could not create user xxxxx: Execution of '/usr/bin/chage xxxxx' returned 3: Negative numbers are not allowed as input (except -1) Changing aging information for xxxxx. Minimum Password Age [0]: Aging information not changed. If I do specify the parameter min_password_age => 0 when calling the user type then the error goes away, but every time I run puppet it tells me that the minimum age of the password will be set to 0. I would not really want to manage any password ages. Thanks, Matteo -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
