puppet agent --no-daemonize --onetime --test /usr/lib/ruby/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead. err: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `exists?' for nil:NilClass err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: undefined method `exists?' for nil:NilClass info: Creating a new SSL key for corsair.srv.ru err: Could not request certificate: Cannot save corsair.locum.ru; parent directory /var/lib/puppet/ssl/private_keys does not exist Exiting; failed to retrieve certificate and waitforcert is disabled
err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: undefined method `exists?' for nil:NilClass info: Creating a new SSL key for ca Cannot save ca; parent directory /var/lib/puppet/ssl/ca does not exist
Дело оказалось не в бобине - оказывается ему очень хотелось /tmp/dump.6882:access("/usr/bin/chage", X_OK) = 0 который в rpm -qf /usr/bin/chage shadow-change-4.1.4.2-alt8 Надо на него зависимость в пакете прописать, а то === /usr/lib/ruby/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead. debug: Failed to load library 'selinux' for feature 'selinux' debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderLdap: true value when expecting false debug: Puppet::Type::User::ProviderUseradd: file chage does not exist debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist debug: Puppet::Type::User::ProviderPw: file pw does not exist /usr/lib/ruby/site_ruby/puppet/type/user.rb:355:in `exists?' ====
ping
На Sisyphus.
puppet-4.7.0-alt1 -> sisyphus: * Thu Oct 06 2016 Andrey Cherepanov <cas@altlinux> 4.7.0-alt1 - new version 4.7.0 * Mon Dec 28 2015 Andrey Cherepanov <cas@altlinux> 4.3.1-alt1 - New version - Package missing directories (ALT #30148) * Sat Apr 25 2015 Andrey Cherepanov <cas@altlinux> 4.0.0-alt1 - New version * Tue Jan 13 2015 Andrey Cherepanov <cas@altlinux> 3.7.3-alt1 - New version * Thu May 15 2014 Andrey Cherepanov <cas@altlinux> 3.5.1-alt1 - New version - Rename services to puppet, puppetmaster - Add NetworkManager dispatcher script to pickup changes to /etc/resolv.conf and such