On Tue, 2012-10-30 at 06:19 -0700, Havary wrote:
Hi, ppl,
I m following the puppet cookbook tutorial. On page 167 to 169 Managing
Apache Servers. When I add the:
apache::snippet { "site-specific.conf": }
I got the error of the title: Could not parse for environment production:
Syntax error at '{'; expected '}' at /etc/puppet/manifests/nodes.pp:3.
Here is my manifests
node.pp
/etc/puppet/manifests/node.pp
node 'thegrid.geofusion' {
include apache
include apache::snippet { site-test.conf },
}
Hi, ppl,
I m following the puppet cookbook tutorial. On page 167 to 169 Managing
Apache Servers. When I add the:
apache::snippet { "site-specific.conf": }
I got the error of the title: Could not parse for environment production:
Syntax error at '{'; expected '}' at /etc/puppet/manifests/nodes.pp:3.
Here is my manifests
node.pp
/etc/puppet/manifests/node.pp
node 'thegrid.geofusion' {
include apache
include apache::snippet { site-test.conf },
}
it the same as a native puppet type. Your node.pp should look like this:
node 'thegrid.geofusion' {
include apache
apache::snippit { 'site-test.conf': }
}
--
Calvin Walton <calvin.walton@kepstin.ca>