projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
schroot does not depend on the db.d.o repository. do not put schroot on hold for...
[mirror/dsa-puppet.git]
/
modules
/
acpi
/
manifests
/
init.pp
diff --git
a/modules/acpi/manifests/init.pp
b/modules/acpi/manifests/init.pp
index
ffc779b
..
ef4dcde
100644
(file)
--- a/
modules/acpi/manifests/init.pp
+++ b/
modules/acpi/manifests/init.pp
@@
-1,13
+1,18
@@
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'],
+ }
+
+ if $::lsbdistcodename != 'lenny' {
+ package { 'acpi-support-base':
+ ensure => installed
+ }
+ }
+ }
}
}