summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/tapicero/manifests/init.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/puppet/modules/tapicero/manifests/init.pp b/puppet/modules/tapicero/manifests/init.pp
index 743e8a84..cac74597 100644
--- a/puppet/modules/tapicero/manifests/init.pp
+++ b/puppet/modules/tapicero/manifests/init.pp
@@ -56,6 +56,13 @@ class tapicero {
group => 'tapicero',
require => User['tapicero'];
+ # for pid file
+ '/var/run/tapicero':
+ ensure => directory,
+ owner => 'tapicero',
+ group => 'tapicero',
+ require => User['tapicero']
+
##
## TAPICERO CONFIG
##
@@ -117,7 +124,7 @@ class tapicero {
enable => true,
hasstatus => true,
hasrestart => true,
- require => File['/etc/init.d/tapicero'];
+ require => [ File['/etc/init.d/tapicero'], File['/var/run/tapicero'] ];
}
}