summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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' ],
}
-
}