On the client, run puppet agent --test --trace --debug That would show you what the puppet client is doing....
If you still have problems: in "include test" what is test? a module? show the full content of it. I personally use modules for everything and I always have the files distributed at the module level, like: source => "puppet:///modules/gu_auth/foo.ext", where gu_auth is the name of a module. Thanks, Mohamed, On Thu, Dec 8, 2011 at 5:45 AM, Wiesel82 <[email protected]> wrote: > Hi all, > i started this week to install puppet. Everything runs fine in this > part. > The client is authenticated with the master and i find them if i start > the command > > puppet cert --list --all > > I created my first pp-files and my first module. > if test all with puppet apply it works. > > I wrote a module which copy a file to a other place (/etc/puppet/ > modules/test/files/test.txt to /test/test.txt). > If i test this with puppet apply the file will be copied to this > directory.. > > But now i would like to do this in a authenticated client. > > I read that i need to create the fileserver.conf and change the url > to > > source => 'puppet:///test/files/test.txt', > > Firstly i test it with default node in a second test i created a > second node (fqdn) and copied the same content inside. > > node default { > notice("Hallo OSMC") > include test > } > node test.vm { > notice("Hallo OSMC") > include test > } > > What should i do, that the client get this file from the master? > > Best regards > > Wiesel > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
