diff options
author | Todd Zullinger <tmz@pobox.com> | 2009-10-15 19:07:22 -0400 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-10-26 20:56:08 +1100 |
commit | d383ab897937a7e7e5fcf2929a63241e894f7616 (patch) | |
tree | 6f648de92979008fc801b77fe25a0b48efa5adcc /lib | |
parent | 9dff7167b71f392ec4706c5e220f52c9e1694d0a (diff) | |
download | puppet-d383ab897937a7e7e5fcf2929a63241e894f7616.tar.gz puppet-d383ab897937a7e7e5fcf2929a63241e894f7616.tar.xz puppet-d383ab897937a7e7e5fcf2929a63241e894f7616.zip |
Use notice() in the versioncmp() docs
Use of notify() is an error, so replace it with notice, which is a
function. Alternately, notify { msg => '2.6-1 is > than 2.4.5' } could
be used.
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/parser/functions/versioncmp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/versioncmp.rb b/lib/puppet/parser/functions/versioncmp.rb index bdf539127..9435655a7 100644 --- a/lib/puppet/parser/functions/versioncmp.rb +++ b/lib/puppet/parser/functions/versioncmp.rb @@ -18,7 +18,7 @@ This functions returns a number:: Example:: if versioncmp('2.6-1', '2.4.5') > 0 { - notify('2.6-1 is > than 2.4.5') + notice('2.6-1 is > than 2.4.5') } ") do |args| |