git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/configure_r10k.pp
diff options
context:
space:
mode:
authormail_redacted_for_web 2015-01-13 16:42:06 -0800
committermail_redacted_for_web 2015-01-13 16:42:06 -0800
commit4e2a2b81cf17909647728a0c9febab7ab0370e65 (patch)
treea7c704fd0f7eaa8b0e0ed55e10aa6b39575dc70e /configure_r10k.pp
downloadcontrol-repo-template-4e2a2b81cf17909647728a0c9febab7ab0370e65.tar.bz2
Initial Commit
Stole Gary's puppet_repository and modified it for general general consumption. Upped the version of r10k to newest (1.4.1) Ripped out the hiera examples just left defaults.yaml Tweaked environment.conf
Diffstat (limited to 'configure_r10k.pp')
-rw-r--r--configure_r10k.pp21
1 files changed, 21 insertions, 0 deletions
diff --git a/configure_r10k.pp b/configure_r10k.pp
new file mode 100644
index 0000000..1965a43
--- /dev/null
+++ b/configure_r10k.pp
@@ -0,0 +1,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,
+}