We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 330fdab commit 934cf64Copy full SHA for 934cf64
manifests/unicorn.pp
@@ -62,15 +62,16 @@
62
path => '/etc/puppet/config.ru',
63
source => '/usr/share/puppet/ext/rack/config.ru',
64
} ->
65
- exec{'systemd-reload':
66
- command => '/usr/bin/systemctl daemon-reload',
67
- refreshonly => true,
68
- notify => Service['unicorn-puppetmaster'],
69
- } ->
+
70
file {'unicorn-service':
71
path => '/usr/lib/systemd/system/unicorn-puppetmaster.service',
72
content => template('puppet/unicorn-puppetmaster.service'),
73
notify => Exec['systemd-reload'],
+ } ->
+ exec{'systemd-reload':
+ command => '/usr/bin/systemctl daemon-reload',
+ refreshonly => true,
74
+ notify => Service['unicorn-puppetmaster'],
75
}
76
unless defined(Service['unicorn-puppetmaster']) {
77
service{'unicorn-puppetmaster':
0 commit comments