Bug 30148 - не все директории созданы для работы puppet-агента
: не все директории созданы для работы puppet-агента
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/puppet)
: unstable
: all Linux
: P3 major
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2014-07-01 13:39 by
Modified: 2016-10-06 15:30 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


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