I don't think you should be specifying the "files" part of the source path:

Try:

source =>  puppet:///modules/ntp/ntp.conf.debian

- Jeff

On 06/20/2011 06:12 PM, Craig White wrote:
I don't know if it is or isn't being included but the -d -e were certainly 
useful bits...

err: /Stage[main]/Ntp/File[ntp.conf]: Could not evaluate: Could not retrieve 
information from source(s) puppet:///modules/ntp/files/ntp.conf.debian at 
/etc/puppet/modules/ntp/manifests/ntp.pp:31
notice: /Stage[main]/Ntp/Service[ntp]: Dependency File[ntp.conf] has failures: 
true

but the file is clearly somewhere...

# ls -l /etc/puppet/modules/ntp/files/ntp.conf.debian
-rw-r--r-- 1 root root 535 2011-06-13 12:55 
/etc/puppet/modules/ntp/files/ntp.conf.debian

and as noted below, the source is indicated to be

source =>  puppet:///modules/ntp/files/ntp.conf.debian

which is the same 2 questions I started with since I have the 'Puppet Pro' book 
in my hand and various references on the puppetlabs documentation web pages and 
I was pretty much of the opinion that this should be working.

Craig

On Jun 20, 2011, at 3:54 PM, Ken Barber wrote:

It does seem like its not being included :-) ...

What does:

echo "# foo">>  /etc/ntp.conf
puppet apply -d -e 'include ntp'

Do?

ken.

----
I thought it should work at least for the 'puppet agent' commands...

# cat manifests/site.pp
import "templates"
import "nodes"
import "modules"

root@ubuntu:/etc/puppet# cat manifests/templates.pp
class baseclass {
}

node default {
    include baseclass
    include ntp
    include facts
}

and the nodes all have

include baseclass

in them

Craig




--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to