Created
December 30, 2015 10:56
-
-
Save KrisBuytaert/7a8107310b0b93663674 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class vdab_repos::centos { | |
resources {'yumrepo': | |
purge => true, | |
} | |
$_major = $os['release']['major'] | |
include "::vdab_repos::centos::${_major}" | |
} | |
class vdab_repos::centos::7 { | |
$repos = hiera_hash('vdab_repos::os::centos::7') | |
create_resources (yumrepo, $repos) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment