diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 11:19:26 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 11:19:26 -0200 |
commit | 122d3efb21f0907e9ee6149a4ed94606761f6887 (patch) | |
tree | 721e21f4f1aad4c008f3f9505ed33b57e1a475d5 /manifests | |
parent | e0d01e3746ed8052ef6ebe060b3f1e8ec98e3b76 (diff) | |
download | puppet-reprepro-122d3efb21f0907e9ee6149a4ed94606761f6887.tar.gz puppet-reprepro-122d3efb21f0907e9ee6149a4ed94606761f6887.tar.bz2 |
More styling
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/inotify.pp | 20 |
1 files changed, 10 insertions, 10 deletions
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"] ], } } |