Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im 
Auftrag von John Kennedy
Gesendet: Dienstag, 13. September 2011 13:43
An: puppet-users@googlegroups.com
Betreff: Re: [Puppet Users] Re: Puppet not pushing file


On Tue, Sep 13, 2011 at 12:27, Bernd Adamowicz <bernd.adamow...@esailors.de> 
wrote:
Try this:
 
node client {

        file { "/home/admin/puppet/jck.txt":
                owner => admin,
                group => admin,
                mode => 0744,
                source => puppet:///test/jck.txt,
}
 
Beware the colon and the commas. (Didn't you get any error messages in your log 
files?)
 
Bernd
 


>Bernd,
>Thanks for the reply. I added the : and , (I hate it when I forget those...). 
>Just to ask, should there be a comma on >the source line since it is the last 
>line of the section?

>No errors in /var/log/messages. It just says Caching catalog for... Applying 
>configuration version...Finished catalog >run in... messages but the file is 
>not pushed...

Hi John,

Yes, there should be a comma. Puppet's documentation clearly recommends this. 
If it's still not working, start your Puppet master and the client in debug 
mode (--debug) and check both log files and maybe post the results here.

Bernd

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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.

Reply via email to