----- Original Message ----- > On Fri, Sep 9, 2011 at 4:50 PM, R.I.Pienaar <r...@devco.net> wrote: > > > > > > ----- Original Message ----- > >> On Fri, Sep 9, 2011 at 4:43 PM, Ken Barber <k...@puppetlabs.com> > >> wrote: > >> > What does: > >> > > >> > puppet -e 'notice("$puppetversion")' > >> > > >> > Show on the _client_? I know its probably obvious but you never > >> > know. > >> > > >> > >> Actually, it's not obvious. I didn't know you could do that. Never > >> seen it documented anywhere... > > > >> notice: Scope(Class[main]): 2.7.3 > >> notice: Finished catalog run in 0.21 seconds > > > > if you change the notice() in your manifests to > > notify{"${puppetversion} on ${fqdn}":} > > and run puppet agent --test on the node, does it still give the > > wrong version? > > Changing the notice line to: > notice ("fqdn = ${fqdn}, puppetversion = ${puppetversion}") > > still gives (on the master): > Sep 9 16:52:09 sv2admin1 puppet-master[14087]: > (Scope(Class[Puppet::Setup])) fqdn = hproxy10.h.foo.com, > puppetversion > = 0.25.5 > > I assume you mean't to use notify(), not notify{} .... ?
no, i did mean use notify :) -- 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.