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 view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/mdFr8_NL9L8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to