Index: modules/spawn_fcgi/manifests/init.pp |
=================================================================== |
--- a/modules/spawn_fcgi/manifests/init.pp |
+++ b/modules/spawn_fcgi/manifests/init.pp |
@@ -13,7 +13,19 @@ |
ensure => running, |
hasstatus => true, |
enable => true, |
- require => File['/etc/init.d/spawn-fcgi'], |
+ require => [ |
+ File['/etc/init.d/spawn-fcgi'], |
+ File['/etc/systemd/system/spawn-fcgi.service'], |
+ ], |
mathias
2017/08/01 22:21:18
That closing bracket is one indent level too deep.
f.nicolaisen
2017/08/02 07:51:48
Acknowledged.
|
+ } |
+ |
+ file { '/etc/systemd/system/spawn-fcgi.service': |
+ ensure => present, |
+ owner => root, |
+ group => root, |
+ mode => '0755', |
+ source => 'puppet:///modules/spawn_fcgi/spawn-fcgi.service', |
+ require => Package['spawn-fcgi'], |
} |
file { '/etc/init.d/spawn-fcgi': |