(inline) On Tue, Apr 29, 2014 at 11:10:10AM -0400, Garrett Honeycutt wrote: > On 4/29/14, 10:45 AM, Matt Zagrabelny wrote: > > Hi! > > > > On Tue, Apr 29, 2014 at 9:13 AM, Marc <[email protected]> wrote: > >> Hello > >> > >> I am trying puppet 3.5.1 on a Debian Jessie. > >> > >> How can I enable Puppet by default on new installations ? > > > > It looks like it is. > > > >> I need to do that, for Debian deployment. I use Debian FAI to install > >> Debian > >> on my workstations. After the deployment, Puppet is launched. I just have > >> to > >> sign them on Puppet Master in order to launch the post install with puppet > >> (AD integration, CUPS configuration...). > >> > >> So now, I can't do that because the /etc/default/puppet file is not read by > >> the system. > > > > I don't think there is any need to read /etc/default/puppet on Debian > > Jessie. The Jessie puppet package does not install /etc/default/puppet > > and the init script doesn't make use of anything in the file either - > > thought it does make an attempt to read it: > > > > [ -r /etc/default/puppet ] && . /etc/default/puppet > > > >> The only solution I see, is to add a cron task @reboot. Am I wrong ? > > > > I don't follow what you want to have done. What exactly would you put > > in the cron task? > > > > -mz > > > > Hi, > > Recommend that you do not run the agent as a service at all and instead > use cron. You can then have each system randomize when they check in to > prevent thundering herd[1]. I still run the puppet agent by default at > boot time which is handled as you mentioned by cron with @reboot. If you > bring up all your systems at the same time, this could pose an issue for > you.
Can't hosts already stagger their agent checkin times by using per-host runinterval settings? At some point, sure, agents may not be the best path forward but I don't see when I'd reach that point. > Here my puppet module[2] that can manage your agent with cron or as a > service. > > [1] - http://en.wikipedia.org/wiki/Thundering_herd_problem > [2] - https://github.com/ghoneycutt/puppet-module-puppet > > Best regards, > -g > > -- > Garrett Honeycutt > @learnpuppet > Puppet Training with LearnPuppet.com > Mobile: +1.206.414.8658 > > -- > 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/535FC0D2.1090807%40garretthoneycutt.com. > For more options, visit https://groups.google.com/d/optout. -- 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/20140429151535.GA6209%40iniquitous.heresiarch.ca. For more options, visit https://groups.google.com/d/optout.
