Hi, I think your missing a ',' where
source => "puppet:///apache/$source", Matt On 13 May 2010 05:44, Amandeep Kansal <kansal...@gmail.com> 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, $backup = false, $recurse = false, $ensure = file) { > > file { $name: > mode => $mode, > owner => $owner, > group => $group, > backup => $backup, > recurse => $recurse, > ensure => $ensure, > require => Package["httpd"], > source => "puppet:///apache/$source" > } > } > > > This gives error:Could not retrieve catalog: Could not match '}' at > /etc/puppet/modules/apache/manifests/apache_files.pp:1 on node example.com > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-us...@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@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-us...@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.