summarylogtreecommitdiffstats
path: root/cfengine.install
diff options
context:
space:
mode:
Diffstat (limited to 'cfengine.install')
-rw-r--r--cfengine.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/cfengine.install b/cfengine.install
new file mode 100644
index 000000000000..f8eba1f0d573
--- /dev/null
+++ b/cfengine.install
@@ -0,0 +1,11 @@
+post_install() {
+
+ if [ ! -f /var/lib/cfengine/ppkeys/localhost.priv ]; then
+ cf-key > /dev/null
+ fi
+
+ if ! [ -f /var/lib/cfengine/masterfiles/promises.cf ]; then
+ cp -R /usr/share/CoreBase/* /var/lib/cfengine/masterfiles/
+ fi
+
+}