Thanks remi for your answer, I have 2.6.4 puppet version installed from ubuntu natty (11.04) repos (initials one, without any upgrade of them).
I'm don't pretty sure if uninstall ubuntu packages and install all via gems. I'm testing having agent and master locally, i'm wondering, is there any problem about it ?. Everything is ok but not an important theme like ENC. regards, eduardo On 4 jun, 11:06, Rémi <ere...@gmail.com> wrote: > Hi, > > i couldn't reproduce your problem with Puppet 2.7.14 : > > # tree /etc/puppet/modules > /etc/puppet/modules/ > └── hola > └── manifests > └── init.pp > > # cat /etc/puppet/modules/hola/manifests/init.pp > class hola( $mens = "HELLO" ) { > notify{"puppet": message => "$mens"} > > } > > # /usr/local/bin/enc.sh > --- > classes: > hola: > mens: HOLA > parameters: > manager: Jane Doe > > # puppet agent -t > notice: Ignoring --listen on onetime run > info: Retrieving plugin > info: Caching catalog for xxx > info: Applying configuration version 'x' > notice: HOLA > notice: /Stage[main]/Hola/Notify[puppet]/message: defined 'message' as > 'HOLA' > notice: Finished catalog run in 0.03 seconds > > > > > > > > On Saturday, June 2, 2012 6:04:53 AM UTC+2, erasmo wrote: > > > Hello, I'm trying to use External Node classification and I have not > > idea what is my mistake. > > I getting the following error : > > > err: Could not retrieve catalog from remote server: Error 400 on > > SERVER: undefined method `downcase' for ["hola", > > {"mens"=>"HOLA"}]:Array on node casa > > > I have a very simple parameter class : > > > class hola( $mens = "HELLO" ) { > > > notify{"puppet": message => "$mens"} > > > } > > > I'm setting puppet.conf in master section : > > > node_terminus = exec > > external_nodes = /etc/puppet/tools/dummycp.sh > > > My script dummycp.sh is : > > > #!/bin/sh > > cat <<"END" > > --- > > classes: > > hola: > > mens: HOLA > > parameters: > > manager: Jane Doe > > END > > exit 0 > > > I appreciate any help, > > thanks in advance, > > eduardo. -- 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.