On 02/09/16 12:26, Christoph Siebert wrote: > Hello there, > > I want to know how to get the puppetrun button to work. > I installed Puppet 4.6.1 and Foreman 1.12.1 on an Ubuntu 14.04. > > After that I used the following thread to enable the button: > https://wiki.infn.it/progetti/cloud-areapd/best_practices/config_puppetrun > > Since then the button is activated. Like it's written in the thread, > foreman will use "puppet kick" to execute the puppetrun on the client, > it seems. > But in Puppet 4 "puppet run" and "puppet kick" aren't implemented > because they were deprecated. Now I should use mcollective somehow, like > it's recommended by Puppet Devs themself. > > My Questions now: > Is there anything wrong with my current setup for activating the > puppetrun button? > How do I say foreman to use mcollective in which way to properly trigger > the execution of the catalogue on the client?
Change the :use_provider setting in /etc/foreman-proxy/settings.d/puppet.yml, and configure the appropriate puppet_proxy_* file to go with it. https://theforeman.org/manuals/1.12/index.html#4.3.6Puppet has more information on the available providers (including MCollective), if you scroll down to "Puppet run providers". Note that the installer nor Foreman set up MCollective for you, but they can run the relevant mco command to trigger a run. -- Dominic Cleal [email protected] -- You received this message because you are subscribed to the Google Groups "Foreman 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 https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
