2015-01-14 00:42:06 +00:00
|
|
|
###### ######
|
|
|
|
## Configure R10k ##
|
|
|
|
###### ######
|
|
|
|
|
2015-05-15 18:37:47 +00:00
|
|
|
## This manifest requires the zack/R10k module
|
2015-01-14 00:42:06 +00:00
|
|
|
## Beware! (and good luck!)
|
|
|
|
|
|
|
|
class { 'r10k':
|
2015-05-15 18:37:47 +00:00
|
|
|
version => '1.5.1',
|
2015-01-14 00:42:06 +00:00
|
|
|
sources => {
|
|
|
|
'puppet' => {
|
|
|
|
#Edit remote to be your own control_repo
|
2015-05-15 18:37:47 +00:00
|
|
|
'remote' => 'https://github.com/npwalker/control-repo.git',
|
2015-01-14 00:42:06 +00:00
|
|
|
'basedir' => "${::settings::confdir}/environments",
|
|
|
|
'prefix' => false,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
purgedirs => ["${::settings::confdir}/environments"],
|
|
|
|
manage_modulepath => false,
|
|
|
|
}
|