aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/classes')
-rw-r--r--manifests/classes/lsb_release.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/classes/lsb_release.pp b/manifests/classes/lsb_release.pp
index 0cfebc7..8455a56 100644
--- a/manifests/classes/lsb_release.pp
+++ b/manifests/classes/lsb_release.pp
@@ -19,7 +19,7 @@ class assert_lsbdistcodename {
case $lsbdistcodename {
'': {
err("Please install lsb_release or set facter_lsbdistcodename in the environment of $fqdn")
- exec { "/bin/false # assert_lsbdistcodename": alias => assert_lsbdistcodename }
+ exec { "false # assert_lsbdistcodename": alias => assert_lsbdistcodename }
}
'n/a': {
case $operatingsystem {
@@ -30,11 +30,11 @@ class assert_lsbdistcodename {
err("lsb_release was unable to report your distcodename; please set facter_lsbdistcodename in the environment of $fqdn")
}
}
- exec { "/bin/false # assert_lsbdistcodename": alias => assert_lsbdistcodename }
+ exec { "false # assert_lsbdistcodename": alias => assert_lsbdistcodename }
}
default: {
- exec { "/bin/true # assert_lsbdistcodename": alias => assert_lsbdistcodename, loglevel => debug }
- exec { "/bin/true # require_lsbdistcodename": alias => require_lsbdistcodename, loglevel => debug }
+ exec { "true # assert_lsbdistcodename": alias => assert_lsbdistcodename }
+ exec { "true # require_lsbdistcodename": alias => require_lsbdistcodename }
}
}
@@ -42,5 +42,5 @@ class assert_lsbdistcodename {
# To fail the complete compilation, include this class
class require_lsbdistcodename inherits assert_lsbdistcodename {
- exec { "/bin/false # require_lsbdistcodename": require => Exec[require_lsbdistcodename], }
+ exec { "false # require_lsbdistcodename": require => Exec[require_lsbdistcodename], }
}