Check your source declaration.
> source => "puppet:///modules/ntp/files/${conf_file}",
If your files are in modules/ntp/files you don't include that in your source
declaration
> source => "puppet:///modules/ntp/${conf_file}",
http://docs.puppetlabs.com/guides/file_serving.html
Cheers,
Den
On
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
On Jun 21, 2011, at 9:09 AM, Nigel Kersten wrote:
>
>
> On Tue, Jun 21, 2011 at 9:03 AM, Craig White wrote:
>
> 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 -
On 21/06/11 17:03, Craig White wrote:
> 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?
>
> seems so basic - output at bottom
>
> I have gone
On Tue, Jun 21, 2011 at 9:03 AM, Craig White wrote:
>
> 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?
>
> seems so basic - output
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?
seems so basic - output at bottom
I have gone over and over the Pro Puppet book and the
http://do
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?
OK - I simplified the chaining so now the ntp is indeed included with all
puppet agent and puppetd
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: /S
, 20 Jun 2011 15:11:09 -0700, Craig White wrote:
>>> Date: Mon, 20 Jun 2011 15:11:09 -0700
>>> From: Craig White
>>> To: puppet-users@googlegroups.com
>>> Subject: Re: [Puppet Users] confused about file ensure/require
>>> X-Mailer: Apple Mail (2.1084)
&
On Jun 20, 2011, at 3:37 PM, Jacob Helwig wrote:
> On Mon, 20 Jun 2011 15:11:09 -0700, Craig White wrote:
>> Date: Mon, 20 Jun 2011 15:11:09 -0700
>> From: Craig White
>> To: puppet-users@googlegroups.com
>> Subject: Re: [Puppet Users] confused about file ensure/requ
On Mon, 20 Jun 2011 15:11:09 -0700, Craig White wrote:
> Date: Mon, 20 Jun 2011 15:11:09 -0700
> From: Craig White
> To: puppet-users@googlegroups.com
> Subject: Re: [Puppet Users] confused about file ensure/require
> X-Mailer: Apple Mail (2.1084)
> Message-Id: <290592db-a4c
On Jun 20, 2011, at 2:35 PM, Jacob Helwig wrote:
> On Mon, 20 Jun 2011 14:17:46 -0700, Craig White wrote:
>>
>> my base/default includes this ntp manifest
>>
>> # cat modules/ntp/manifests/ntp.pp
>> # ntp.pp
>>
>> class ntp {
>> case $operatingsystem {
>> centos, redhat: {
>> $service_n
On Mon, 20 Jun 2011 14:17:46 -0700, Craig White wrote:
>
> my base/default includes this ntp manifest
>
> # cat modules/ntp/manifests/ntp.pp
> # ntp.pp
>
> class ntp {
> case $operatingsystem {
> centos, redhat: {
> $service_name = 'ntpd'
> $conf_file = 'ntp.conf.el'
> }
>
my base/default includes this ntp manifest
# cat modules/ntp/manifests/ntp.pp
# ntp.pp
class ntp {
case $operatingsystem {
centos, redhat: {
$service_name = 'ntpd'
$conf_file = 'ntp.conf.el'
}
debian, ubuntu: {
$service_name = 'ntp'
$conf_file = 'ntp.conf.d
14 matches
Mail list logo