summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-21 16:58:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-02-21 16:58:24 -0300
commit58220ff8822c4edc249c936f0b73a26425f512e7 (patch)
tree3f143720a897e9fc3d7e257339b22533350e2e23
parent71b1236522e43979b04fdcf8bd2750fc11e9b48e (diff)
downloadpuppet-supybot-58220ff8822c4edc249c936f0b73a26425f512e7.tar.gz
puppet-supybot-58220ff8822c4edc249c936f0b73a26425f512e7.tar.bz2
Using supervisor::app
-rw-r--r--manifests/init.pp12
1 files changed, 3 insertions, 9 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index bd34373..cffa2ef 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -27,14 +27,8 @@ class supybot {
require => User['supybot'],
}
- file { '/etc/supervisor/conf.d/supybot.conf':
- ensure => present,
- owner => root,
- group => root,
- mode => 0644,
- source => [ 'puppet:///modules/site_supybot/conf.d/supybot.conf',
- 'puppet:///modules/supybot/conf.d/supybot.conf' ],
- require => File['/etc/supervisor/conf.d'],
+ supervisor::app { 'supybot':
+ source => [ 'puppet:///modules/site_supybot/conf.d/supybot.conf',
+ 'puppet:///modules/supybot/conf.d/supybot.conf' ],
}
-
}