git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
Diffstat (limited to 'site')
-rw-r--r--site/profile/manifests/puppetmaster.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/site/profile/manifests/puppetmaster.pp b/site/profile/manifests/puppetmaster.pp
new file mode 100644
index 0000000..8242110
--- /dev/null
+++ b/site/profile/manifests/puppetmaster.pp
@@ -0,0 +1,14 @@
+class profile::puppetmaster {
+
+ class { 'hiera':
+ hierarchy => [
+ "nodes/%{::trusted.certname}",
+ :common",
+ ],
+ hiera_yaml => '/etc/puppetlabs/code/hiera.yaml',
+ datadir => "/etc/puppetlabs/code/environments/%{environment}/hieradata",
+ owner => 'root',
+ group => 'root',
+ }
+
+}