Hi Drew,

Thanks for your message.

I have gone through my test environment and have installed the PPA and 
upgraded to 3.1.1 on the master and clients.

I will test how things work with the service, failing that I will try the 
cron route. So to confirm on the puppet clients you would stop the service 
from running then use:-

puppet agent --onetime --no-daemonize --logdest syslog

As the command run by cron?


On Sunday, 7 April 2013 19:06:07 UTC+1, Drew Blessing wrote:
>
> Sy,
>
> Welcome to Puppet.  Hopefully we can help you get going so you can 
> experiment further.
>
> First, what version of Puppet are you running?  I'm guessing by your 
> commands that it's definitely prior to version 3.  I recommend updating to 
> Puppet 3 before going further, especially since you're just starting out. 
>  If the Ubuntu repos don't have that version then you can look at the 
> documentation on how to install the Puppet apt repos - 
> http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html
>
> Ok, so now on to your problem.  I highly recommend that you don't run 
> Puppet as a service.  It is much easier to control when run as a cron job. 
>  We choose to run Puppet at 30 minute intervals on our clients.  The 
> command we run is:
>
> puppet agent --onetime --no-daemonize --logdest syslog
>
> This should solve your issue.  It doesn't particularly say why your puppet 
> service wasn't working, but I think the cron method is the way you want to 
> go in the long run anyway.  Let me know if this helps or if you have other 
> questions.
>
> On Friday, April 5, 2013 5:48:10 PM UTC-5, Sy Doveton wrote:
>>
>> 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