Change msg with Exec resource too

This patches is changing error message
in case package is not found in yum repos
also for cases when yum is issued via Exec
puppet resource

Fixes message issue in rhbz#1022044

Change-Id: I19874bbe73b5a955a53ce33096a0ec2f175c4a82
This commit is contained in:
Martin Magr
2013-10-22 18:12:53 +02:00
parent d3bb52e0a2
commit 4c5680942b

View File

@@ -39,6 +39,8 @@ surrogates = [
# Package is not found in yum repos
('Package\[.*\]\/ensure.*yum.*install (?P<arg1>.*)\'.*Nothing to do',
'Package %(arg1)s has not been found in enabled Yum repos.'),
('Execution of \'.*yum.*install (?P<arg1>.*)\'.*Nothing to do',
'Package %(arg1)s has not been found in enabled Yum repos.'),
# Packstack does not cooperate with jruby
('jruby', 'Your Puppet installation uses jruby instead of ruby. Package '
'jruby does not cooperate with Packstack well. You will have to '