summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support
diff options
context:
space:
mode:
authorGuojian Zhou <guojian.zhou@windriver.com>2015-08-19 22:56:08 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-08-20 13:38:48 -0400
commit2d9ff69171031ccf0059c60ca11979291f367918 (patch)
treecb426dedcd90ce0d48623f10063af6b70dcbd314 /meta-openstack/recipes-support
parentfdf50abfa807705b285fdc5454ecfc881b19d4ff (diff)
downloadmeta-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/recipes-support')
-rw-r--r--meta-openstack/recipes-support/puppet/puppet_3.7.3.bb6
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
21RDEPENDS_${PN} += " \
22 ruby \
23 facter \
24 hiera \
25"
26
21RUBY_INSTALL_GEMS = "puppet-${PV}.gem" 27RUBY_INSTALL_GEMS = "puppet-${PV}.gem"
22 28
23do_install_append() { 29do_install_append() {