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":
|
package { "psacct":
|
||||||
name => $::operatingsystem ? {
|
name => $::operatingsystem ? {
|
||||||
|
"debian" => "acct",
|
||||||
"ubuntu" => "acct",
|
"ubuntu" => "acct",
|
||||||
default => "psacct",
|
default => "psacct",
|
||||||
},
|
},
|
||||||
|
@ -32,10 +33,12 @@ class psacct::linux {
|
||||||
|
|
||||||
service { "psacct":
|
service { "psacct":
|
||||||
name => $::operatingsystem ? {
|
name => $::operatingsystem ? {
|
||||||
|
"debian" => "acct",
|
||||||
"ubuntu" => "acct",
|
"ubuntu" => "acct",
|
||||||
default => "psacct",
|
default => "psacct",
|
||||||
},
|
},
|
||||||
ensure => $::operatingsystem ? {
|
ensure => $::operatingsystem ? {
|
||||||
|
"debian" => undef,
|
||||||
"ubuntu" => undef,
|
"ubuntu" => undef,
|
||||||
default => running,
|
default => running,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue