diff options
author | mh <mh@immerda.ch> | 2008-10-25 21:25:06 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-09-02 18:10:24 -0400 |
commit | 49b127b80a2248a1f5fb4bed1e0c0685583d6746 (patch) | |
tree | 1d97800425bb17f95db70e29c689c97af93fafc0 | |
parent | 69a63c5767ad27a33e4b86b8c8f2b58cc8f7da7d (diff) | |
download | puppet-common-49b127b80a2248a1f5fb4bed1e0c0685583d6746.tar.gz puppet-common-49b127b80a2248a1f5fb4bed1e0c0685583d6746.tar.bz2 |
we don't require any of these execs, so we don't need them
-rw-r--r-- | manifests/classes/lsb_release.pp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/manifests/classes/lsb_release.pp b/manifests/classes/lsb_release.pp index 8455a56..73a9114 100644 --- a/manifests/classes/lsb_release.pp +++ b/manifests/classes/lsb_release.pp @@ -19,7 +19,6 @@ class assert_lsbdistcodename { case $lsbdistcodename { '': { err("Please install lsb_release or set facter_lsbdistcodename in the environment of $fqdn") - exec { "false # assert_lsbdistcodename": alias => assert_lsbdistcodename } } 'n/a': { case $operatingsystem { @@ -32,15 +31,9 @@ class assert_lsbdistcodename { } exec { "false # assert_lsbdistcodename": alias => assert_lsbdistcodename } } - default: { - exec { "true # assert_lsbdistcodename": alias => assert_lsbdistcodename } - exec { "true # require_lsbdistcodename": alias => require_lsbdistcodename } - } } } # To fail the complete compilation, include this class -class require_lsbdistcodename inherits assert_lsbdistcodename { - exec { "false # require_lsbdistcodename": require => Exec[require_lsbdistcodename], } -} +class require_lsbdistcodename inherits assert_lsbdistcodename {} |