On Tuesday, August 14, 2012 9:49:53 AM UTC-5, Jen Patrick wrote: > > It's barfing on this: > Error 400 on SERVER: Could not parse for environment production: Syntax > error at '{'; expected '}' > > Here's the node.pp > > node "ccc.unix.ccc.ccc.edu" { > class { > "web_server": > net_static => { > "eth0" => { > "macaddress" => $macaddress_eth0, > "ipaddress" => "192.168.185.228", > "netmask" => "2255.255.255.128", > "gateway" => "192.168.185.129", > } > }, > > As a different thread recently discussed, although once Puppet accepted hash literals as parameter values, the most recent version does not. I'm guessing the change was inadvertent, and there is already a ticket filed on it. At this point, your options are
- downgrade your master to a version that works (I'm not sure exactly which release broke, but I understand that 2.7.1 works), or - assign your hash to a variable, and assign the variable as the parameter value - dump class parametrization in favor of something better (i.e. almost anything else), such as hiera or global variables +/- ENC John -- 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/-/Pcm695H8bCsJ. 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.