Re: [Puppet Users] Could not match

2011-09-12 Thread Adrien Thebo
package { "samba" <- there needs to be a colon there. Also, the ensure => present should have a comma, not a semicolon, since you have more parameters. Also, the authconfig exec has two command params and is missing a comma after the path param, and you are missing a closing double quote for the ne

[Puppet Users] Could not match

2011-09-12 Thread Raymond
I am getting a error and do not understand why it is failing. There output is below puppet apply /etc/puppetlabs/puppet/modules/authconfig/tests/init.pp - vv --noop --debug info: Loading facts in iptables info: Loading facts in serve info: Loading facts in serve info: Loading facts in iptables

Re: [Puppet Users] Could not match '}'

2010-05-13 Thread James Cammarata
I don't think it's the lack of a "," after that line, the error states it's on line 1 of the .pp, so I'd focus on the define line. Possibly, it's the fact that $source is listed in the middle of all the other variables defined with default values - most languages don't like you mixing things like

Re: [Puppet Users] Could not match '}'

2010-05-13 Thread Matt
Hi, I think your missing a ',' where source => "puppet:///apache/$source", Matt On 13 May 2010 05:44, Amandeep Kansal wrote: > Please help me: > what would be the cause of this error: puppetmasterd 0.24.4 > > > define apache::apache_files($owner = root, $group = root, $mode = 644, > $source

[Puppet Users] Could not match '}'

2010-05-12 Thread Amandeep Kansal
Please help me: what would be the cause of this error: puppetmasterd 0.24.4 define apache::apache_files($owner = root, $group = root, $mode = 644, $source, $backup = false, $recurse = false, $ensure = file) { file { $name: mode=> $mode, owner => $owner, group =>