You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just had a couple of hours debugging a strange problem in deploying a Puppetmaster (on RHEL7, with passenger compiled from gem).
As I finally found out, it does matter in which order I declare the puppet::master and puppet::agent classes, e.g. the following manifest doesn't get successfully applied
include puppet::agent
include puppetdb
class { 'puppet::master':
storeconfigs => true,
}
whereas if I use the following variant, everything works as expected:
include puppetdb
class { 'puppet::master':
storeconfigs => true,
}
include puppet::agent
The reason is probably the use of the defined functions in manifests/agent.pp and manifests/master.pp, which is, as I understand now, parse-order dependent.
The text was updated successfully, but these errors were encountered:
I have just had a couple of hours debugging a strange problem in deploying a Puppetmaster (on RHEL7, with passenger compiled from gem).
As I finally found out, it does matter in which order I declare the
puppet::master
andpuppet::agent
classes, e.g. the following manifest doesn't get successfully appliedwhereas if I use the following variant, everything works as expected:
The reason is probably the use of the
defined
functions inmanifests/agent.pp
andmanifests/master.pp
, which is, as I understand now, parse-order dependent.The text was updated successfully, but these errors were encountered: