git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/configure_r10k.pp
blob: 1965a43319801c82f7f8b012b491593348081645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
######         ######
##  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!)

class { 'r10k':
  version           => '1.4.1',
  sources           => {
    'puppet' => {
      #Edit remote to be your own control_repo
      'remote'  => 'https://github.com/npwalker/control_repo.git',
      'basedir' => "${::settings::confdir}/environments",
      'prefix'  => false,
    }
  },
  purgedirs         => ["${::settings::confdir}/environments"],
  manage_modulepath => false,
}