summaryrefslogtreecommitdiff
path: root/upstart
diff options
context:
space:
mode:
authorMathias Gug <mathias.gug@canonical.com>2010-02-16 15:25:01 -0500
committerMathias Gug <mathias.gug@canonical.com>2010-02-16 15:25:01 -0500
commit7667f4f11c8dd8414b4022879b5779c5ed53c578 (patch)
treedac8157cada8707760680009f9707d62063d61de /upstart
parent2fc34ffe31b0c899625106f73b7044e90280b80b (diff)
downloadvyos-cloud-init-7667f4f11c8dd8414b4022879b5779c5ed53c578.tar.gz
vyos-cloud-init-7667f4f11c8dd8414b4022879b5779c5ed53c578.zip
Add cloud-config-puppet hook.
Diffstat (limited to 'upstart')
-rw-r--r--upstart/cloud-config-puppet.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/upstart/cloud-config-puppet.conf b/upstart/cloud-config-puppet.conf
new file mode 100644
index 00000000..83786118
--- /dev/null
+++ b/upstart/cloud-config-puppet.conf
@@ -0,0 +1,12 @@
+# Setup puppetd
+
+description "Setup puppetd"
+
+# Make sure puppet is started after repositories have been setup.
+# This can be useful if the puppet package should be pulled from
+# a different repository.
+start on started cloud-apt-update-upgrade
+console output
+task
+
+exec cloud-init-cfg config-puppet