Hi,

You were correct.We should put our source files under Files folder.

On Tuesday, July 1, 2014 6:50:02 PM UTC+5:30, jcbollinger wrote:
>
>
>
> On Tuesday, July 1, 2014 3:32:12 AM UTC-5, Satish Katuru wrote:
>>
>> Yes,the folder is present in the Agent machine.The thing is in the Master 
>> Server it is unable to locate the Source file itself.
>>
>
> Not necessarily.  The master is unable to *read* the file, but that does 
> not necessarily mean it cannot *locate* it.
>
> The master will be looking for this file:
>
>   <modulepath>/httpd/files/hello
>
> Note the "files/" segment of the filesystem path, which does not appear in 
> the URI.  Note also, again, that your source URI does not match the 
> destination file name in that the source has no ".txt" extension.  The 
> source URI doesn't need to match the destination name (at all), but 
> typically it does.  The mismatch could be a sign that the URI does not 
> match the actual name of the source file (which it does need to do, of 
> course).
>
> Supposing that the source file exists, in the correct location, and with a 
> name matching the given source URI, the master still needs to be able to 
> read it.  Check the ownership and permissions of the source file, and if 
> SELinux is running in enforcing mode on the master then check that the 
> source file is labelled such that Puppet can read it.  Note here that the 
> master normally runs as an unprivileged user (often named "puppet").
>
>
> 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/843c90c1-c052-4604-b948-35a078dbeaa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to