Re: [Puppet Users] Begining with puppet.

Marley Bacelar
Mon, 10 May 2010 18:36:47 -0000

I changed my inittab.pp to source => "puppet://$servername/inittab, but
now
i am getting this error on client side:

[root@mgmt-puppet-client-dev-03 puppet]#  puppetd --server
puppetmaster.testing.com --verbose --waitforcert 60
notice: Starting Puppet client version 0.22.4
info: Facts have changed; recompiling
err: Configuration retrieval timed out

At same time my server show me this:

[root@mgmt-puppet-dev-01 manifests]# puppetmasterd --verbose --no-daemonize
notice: Starting Puppet server version 0.25.4
info: mount[files]: allowing 127.0.0.1 access
info: mount[files]: allowing 192.168.0.0/24 access


My configurations http://paste.pocoo.org/show/212227/


--
Marley Bacelar
Project Fedora Ambassador
VCP, VSP. VTSP., ITILF, IBM 000-076, IBM 000-330, IBM 000-331
marleybacelar@gmail.com


2010/5/10 Marley Bacelar <marleybacelar@gmail.com>

> I will try thie Todd and post the result here later, thanks for your
> answer.
>
>
> --
> Marley Bacelar
> Project Fedora Ambassador
> VCP, VSP. VTSP., ITILF, IBM 000-076, IBM 000-330, IBM 000-331
> marleybacelar@gmail.com
>
>
> 2010/5/10 Todd Zullinger <tmz@pobox.com>
>
> Marley Bacelar wrote:
>> > I am trying to do my first puppet configuration, already installed
the
>> > puppetserver and client, in this link show my configuration and my
>> puppet
>> > structure:
>> >
>> > http://paste.pocoo.org/show/212227/
>>
>> Which reads, in part:
>>
>> > # ls /etc/puppet/ #
>> > files  fileserver.conf  manifests  modules  puppet.conf
>> >
>> > # fileserver.conf #
>> > [files]
>> > path /etc/puppet/files/
>> > allow 192.168.0.0/24
>>
>> So you''ve got a ''files'' mount here.
>>
>> > # ls /etc/puppet/manifests/classes #
>> > inittab.pp
>> >
>> > # inittab.pp #
>> > class inittab {
>> >         file {
>> >                 "inittab":
>> >                         mode => 644, owner => root, group
=> root,
>> >                         ensure => present,
>> >                         path   => $operatingsystem ?{
>> >                                 default =>
"/etc/inittab",
>> >                         },
>> >                         source =>
"puppet://$servername/inittab",
>> >         }
>> >
>> > }
>>
>> And your source parameter doesn''t use the files mount.
You''d want to
>> use ''puppet://$servername/files/inittab'' there.
>>
>> > # ls /etc/puppet/file #
>> > inittab
>>
>> I presume you made a typo there, as the dir should be files, not file.
>>
>> --
>> Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
www.pobox.com/~tmz/pgp<http://www.pobox.com/%7Etmz/pgp>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> The ultimate result of shielding men from the effects of folly is to
>> fill the world with fools.
>>    -- Herbert Spencer
>>
>>