On Fri, Sep 9, 2011 at 5:50 PM, R.I.Pienaar <r...@devco.net> wrote:
>
>
> ----- Original Message -----
>> On Fri, Sep 9, 2011 at 5:18 PM, Eric Shamow <e...@puppetlabs.com>
>> wrote:
>> > Notify is a resource, notice() is a function. So notice() is
>> > evaluated on the server, whereas notify{} is evaluated on the
>> > client.
>> >
>> > My suspicion is that you somehow have two versions of the client
>> > binary hanging around. Perhaps one that is running when you
>> > execute "puppet" at the shell, and another running in the
>> > background.
>> >
>> > Per Ken's question - how are you launching Puppet? Is it as a
>> > service? Or are you running it from a cron job?
>>
>> I know that notice() is a function, and notify{} is a resource. The
>> documentation says that much. However, it doesn't really go beyond
>> that. The documentation
>> provides examples of how to use notify{} to notify another resource
>> when it changes, but I don't believe it gives you any indication
>> whatsoever that you can use it in a stand alone fashion like this.
>> Where is that use documented? How would anyone except the core puppet
>> developers know that you could even do this?
>
> I think you are confusing
>
> server{"foo": notify => Service["bar"]}
>
> with the resource called notify that you can see documented here:
>
> http://docs.puppetlabs.com/references/stable/type.html#notify
>
>
>>
>> I'm launching puppet with 'service puppet restart'. What libraries?
>> If you know their names I can search for them.
>
> on the node in question, did you perhaps have a puppet installed by
> rubygem and then later with rpm/deb, or always only used the one method
> and upgraded that using the same

Well, I can't seem to work out what's going on. A 'gem list --local'
shows only stomp and I can't find any other libraries or binaries
installed anywhere after removing the puppet and facter RPM's. :(

Doug.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to