I have a dependency loop in my Puppet install I need assistance resolving.
I have a Puppet server which updates the /etc/puppet/puppet_client.conf file. This is deployed via an erb template. The template includes setting the 'pluginsync=true' option.
I am also using a custom fact in a different template. These two (and a dozen more) are all applied as part of my core Linux template.
On a newly added server I receive a failure for a non existent fact and the execution ceases before the change to the puppet config is made. If I manually add the pluginsync option everything is kosher.
How can I address this within Puppet? Is there any way to force this, dependencies, etc?