-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathconfigure_r10k.pp
25 lines (22 loc) · 930 Bytes
/
configure_r10k.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
###### ######
## Configure R10k ##
###### ######
## This manifest requires the zack/R10k module and will attempt to
## configure R10k according to my blog post on directory environments.
## Beware! (and good luck!)
## version should correspond to the Gem version zack-r10k is tested against:
## https://forge.puppetlabs.com/zack/r10k
## (e.g. 1.5.1 for recent module versions, expected to be 2.0.3 at the next major zack-r10k release)
class { 'r10k':
version => '1.5.1',
sources => {
'puppet' => {
'remote' => 'https://github.com/glarizza/puppet_repository.git',
'basedir' => "${::settings::confdir}/environments",
'prefix' => false,
}
},
## purgedirs is deprecated, but may be needed for older versions (see https://github.com/acidprime/r10k/pull/84)
## purgedirs => ["${::settings::confdir}/environments"],
manage_modulepath => false,
}