aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-support/puppet/puppet/puppet.service
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/puppet/puppet/puppet.service')
-rw-r--r--recipes-support/puppet/puppet/puppet.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-support/puppet/puppet/puppet.service b/recipes-support/puppet/puppet/puppet.service
new file mode 100644
index 00000000..c49dacfd
--- /dev/null
+++ b/recipes-support/puppet/puppet/puppet.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Puppet agent
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/puppet agent --server master --no-daemonize
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target