Issue #4489 has been updated by Sebastian Boehm.
Steps to reproduce:
<pre>
rm -r /etc/puppet
mkdir -p /etc/puppet/modules/example/{files,manifests}
echo 'hello world' > /etc/puppet/modules/example/files/testfile
echo 'class example {
file { "/tmp/testfile":
source => "puppet:///modules/example/testfile";
}
}' > /etc/puppet/modules/example/manifests/init.pp
mkdir /etc/puppet/manifests
echo 'node default { include "example" }' > /etc/puppet/manifests/site.pp
puppet apply /etc/puppet/manifests/site.pp -v
</pre>
----------------------------------------
Bug #4489: standalone puppet file source error "Could not evaluate:
getaddrinfo: ..."
http://projects.puppetlabs.com/issues/4489
Author: Mathias Gug
Status: Closed
Priority: Immediate
Assignee: Markus Roberts
Category: fileserving
Target version: 2.6.1
Affected version: 2.6.0
Keywords:
Branch: http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4489
When running the puppet command with the following code:
<pre>
file { "/tmp/bobics_fileserver": source =>
"puppet:///modules/bobics/bobics_fileserver"}
</pre>
I get the error:
<pre>
err: /Stage[main]/Bobics/File[/tmp/bobics_fileserver]: Could not evaluate:
getaddrinfo: Name or service not known Could not retrieve file metadata for
puppet:///modules/bobics/bobics_fileserver: getaddrinfo: Name or service not
known at /home/debian/puppet_sample/ modules/bobics/manifests/init.pp:8
</pre>
See
http://groups.google.com/group/puppet-users/browse_thread/thread/626e7334b437f4fc/ac3434e23105b2a4.
This seems to be a regression in 2.6.
--
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.