> On Nov 12, 2014, at 3:23 PM, Tracy Reed <tr...@ultraviolet.org> wrote: > > On Wed, Nov 12, 2014 at 02:50:44PM PST, Christopher Webber spake thusly: >> So… I stopped using the push stuff in puppet a long time ago, because it >> required the puppet agent to be demonized and yeah, that never worked very >> well for me. In the puppet space, the best way to solve that would be to use >> mcollective, it allows you to run puppet agent across a set of your >> infrastructure. I never had it properly setup and always ended up writing an >> ssh in a for loop command. > > What push stuff? I've always had puppetd pulling configs from the > puppetmaster. > > https://projects.puppetlabs.com/issues/2045 > > I see someone requested push a couple years ago. Has it been implemented and > shipped and you've already used it and given up on it? > It was never really push… it was like a kick, where puppetd would listen on a port for another puppet agent to come tell it to run. I can find the docs if you want them, it was something I used way back when but yeah, got out of the habit of doing.
> What's wrong with running puppet daemonized? You run it from cron? How is > puppet going to start your cron? I start puppet from cron and puppet makes > sure > cron is running. > I had it frequent cases where it would 'get stuck’ or die completely. Running from cron was always the easiest way to ensure it ran. Additionally, I had a wrapper script that made additional decisions, and kept track of whether an agent had been running the last few times it ran etc. As with all software, that may have changed, but it was still a problem ~3.0-3.1 for me. As far as starting cron, the idea would be that puppet is called on bootstrap and puts its own config in place. My kickstart and jumpstart stuff was always just enough to get puppet running and puppet handled everything from there. >> And of course, since it sounds like you are working in environments like ones >> I have worked in the past, I just ran `puppet agent -t` as root on the box >> that I wanted the latest config NOW. > > That's what I do too. > > -- > Tracy Reed _______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/