From 58220ff8822c4edc249c936f0b73a26425f512e7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 21 Feb 2013 16:58:24 -0300 Subject: Using supervisor::app --- manifests/init.pp | 12 +++--------- 1 file 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' ], } - } -- cgit v1.2.3