projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4999970
)
Improve kpartx rule
author
Aurelien Jarno
<aurelien@aurel32.net>
Fri, 2 Feb 2018 14:47:33 +0000
(15:47 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Fri, 2 Feb 2018 14:47:33 +0000
(15:47 +0100)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
modules/debian_org/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/debian_org/manifests/init.pp
b/modules/debian_org/manifests/init.pp
index
1472f30
..
09d3ac7
100644
(file)
--- a/
modules/debian_org/manifests/init.pp
+++ b/
modules/debian_org/manifests/init.pp
@@
-351,10
+351,9
@@
class debian_org {
}
# Disable kpartx udev rules
- if $has_lib_udev_rules_d_60_kpartx_rules {
- file { '/etc/udev/rules.d/60-kpartx.rules':
- content => "",
- mode => '0444',
- }
+ file { '/etc/udev/rules.d/60-kpartx.rules':
+ ensure => $has_lib_udev_rules_d_60_kpartx_rules ? { true => 'present', default => 'absent' },
+ content => "",
+ mode => '0444',
}
}