Bug 30148

Summary: не все директории созданы для работы puppet-агента
Product: Sisyphus Reporter: stalker <stalker>
Component: puppetAssignee: majioa <majioa>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P3 CC: cas, imz, led, majioa, mike, nbr, pav, rider, stalker
Version: unstable   
Hardware: all   
OS: Linux   

Description stalker 2014-07-01 13:39:12 MSK
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
Comment 1 stalker 2014-07-01 13:47:21 MSK
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
Comment 2 stalker 2014-07-02 00:15:42 MSK
Дело оказалось не в бобине - оказывается ему очень хотелось
/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?'
====
Comment 3 stalker 2014-07-31 23:12:29 MSK
ping
Comment 4 Andrey Cherepanov 2015-12-28 12:44:59 MSK
На Sisyphus.
Comment 5 Repository Robot 2016-10-06 15:30:07 MSK
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