初始傀儡设置问题 – filebucket烫发?

我试图设置一个初始的puppetconfiguration,但努力得到它的工作,因为我的第一个文件在文件桶内的故障。 一切看起来都很好,我想我需要第二个意见来解决这个问题。 所以我在nodes.pp中定义了这个节点,如下所示:

# cat /etc/puppet/manifests/nodes.pp node defaultclass { include baseconfig } node 'buildmirror.briggs.uk.to' { include ntp include packages } 

我的filebucket驻留在这里:

 # cat /etc/puppet/modules/baseconfig/manifests/ntp.pp class ntp { file { "/etc/ntp.conf": source => "puppet:////modules/baseconfig/ntp.conf", owner => root, group => root, mode => 644, require => Package ["ntp"] } #file { "/var/log/ntp": #ensure => directory, #owner => ntp, #group => ntp, #mode => 755, #} service { "ntpd": require => File["/etc/ntp.conf"], subscribe => File["/etc/ntp.conf"], ensure => running, enable => true, } } 

和文件存在正确的目录(我认为)

 # ls -al /etc/puppet/modules/baseconfig/files/ntp.conf -rwxr-xr-x 1 root root 1862 Jul 20 15:50 /etc/puppet/modules/baseconfig/files/ntp.conf 

我的问题是,当我运行puppetd ​​ – testing我得到以下错误:

 # puppetd --test info: Retrieving plugin info: Caching catalog for hostname info: Applying configuration version '1342971406' err: /Stage[main]/Ntp/File[/etc/ntp.conf]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:////modules/baseconfig/ntp.conf at /etc/puppet/modules/baseconfig/manifests/ntp.pp:8 notice: /Stage[main]/Ntp/Service[ntpd]: Dependency File[/etc/ntp.conf] has failures: true warning: /Stage[main]/Ntp/Service[ntpd]: Skipping because of failed dependencies notice: Finished catalog run in 0.34 seconds 

什么可能导致这个? 我已经validationfilebucket中的文件的权限(甚至尝试将其设置为777,以确保它不是一个烫发问题)任何帮助表示赞赏!

太多的斜杠 – 尝试puppet:///modules/baseconfig/ntp.conf而不是puppet:////modules/baseconfig/ntp.conf

有关术语的简要说明 – filebucket实际上是客户机用于归档正在被replace的旧版本文件的机制。 你在这里使用的是简单的叫做“文件服务器”。