[meta-virtualization] [m-c-s][PATCH 1/5] Fix the puppet run failure issue

Bruce Ashfield bruce.ashfield at windriver.com
Thu Aug 20 10:39:14 PDT 2015


On 15-08-19 10:56 PM, Mark Asselstine wrote:
> From: Guojian Zhou <guojian.zhou at windriver.com>
>
> The puppet's execution depends on the facter, so add the required
> RDEPENDS in the bb file.

merged to master.

Bruce

>
> 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 at windriver.com>
> Signed-off-by: Mark Asselstine <mark.asselstine at 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() {
>



More information about the meta-virtualization mailing list