Default node in site.pp and foreman

Hi All,

I have setup in my site.pp a default node, that only install puppet and
mcollective. This takes care of any time we kickstart a new host and an
entry is not yet made in foreman, allowing us to at least have it under
control to set a hostgroup, and initiate a puppet run. The problem, is
that I get Class['puppet'] already declared on node if I then add the node
in foreman to a hostgroup that has puppet. Should the node bypass my
site.pp default node and only read foreman?

Thanks!
Chuck

That's normal - Puppet combines the ENC with site.pp, so you would expect a
duplicate definition in that situation.

Greg

··· On 11 July 2013 23:16, wrote:

Hi All,

I have setup in my site.pp a default node, that only install puppet and
mcollective. This takes care of any time we kickstart a new host and an
entry is not yet made in foreman, allowing us to at least have it under
control to set a hostgroup, and initiate a puppet run. The problem, is
that I get Class[‘puppet’] already declared on node if I then add the node
in foreman to a hostgroup that has puppet. Should the node bypass my
site.pp default node and only read foreman?