Hi Martijn,

Thanks for your comments. I am using  puppet agent --test now that I have 
upgraded to ver3 as it was not available previously.

The service appears to be working better now and am having more luck with 
things applying.

Thanks all for your help.

Regards
Sy

On Monday, 8 April 2013 15:01:01 UTC+1, Martijn wrote:
>
> Hi Sy,
>
> The Puppet agent will usually log to syslog, both in case of errors or 
> succes, so check in /var/log/syslog (on Ubuntu) for any messages. By 
> default, the agent runs every half hour so I'd expect to see some entries 
> in the log every half hour.
>
> Make sure the puppet agent service runs as root. The puppet master does 
> not need to be root but the agent needs permission to check and change the 
> system. If you used the distro's of Puppetlabs' packages this is most 
> likely already the case.
>
> Instead of the obsolete puppetd command, use puppet agent --test for 
> manually starting a run. Add --noop for a trial-run, say if you just want 
> to see what would happen.
>
> Contrary to Drew's suggestion we actually prefer running the agent 
> service, instead of cron. Just to provide another opinion :). Still, both 
> methods should work fine, so we'll need to figure that out first.
>
> Regards, Martijn
>
> Op zaterdag 6 april 2013 00:48:10 UTC+2 schreef Sy Doveton het volgende:
>>
>> Hi,
>>
>> I am new to puppet and am experimenting with some basic commands. I have 
>> a puppetmaster server and a couple or servers with puppet client. All 
>> servers are running ubuntu.
>>
>> I have set up the link between the master and the clients and their certs 
>> have been signed etc.
>>
>> The clients have had puppet started via 'service puppet start' and can 
>> confirm they are running with 'service puppet status'.
>>
>> When I make any changes on the master nothing happens on the servers. I 
>> have waited a couple of hours and e.g. the required package has not been 
>> installed on the client. As soon as I run on the client:-
>>
>> puppetd --test
>>
>> It will immediately install the package so I know my manifests / modules 
>> are correct as it does what I request when I manually ask it. I just need 
>> it to run periodically automatically and get the latest info from the 
>> master.
>>
>> Any ideas of things I can check?
>>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to