Protect gcc package from duplicate declaration

Change-Id: Ida5333c8f5ef54c584ab0c48507d32a086a264ba
This commit is contained in:
James E. Blair 2016-04-13 16:10:55 -07:00
parent eaac86d3f4
commit e4c352d286
1 changed files with 4 additions and 2 deletions

View File

@ -10,8 +10,10 @@ class jeepyb (
}
}
package { 'gcc':
ensure => present,
if ! defined(Package['gcc']) {
package { 'gcc':
ensure => present,
}
}
# A lot of things need yaml, be conservative requiring this package to avoid