summaryrefslogtreecommitdiff
path: root/puppet/modules/tapicero/manifests/init.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-04-24 14:37:50 -0400
committerMicah Anderson <micah@leap.se>2014-04-24 14:53:30 -0400
commit1a26bc28e2db27fdd73db7e05f3efc4f6019d970 (patch)
tree10873bea4b52f310c728e185beb5f509c80b89b3 /puppet/modules/tapicero/manifests/init.pp
parent0a9bcf49adab7120849806e4c6408d3f2887e09a (diff)
create a /var/run/tapicero directory, owned by tapicero:tacpiero to hold
the pid file (#5577) Change-Id: I2144e3d8c0ee18254fe3822098c87b2a8c57c2ce
Diffstat (limited to 'puppet/modules/tapicero/manifests/init.pp')
-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'] ];
}
}