Hi Cesar, On 18 Apr 2016, at 12:05, César <[email protected]> wrote:
> Hi all, > > I have been looking for some docs to get more information on the subject, but > I have not been able to find them. Apologies if this has been asked before! > > I'm curious about what happens when a puppet agent run is performed but there > are no puppetmaster processes yet (I'm talking about puppetmaster configured > by Passenger, not the daemonized configuration). An agent requires a running master as a central instance. You deploy your puppet code onto that master. The agent asks the master for its configuration and the master checks node classification, classes, templates and “compiles” a catalog. The catalog (which is minified JSON) is then sent back to the agent. > When that happens usually I see something like this on the logs > > Apr 18 09:59:19 ms1 puppet-master[5849]: Starting Puppet master version 3.3.2 The master should have been started by an init script. Elder versions of Puppet used an Apache/Nginx in combination with Passenger/Unicorn to spin up the Ruby application. Newer versions of the master are running on top of a JVM (the new server is written in Clojure). > > My question would be: Should I always expect the puppet agent to somehow > spawn a puppetmaster process if there are none? Who's in charge of that? An agent should not spin up a local master, but connect to an existing master instance. hth, Martin > > Thanks, > Cesar. > > -- > 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/a6b4d24e-1ea8-425d-ac4c-6e5c81b94007%40googlegroups.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/01C1438B-8977-48C1-948E-357CB2C47963%40gmail.com. For more options, visit https://groups.google.com/d/optout.
