diff options
author | David Schmitt <david@schmitt.edv-bus.at> | 2007-08-26 22:47:06 +0200 |
---|---|---|
committer | David Schmitt <david@schmitt.edv-bus.at> | 2007-08-26 22:47:06 +0200 |
commit | 6e21670d06299691380f2ee6c6b3b00d1a57f54e (patch) | |
tree | 1b21dd170666433c37b37ef128a426de2597368f /manifests/defines | |
parent | 2b385eb0a65ec4012cf3c391c4fd86b4adcc1d80 (diff) | |
download | puppet-common-6e21670d06299691380f2ee6c6b3b00d1a57f54e.tar.gz puppet-common-6e21670d06299691380f2ee6c6b3b00d1a57f54e.tar.bz2 |
line($ensure) defaults to present
Diffstat (limited to 'manifests/defines')
-rw-r--r-- | manifests/defines/line.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/defines/line.pp b/manifests/defines/line.pp index 2d2e886..6026a84 100644 --- a/manifests/defines/line.pp +++ b/manifests/defines/line.pp @@ -6,9 +6,9 @@ # line { description: # file => "filename", # line => "content", -# ensure => {absent,present} +# ensure => {absent,*present*} # } -define line($file, $line, $ensure) { +define line($file, $line, $ensure = 'present') { case $ensure { default : { err ( "unknown ensure value $ensure" ) } present: { |