All of lore.kernel.org
 help / color / mirror / Atom feed
* [m-c-s][PATCH 1/5] Fix the puppet run failure issue
@ 2015-08-20  2:56 Mark Asselstine
  2015-08-20  2:56 ` [m-c-s][PATCH 2/5] Add the puppet.conf for the puppet agent Mark Asselstine
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Mark Asselstine @ 2015-08-20  2:56 UTC (permalink / raw)
  To: bruce.ashfield; +Cc: meta-virtualization

From: Guojian Zhou <guojian.zhou@windriver.com>

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>
---
 meta-openstack/recipes-support/puppet/puppet_3.7.3.bb | 6 ++++++
 1 file changed, 6 insertions(+)

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() {
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-20 17:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-20  2:56 [m-c-s][PATCH 1/5] Fix the puppet run failure issue Mark Asselstine
2015-08-20  2:56 ` [m-c-s][PATCH 2/5] Add the puppet.conf for the puppet agent Mark Asselstine
2015-08-20  2:56 ` [m-c-s][PATCH 3/5] Add the ruby-shadow recipe for the puppet tool Mark Asselstine
2015-08-20  2:56 ` [m-c-s][PATCH 4/5] puppet: move to base layer Mark Asselstine
2015-08-20  2:56 ` [m-c-s][PATCH 5/5] puppet: fixup QA warning Mark Asselstine
2015-08-20 17:39 ` [m-c-s][PATCH 1/5] Fix the puppet run failure issue Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.