Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Fix for #24
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Jan 12, 2013
1 parent 7851c37 commit f035570
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@
default => $puppet::bool_absent ? {
true => 'stopped',
default => $puppet::runmode ? {
cron => undef,
manual => undef,
cron => 'stopped',
manual => 'stopped',
service => 'running',
},
},
Expand Down
9 changes: 6 additions & 3 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
$service_server_autorestart = false

$basedir = $::operatingsystem ? {
/(?i:RedHat|Centos|Scientific|Fedora)/ => '/usr/lib/ruby/site_ruby/1.8/puppet',
default => '/usr/lib/ruby/1.8/puppet',
/(?i:RedHat|Centos|Scientific|Fedora)/ => '/usr/lib/ruby/site_ruby/1.8/puppet',
default => '/usr/lib/ruby/1.8/puppet',
}

$run_dir = $::operatingsystem ? {
Expand All @@ -115,7 +115,10 @@
}

$service_status = $::operatingsystem ? {
debian => false,
debian => $::lsbmajdistrelease ? {
5 => false,
default => true,
},
default => true,
}

Expand Down

0 comments on commit f035570

Please sign in to comment.