simple-framework / simple_grid_puppet_module

Central Configuration Module, implemented in Puppet, for SIMPLE-Grid (a solution for setting up Lightweight Sites for the Worldwide LHC Computing Grid)
Apache License 2.0
2 stars 6 forks source link

Check if yum-config-manager it's installed #206

Open esilvaju opened 4 years ago

esilvaju commented 4 years ago

Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/python/manifests/init.pp", 102]:["unknown", 0] (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation') Error: /bin/sh: yum-config-manager: command not found

Error: /Stage[main]/Simple_grid::Components::Docker::Repo::Enable/Exec[Rnable docker repo]/returns: change from 'notrun' to ['0'] failed: /bin/sh: yum-config-manager: command not found

Error: /bin/sh: yum-config-manager: command not found

Error: /Stage[main]/Simple_grid::Components::Docker::Repo::Disable/Exec[Disable docker repo]/returns: change from 'notrun' to ['0'] failed: /bin/sh: yum-config-manager: command not found

Error: /Stage[main]/Simple_grid::Components::Docker::Repo::Enable/Exec[Rnable docker repo]/returns: change from 'notrun' to ['0'] failed: /bin/sh: yum-config-manager: command not

maany commented 4 years ago

Puppet is amazing :) This looks like output from the puppet module rather than the validation engine. Thanks for reporting. I am moving this issue to the puppet module and we will patch it in the next release.

maany commented 4 years ago

fix: yum-config-manage is assumed to be present by puppet. Install it beforehand.