On Tue, Aug 14, 2012 at 7:49 AM, Jen Patrick <jenafl...@gmail.com> wrote:
> It's barfing on this:

Is this in relation to a previous thread?

>  Error 400 on SERVER: Could not parse for environment production: Syntax
> error at '{'; expected '}'

is there a line number?

>
> Here's the node.pp

Does this work?

>
> node "ccc.unix.ccc.ccc.edu" {
>   class {
$static = {
         "eth0"         => {
           "macaddress" => $macaddress_eth0,
           "ipaddress"  => "192.168.185.228",
           "netmask"    => "2255.255.255.128",
           "gateway"    => "192.168.185.129",
         }
       }

>      "web_server":
           net_static       => $static,
>#       net_static       => {
>#         "eth0"         => {
>#           "macaddress" => $macaddress_eth0,
>#           "ipaddress"  => "192.168.185.228",
>#           "netmask"    => "2255.255.255.128",
>#           "gateway"    => "192.168.185.129",
>#         }
>#       },
>
>       environment       => "production",
>       unattended_update => true,
>       nfs               => false,
>       proxy             => false,
>       apachessl         => false,
>       admins            => ["void", "Null"];
>   }
>
>   apache::vhost {
>     $fqdn:
>       priority => '20',
>       port     => '80',
>       docroot  => '/var/www',
>   }
>
>
>
> # open firewall from vpn
>   firewall {
>     "044 allow SSH from 192.168.10.0/23":
>       action => "accept",
>       proto  => "tcp",
>       dport  => "22",
>       source => '192.168.10.0/23';
>   }
> }
>
> --
> 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/-/4wBjWB34Di8J.
> 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.

-- 
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