summaryrefslogtreecommitdiff
path: root/puppet/modules/tapicero/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-05-22 16:38:28 -0400
committerMicah Anderson <micah@leap.se>2014-05-22 16:38:28 -0400
commit6100b6ded99241f10e7fb12c13a0820fda084912 (patch)
tree863a9120010f32fdae304af94cd102c1da5096a6 /puppet/modules/tapicero/manifests
parent327d5c934e408f90011d7949b89ab01fed88998e (diff)
parenta622e49c5df2150049afb6f6ed47177537b7e6da (diff)
Merge branch 'develop' (0.5.1)0.5.1
Change-Id: I4e9d845f9758232f4da0d4bfbf785e52982b825b
Diffstat (limited to 'puppet/modules/tapicero/manifests')
-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..af1a96ac 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'] ];
}
}