Ask Your Question

how do tell puppetmaster that I've modified a class such that Foreman will import it?

asked 2016-02-17 15:11:46 -0600

aaronu gravatar image

I've installed the example42-nrpe module from puppetforge and have modified the nrpe.cfg.erb template by adding a few more checks. Then I use the Foreman gui 'configure->puppet classes->import from puppet' but nrpe does not appear.

How can I reliably import the updated puppet module?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-19 02:50:51 -0600

domcleal gravatar image

Foreman only stores a list of classes and their class parameters, so you don't need to import the classes into it again if these didn't change - you've only changed something inside a template or manifest.

The Puppet master, not Foreman, does the compilation of the manifests and templates, and it will typically pick up the change immediately. (Unless you have an environment timeout set, or use one of the few versions where it was enabled by default.)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-02-17 15:11:46 -0600

Seen: 317 times

Last updated: Feb 19 '16