On Friday, March 28, 2014 9:59:33 AM UTC-5, Jose Luis Ledesma wrote:
>
> Perhaps it is  the ;
>
> It should be nothing being the last parameter or a ,
>

No, the semicolon is allowed as a separator between two resource 
declarations in the same block, or, for convenience, after the end of the 
last:

file {
  '/tmp/tst': ensure => 'directory';
  '/tmp/tst/1': ensure => 'present';
}

In any case, if it were a problem with DSL syntax then the catalog would 
fail to compile.  That's not the OP's case -- his error occurs during 
catalog application.

I think it's more likely that the file modules/test/files/puppet_test.txt 
is not readable by the master.  For instance, it may be owned by root:root 
and have mode 0640, with the master running as user puppet:puppet.  Or any 
of the directories in the path to that file might be unreadable / 
untraversible by the Puppet user.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ef208f1a-1aae-4da0-bf36-1156b2e92a23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to