psacct: Added Debian support.
This commit is contained in:
parent
139a27dc94
commit
d913ef828d
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,7 @@ class psacct::linux {
|
|||
|
||||
package { "psacct":
|
||||
name => $::operatingsystem ? {
|
||||
"debian" => "acct",
|
||||
"ubuntu" => "acct",
|
||||
default => "psacct",
|
||||
},
|
||||
|
@ -32,10 +33,12 @@ class psacct::linux {
|
|||
|
||||
service { "psacct":
|
||||
name => $::operatingsystem ? {
|
||||
"debian" => "acct",
|
||||
"ubuntu" => "acct",
|
||||
default => "psacct",
|
||||
},
|
||||
ensure => $::operatingsystem ? {
|
||||
"debian" => undef,
|
||||
"ubuntu" => undef,
|
||||
default => running,
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue