From 122d3efb21f0907e9ee6149a4ed94606761f6887 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 26 Jan 2013 11:19:26 -0200 Subject: More styling --- manifests/inotify.pp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'manifests') diff --git a/manifests/inotify.pp b/manifests/inotify.pp index 750ea57..b59faa7 100644 --- a/manifests/inotify.pp +++ b/manifests/inotify.pp @@ -1,6 +1,6 @@ class reprepro::inotify { - case $lsbdistcodename { + case $::lsbdistcodename { etch: { package { "inoticoming": ensure => '0.2.0-1~bpo40+1'; @@ -15,25 +15,25 @@ class reprepro::inotify { file { "/etc/init.d/reprepro": owner => root, group => root, mode => 0755, - source => "puppet://$server/modules/reprepro/inoticoming.init"; + source => "puppet:///modules/reprepro/inoticoming.init"; } file { "/etc/default/reprepro": - ensure => present, - owner => root, group => root, mode => 0755, + ensure => present, + owner => root, group => root, mode => 0755, content => template('reprepro/inoticoming.default.erb'), } exec { "reprepro_init_script": command => "/usr/sbin/update-rc.d reprepro defaults", - unless => "/bin/ls /etc/rc3.d/ | /bin/grep reprepro", + unless => "/bin/ls /etc/rc3.d/ | /bin/grep reprepro", require => File["/etc/init.d/reprepro"], } service { "reprepro": - ensure => "running", - pattern => "inoticoming.*reprepro.*processincoming", + ensure => "running", + pattern => "inoticoming.*reprepro.*processincoming", hasstatus => false, - require => [File["/etc/default/reprepro"], - Exec["reprepro_init_script"], - File["/etc/init.d/reprepro"] ], + require => [File["/etc/default/reprepro"], + Exec["reprepro_init_script"], + File["/etc/init.d/reprepro"] ], } } -- cgit v1.2.3