projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more bacula mail, but to bacula-reports@d.o
[mirror/dsa-puppet.git]
/
modules
/
acpi
/
manifests
/
init.pp
diff --git
a/modules/acpi/manifests/init.pp
b/modules/acpi/manifests/init.pp
index
af961ba
..
e6cce8d
100644
(file)
--- a/
modules/acpi/manifests/init.pp
+++ b/
modules/acpi/manifests/init.pp
@@
-1,13
+1,16
@@
class acpi {
class acpi {
-
if ! $debarchitecture in ['kfreebsd-amd64', 'kfreebsd-i386']
{
- package {
-
acpid:
ensure => installed
- }
+
if ! ($::debarchitecture in ['kfreebsd-amd64', 'kfreebsd-i386'])
{
+ package { 'acpid':
+
ensure => installed
+
}
- if $lsbdistcodename != 'lenny' {
- package {
- acpi-support-base: ensure => installed
- }
- }
- }
+ service { 'acpid':
+ ensure => running,
+ require => Package['acpid'],
+ }
+
+ package { 'acpi-support-base':
+ ensure => installed
+ }
+ }
}
}