Blame SOURCES/0002-Revert-maint-Remove-puppetmaster.service.patch

c96a11
From f54a22b96e9e631991bad095a7b321273a2e6e3f Mon Sep 17 00:00:00 2001
c96a11
From: Gael Chamoulaud <gchamoul@redhat.com>
c96a11
Date: Wed, 29 Jul 2015 21:58:48 +0200
c96a11
Subject: [PATCH 2/5] Revert "(maint) Remove puppetmaster.service"
c96a11
c96a11
This reverts commit c0e30daa53b6267c1c86b6e27c01b1c26cf49af5.
c96a11
---
c96a11
 ext/systemd/puppet.service       |  2 +-
c96a11
 ext/systemd/puppetmaster.service | 12 ++++++++++++
c96a11
 2 files changed, 13 insertions(+), 1 deletion(-)
c96a11
 create mode 100644 ext/systemd/puppetmaster.service
c96a11
c96a11
diff --git a/ext/systemd/puppet.service b/ext/systemd/puppet.service
c96a11
index 7c16615..36769ac 100644
c96a11
--- a/ext/systemd/puppet.service
c96a11
+++ b/ext/systemd/puppet.service
c96a11
@@ -11,7 +11,7 @@
c96a11
 [Unit]
c96a11
 Description=Puppet agent
c96a11
 Wants=basic.target
c96a11
-After=basic.target network.target
c96a11
+After=basic.target network.target puppetmaster.service
c96a11
 
c96a11
 [Service]
c96a11
 EnvironmentFile=-/etc/sysconfig/puppetagent
c96a11
diff --git a/ext/systemd/puppetmaster.service b/ext/systemd/puppetmaster.service
c96a11
new file mode 100644
c96a11
index 0000000..dbbd627
c96a11
--- /dev/null
c96a11
+++ b/ext/systemd/puppetmaster.service
c96a11
@@ -0,0 +1,12 @@
c96a11
+[Unit]
c96a11
+Description=Puppet master
c96a11
+Wants=basic.target
c96a11
+After=basic.target network.target
c96a11
+
c96a11
+[Service]
c96a11
+EnvironmentFile=-/etc/sysconfig/puppetmaster
c96a11
+EnvironmentFile=-/etc/default/puppetmaster
c96a11
+ExecStart=/usr/bin/puppet master $PUPPETMASTER_EXTRA_OPTS --no-daemonize
c96a11
+
c96a11
+[Install]
c96a11
+WantedBy=multi-user.target
c96a11
-- 
c96a11
2.19.2
c96a11