From 2d9ff69171031ccf0059c60ca11979291f367918 Mon Sep 17 00:00:00 2001 From: Guojian Zhou Date: Wed, 19 Aug 2015 22:56:08 -0400 Subject: 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 `' 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 `' 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 `' from /usr/bin/puppet:23:in `load' from /usr/bin/puppet:23:in `
' Signed-off-by: Guojian Zhou Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-support/puppet/puppet_3.7.3.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta-openstack') 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 += " \ hiera \ " +RDEPENDS_${PN} += " \ + ruby \ + facter \ + hiera \ +" + RUBY_INSTALL_GEMS = "puppet-${PV}.gem" do_install_append() { -- cgit v1.2.3-54-g00ecf