Puppet kick


Selection_019

When I try to run puppet in foreman, it failed (the error is as above). The reason is that I have not configured to allow the ‘puppet kick’ to run. Here is how to make it work:

1) Add the following in the [main] section of /etc/puppet/puppet.conf

listen = trun

2) Add the following in /etc/puppet/auth.conf

# Allow puppet kick
path /run
method save
auth any
allow *

In my lab, I use sys_puppet module to push the puppet config and auth file. Now foreman can happily kick puppet node to run 🙂

Screenshot from 2014-09-11 16:56:26

Reference:
https://docs.puppetlabs.com/references/stable/man/kick.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s