On Tue, Sep 13, 2011 at 1:06 PM, Ken Barber <k...@puppetlabs.com> wrote:
> Hmm ... well can you try using ${::puppetversion} ...?

Adding this:

notify{"xxx = ${::puppetversion} ...":}

to the manifest gives this on the server:

Sep 13 15:14:43 sv2admin1 puppet-master[22452]:
(//hproxy11.h.foo.com//Stage[main]/Puppet::Setup/Notify[0.25.5 on
hproxy11.h.foo.com]/message) defined 'message' as '0.25.5 on
hproxy11.h.foo.com'

and this on the client:

Sep 13 15:14:13 hproxy11 puppet-agent[20393]:
(/Stage[main]/Puppet::Setup/Notify[xxx = 0.25.5 ...]/message) defined
'message' as 'xxx = 0.25.5 ...'

We're not using an ENC for this node, but the node definition for this node is:

node /^hproxy[0-9]+/ {
        $hosttype = "proxy"
        $ganglia_cluster_name = "hproxy"
        $ganglia_cluster_hosts = ["hproxy00", "hproxy01", "hproxy10",]
        include ganglia::gmond::setup
        include monitoring::lb_status
        include zone::hcluster
        include app::base::setup
        include app::proxy::setup
}

>
> Also - I notice you are using an ENC ... can you disable that and just
> use node entries? Yet another place where we might be getting vars we
> don't expect. In fact - setup a site.pp that is really blank - and
> only contains that notify statement ...

So, I went and put this and ONLY this in /etc/puppet/manifests/site.pp:

notify{"yyy = ${::puppetversion} ...":}

and got this on the server:

Sep 13 15:18:08 sv2admin1 puppet-master[22503]:
(//hproxy11.h.foo.com/Puppet) xxx = 0.25.5 ...

and this on the client:

Sep 13 15:18:27 hproxy11 puppet-agent[23962]:
(/Stage[main]//Notify[yyy = 0.25.5 ...]/message) defined 'message' as
'yyy = 0.25.5 ...'

So.... it really seems like something is seriously screwed up here....
with the server.

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