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",
        }
      },

      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.

Reply via email to