yum grouplist response on F20 is lower case
On el6 the `yum grouplist` response contains 'Installed Groups:' but on F20 it is 'Installed groups'. This change modifies to regexp in the slave.pp to accept both. Change-Id: I50d80d7a11bee4437ed3967dc1a55ef56d15ba8c
This commit is contained in:
parent
9a15781d5e
commit
2cb925e39c
@ -39,7 +39,7 @@ class jenkins::slave(
|
||||
'RedHat': {
|
||||
|
||||
exec { 'yum Group Install':
|
||||
unless => '/usr/bin/yum grouplist "Development tools" | /bin/grep "^Installed Groups"',
|
||||
unless => '/usr/bin/yum grouplist "Development tools" | /bin/grep "^Installed [Gg]roups"',
|
||||
command => '/usr/bin/yum -y groupinstall "Development tools"',
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user