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
marleybace...@gmail.com


2010/5/10 Todd Zullinger <t...@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
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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