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?
Thank you very much for the help.
Change the :use_provider setting in
/etc/foreman-proxy/settings.d/puppet.yml, and configure the appropriate
puppet_proxy_* file to go with it.
Foreman :: Manual 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.
···
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?
–
Dominic Cleal
dominic@cleal.org