Added Debian defualt /etc/puppet files.
authorAndreas Schiermeier <as@ccc504j.site>
Wed, 11 Mar 2015 22:32:05 +0000 (23:32 +0100)
committerAndreas Schiermeier <as@ccc504j.site>
Wed, 11 Mar 2015 22:32:05 +0000 (23:32 +0100)
etckeeper-commit-post [new file with mode: 0755]
etckeeper-commit-pre [new file with mode: 0755]
manifests/.dir [new file with mode: 0644]
modules/.dir [new file with mode: 0644]
puppet.conf [new file with mode: 0644]
templates/.dir [new file with mode: 0644]

diff --git a/etckeeper-commit-post b/etckeeper-commit-post
new file mode 100755 (executable)
index 0000000..489b2bd
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+
+which etckeeper > /dev/null 2>&1 || exit 0
+
+etckeeper commit "committing changes in /etc after puppet catalog run"
+
+# Failure of etckeeper should not be fatal.
+exit 0
diff --git a/etckeeper-commit-pre b/etckeeper-commit-pre
new file mode 100755 (executable)
index 0000000..a66fb62
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+
+which etckeeper > /dev/null 2>&1 || exit 0
+
+etckeeper commit "saving uncommitted changes in /etc prior to puppet catalog run"
+
+# Failure of etckeeper should not be fatal.
+exit 0
diff --git a/manifests/.dir b/manifests/.dir
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/modules/.dir b/modules/.dir
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/puppet.conf b/puppet.conf
new file mode 100644 (file)
index 0000000..b18fae3
--- /dev/null
@@ -0,0 +1,16 @@
+[main]
+logdir=/var/log/puppet
+vardir=/var/lib/puppet
+ssldir=/var/lib/puppet/ssl
+rundir=/var/run/puppet
+factpath=$vardir/lib/facter
+templatedir=$confdir/templates
+prerun_command=/etc/puppet/etckeeper-commit-pre
+postrun_command=/etc/puppet/etckeeper-commit-post
+
+[master]
+# These are needed when the puppetmaster is run by passenger
+# and can safely be removed if webrick is used.
+ssl_client_header = SSL_CLIENT_S_DN 
+ssl_client_verify_header = SSL_CLIENT_VERIFY
+
diff --git a/templates/.dir b/templates/.dir
new file mode 100644 (file)
index 0000000..e69de29