Issue #18635 has been reported by Garrett Honeycutt.

----------------------------------------
Bug #18635: puppet apply does not work without ipaddress fact
https://projects.puppetlabs.com/issues/18635

Author: Garrett Honeycutt
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 3.1.0-rc1
Keywords: 
Branch: 


Puppet version: 3.1.0-rc1
Facter version: 2.0.0

With an ipaddress we get what one would expect
<pre>
$ sudo puppet apply -v path.pp ; echo $?
Info: Loading facts in
/usr/share/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in
/usr/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in
/usr/share/puppet/modules/stdlib/lib/facter/root_home.rb
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Info: Loading facts in
/usr/share/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in
/usr/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in
/usr/share/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Applying configuration version '1357943759'
Notice: Finished catalog run in 0.04 seconds
0
</pre>

without an ipaddress, oh noes!
<pre>
$ sudo puppet apply -v path.pp ; echo $?
Info: Loading facts in
/usr/share/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in
/usr/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in
/usr/share/puppet/modules/stdlib/lib/facter/root_home.rb
Could not retrieve ipaddress: No route to host - sendto(2)
Timed out seeking value for ipaddress
Could not retrieve ipaddress: No route to host - sendto(2)
Timed out seeking value for ipaddress
Could not retrieve ipaddress: No route to host - sendto(2)
Timed out seeking value for ipaddress
Warning: Could not retrieve fact ipaddress
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Error: Could not create resources for managing Puppet's files and
directories in sections [:main, :ssl, :agent]: No child processes
Error: Could not create resources for managing Puppet's files and
directories in sections [:main, :ssl, :agent]: No child processes
No child processes
1
</pre>

The offending module does make use of puppetlabs-stdlib, though does not
use the ipaddress fact.


-- 
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