diff options
| author | Guojian Zhou <guojian.zhou@windriver.com> | 2015-08-19 22:56:08 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-08-20 13:38:48 -0400 |
| commit | 2d9ff69171031ccf0059c60ca11979291f367918 (patch) | |
| tree | cb426dedcd90ce0d48623f10063af6b70dcbd314 /meta-openstack | |
| parent | fdf50abfa807705b285fdc5454ecfc881b19d4ff (diff) | |
| download | meta-cloud-services-2d9ff69171031ccf0059c60ca11979291f367918.tar.gz | |
Fix the puppet run failure issue
The puppet's execution depends on the facter, so add the required
RDEPENDS in the bb file.
The puppet tool run failure information:
==============================================
root@# puppet help
/usr/lib64/ruby/rubygems/custom_require.rb:36:in `require': cannot load such file -- facter (LoadError)
from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require'
from /usr/lib64/ruby/gems/1.9.1/gems/puppet-3.7.3/lib/puppet.rb:6:in `<top (required)>'
from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require'
from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require'
from /usr/lib64/ruby/gems/1.9.1/gems/puppet-3.7.3/lib/puppet/util/command_line.rb:12:in `<top (required)>'
from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require'
from /usr/lib64/ruby/rubygems/custom_require.rb:36:in `require'
from /usr/lib64/ruby/gems/1.9.1/gems/puppet-3.7.3/bin/puppet:7:in `<top (required)>'
from /usr/bin/puppet:23:in `load'
from /usr/bin/puppet:23:in `<main>'
Signed-off-by: Guojian Zhou <guojian.zhou@windriver.com>
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack')
| -rw-r--r-- | meta-openstack/recipes-support/puppet/puppet_3.7.3.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb b/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb index afd9a23..22376cf 100644 --- a/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb +++ b/meta-openstack/recipes-support/puppet/puppet_3.7.3.bb | |||
| @@ -18,6 +18,12 @@ DEPENDS += " \ | |||
| 18 | hiera \ | 18 | hiera \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | RDEPENDS_${PN} += " \ | ||
| 22 | ruby \ | ||
| 23 | facter \ | ||
| 24 | hiera \ | ||
| 25 | " | ||
| 26 | |||
| 21 | RUBY_INSTALL_GEMS = "puppet-${PV}.gem" | 27 | RUBY_INSTALL_GEMS = "puppet-${PV}.gem" |
| 22 | 28 | ||
| 23 | do_install_append() { | 29 | do_install_append() { |
