Issue #16570 has been updated by Andrew  Parker.

Status changed from Unreviewed to Accepted
Affected Puppet version deleted (3.0.0-rc7)


----------------------------------------
Bug #16570: puppet apply loading facts twice
https://projects.puppetlabs.com/issues/16570#change-74443

Author: R.I. Pienaar
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


given the site.pp with:

<pre>
node default {
  notice("Busy compiling catalog")
}
</pre>

and a module dir setup like:

<pre>
% mkdir modules
% puppet module install ripienaar-concat --modulepath=`pwd`/modules
</pre>

I have no config so its all defaults:

<pre>
% puppet apply --configprint config
/home/rip/.puppet/puppet.conf
% cat /home/rip/.puppet/puppet.conf
cat: /home/rip/.puppet/puppet.conf: No such file or directory
</pre>

Running puppet 3.0.0rc7 will load facts twice:

<pre>
% puppet apply --modulepath=`pwd`/modules `pwd`/site.pp --verbose
Info: Loading facts in 
/home/rip/temp/modules/concat/lib/facter/concat_basedir.rb
Scope(Node[dev1.devco.net]): Compiling catalog
Info: Loading facts in 
/home/rip/temp/modules/concat/lib/facter/concat_basedir.rb
Info: Applying configuration version '1348574505'
Finished catalog run in 0.17 seconds
</pre>

But puppet 2.7.17 with the same code does:

<pre>
info: Loading facts in 
/home/rip/temp/modules/concat/lib/facter/concat_basedir.rb
notice: Scope(Node[default]): Compiling catalog
info: Applying configuration version '1348574599'
info: Creating state file /home/rip/.puppet/var/state/state.yaml
notice: Finished catalog run in 0.05 seconds
</pre>



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to