Created
December 3, 2015 23:23
-
-
Save flyinprogrammer/a3fac83750e8109b26ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if manage_repo | |
yumrepo {'repo': | |
enabled => 1, | |
gpgcheck => 1, | |
} | |
end | |
package { 'package': | |
ensure => latest, | |
if Yumrepo['repo'] was defined: | |
require => Yumrepo['repo'], | |
end | |
} |
ripienaar
commented
Dec 3, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment