[puppet-server] - "/var/lib/puppet" while installing 0.25.5 puppet-server

3 views
Skip to first unread message

kid17

unread,
Sep 2, 2010, 11:37:36 AM9/2/10
to Puppet Users
just installed puppet-server using yum.

but when i ran /etc/init.d/puppetmaster start, file directory /var/lib/
puppet is empty.

how come it's empty as compared to installing from source?

Patrick

unread,
Sep 2, 2010, 7:46:04 PM9/2/10
to puppet...@googlegroups.com
I would assume that the package maintainer moved the default directory location.

Try this:
puppetmaster --genconfig | grep "libdir ="

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

Rob McBroom

unread,
Sep 3, 2010, 8:36:15 AM9/3/10
to puppet...@googlegroups.com
On Sep 2, 2010, at 7:46 PM, Patrick wrote:

> I would assume that the package maintainer moved the default directory location.

It's been a while, but I think when I installed the Puppetmaster package (from EPEL), it was set up to use `/etc/puppet/` while the client package uses `/var/lib/puppet/`. I couldn't be completely wrong about that, though.

--
Rob McBroom
<http://www.skurfer.com/>

The magnitude of a problem does not affect its ownership.

Todd Zullinger

unread,
Sep 6, 2010, 12:38:22 AM9/6/10
to puppet...@googlegroups.com
Patrick wrote:
> I would assume that the package maintainer moved the default
> directory location.

The Fedora/EPEL packages don't change this. I'm not sure if there are
any other yum using distros out there. But if the OP meant one of
those two, then /var/lib/puppet is the default $vardir. There's just
nothing installed there by the packages. Running puppet will create
whatever files and dirs are needed there.

> Try this:
> puppetmaster --genconfig | grep "libdir ="

I think you mean:

puppetmasterd --genconfig | grep "vardir ="

(Note the d on the end of puppetmaster and s/libdir/vardir :)

--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A common mistake people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools.
-- Douglas Adams

Reply all
Reply to author
Forward
0 new messages