summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2010-06-29 16:14:49 -0700
committerMarkus Roberts <Markus@reality.com>2010-07-01 13:48:07 -0700
commit2639a561951c40aac2c916b8b8d593d6cc827935 (patch)
tree67047f4ebb429338b3133a1828e9bbec6772ae49
parent223157d6ac586b9ec9d2dc48ee4247daf0686d8f (diff)
downloadpuppet-2639a561951c40aac2c916b8b8d593d6cc827935.tar.gz
puppet-2639a561951c40aac2c916b8b8d593d6cc827935.tar.xz
puppet-2639a561951c40aac2c916b8b8d593d6cc827935.zip
[#4092] Changed notify message to defined instead of changed
Notify was returning a nil current value, rather than :absent, which caused puppet to think the message had been changed from blank to its new value, rather than defined as that value.
-rw-r--r--lib/puppet/type/notify.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/notify.rb b/lib/puppet/type/notify.rb
index a8ac49be4..bbb48d67b 100644
--- a/lib/puppet/type/notify.rb
+++ b/lib/puppet/type/notify.rb
@@ -19,7 +19,7 @@ module Puppet
end
def retrieve
- return
+ return :absent
end
def insync?(is)