When using file { "/tmp/bobics_fileserver": source => "puppet:///
modules/bobics/bobics_fileserver"} I get the error:
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

Any idea why I might be getting this error?  I can provide my sample
project if needed (you should be able to reconstruct it with the info
below).

I'm using Puppet 2.6 on a Debian virtual machine.  Standalone puppet
is launched with the following command:
sudo puppet -v manifests/site.pp --confdir=.

### site.pp ###
node default {
        include bobics
}
###

### init.pp ###
class bobics {
    file { "/tmp/bobics_installed":
       ensure => present
    }

    file { "/tmp/bobics_fileserver":
       source => "puppet:///modules/bobics/bobics_fileserver"
    }
}
###

### puppet.conf ###
[puppet]
###

I have a very simple puppet structure:
manifests/
        site.pp
modules/
        bobics/
                files/
                        bobics_fileserver (just a text file)
                        bobics_installed (just a text file)
                manifests/
                        init.pp
puppet.conf

Thanks,
-Andy

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to