Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146712 - net-misc/{puppet,facter} - new ebuilds
Summary: net-misc/{puppet,facter} - new ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Masatomo Nakano (RETIRED)
URL: http://www.reductivelabs.com/projects...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-09-07 09:25 UTC by Jose Gonzalez Gomez
Modified: 2007-03-17 17:45 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-misc/facter-1.3.3 ebuild (facter-1.3.3.ebuild,584 bytes, text/plain)
2006-09-07 09:26 UTC, Jose Gonzalez Gomez
Details
net-misc/puppet-0.19.0 ebuild (puppet-0.19.0.ebuild,1.33 KB, text/plain)
2006-09-07 09:27 UTC, Jose Gonzalez Gomez
Details
app-admin/puppet-0.22.0 ebuild (puppet-0.22.0.ebuild,1.89 KB, text/plain)
2007-01-10 11:10 UTC, Jose Gonzalez Gomez
Details
dev-ruby/facter-1.3.5 ebuild (facter-1.3.5.ebuild,591 bytes, text/plain)
2007-01-10 11:11 UTC, Jose Gonzalez Gomez
Details
app-admin/puppet-0.22.0 ebuild (puppet-0.22.0.ebuild,1.89 KB, text/plain)
2007-01-11 15:07 UTC, Jose Gonzalez Gomez
Details
0.22.1 ebuild (puppet-0.22.1.ebuild,1.89 KB, text/plain)
2007-02-11 12:12 UTC, Javier Segura
Details
dev-ruby/facter-1.3.6.ebuild (facter-1.3.6.ebuild,524 bytes, text/plain)
2007-03-16 15:03 UTC, MATSUU Takuto (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Gonzalez Gomez 2006-09-07 09:25:57 UTC
From their web site: Puppet is an open-source next-generation server automation tool. It is composed of a declarative language for expressing system configuration, a client and server for distributing it, and a library for realizing the configuration.

Basically Puppet can be a (better?) replacement for cfengine (at least, I prefer it)

I've contributed init scripts and portage integration to the Puppet project (available in version 0.19.0) and here you have the ebuild for this version of Puppet.

Puppet needs Facter ti run (also from the same people) so you also have the corresponding ebuild in this issue.

Thanks in advance
Comment 1 Jose Gonzalez Gomez 2006-09-07 09:26:52 UTC
Created attachment 96286 [details]
net-misc/facter-1.3.3 ebuild
Comment 2 Jose Gonzalez Gomez 2006-09-07 09:27:53 UTC
Created attachment 96287 [details]
net-misc/puppet-0.19.0 ebuild
Comment 3 Andrew Ross (RETIRED) gentoo-dev 2006-09-08 03:20:07 UTC
Nice work, although it seems to me that facter would be better suited to dev-ruby, and while cfengine is in net-misc, I would personally put puppet in app-admin.

Of course, the final decision rests with whichever dev elects to maintain the packages. I'm excited by the idea of puppet, and if it meets my needs I'll maintain it (and use it at work).
Comment 4 Jose Gonzalez Gomez 2006-09-08 03:48:27 UTC
No problem in changing category, I put them in net-misc just because cfengine was there
Comment 5 Stuart Herbert (RETIRED) gentoo-dev 2006-09-15 11:55:55 UTC
Please don't put any new packages in net-misc :)  That category is a historical dumping ground that we'd like to prevent getting out of control once more.

Many thanks,
Stu
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2006-09-15 12:14:24 UTC
Hi,

Puppet looks very interesting indeed.  To help with wider testing, I've put this into my server overlay.  You can download this overlay by installing layman, and then running 'layman -a stuart-server'.

Best regards,
Stu
Comment 7 Javier Segura 2006-09-15 19:39:39 UTC
Oh, many thanks :)
Comment 8 Jose Gonzalez Gomez 2006-09-19 11:50:25 UTC
puppet 0.19.1 is out. Haven't tested it, but just changing the ebuild name should do the trick
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-10-07 15:10:22 UTC
stuart: we (my boss and coworkers) are intending on using puppet for our boxen, so I'll take it for putting it in the tree if you want.
Comment 10 Stuart Herbert (RETIRED) gentoo-dev 2006-10-08 22:01:22 UTC
Hi Robin,

By all means, take these packages.  Let me know when they're in the tree, and I'll drop them from my overlay.

Best regards,
Stu
Comment 11 Jose Gonzalez Gomez 2006-10-10 01:15:56 UTC
There are new versions of the packages (facter-1.3.5 and puppet-0.19.3). Just changing the ebuld name should work although I haven't tested it.

In addition, it seems there's some problem with init scripts (puppet shows an error while trying to ensure a service is running). I'll take a look at it as soon as possible and provide a patch to mainstream. Anyway, contributions are welcome: it would be great if I'm not the only one working on improvements for Puppet on Gentoo!
Comment 12 Jose Gonzalez Gomez 2007-01-10 11:10:02 UTC
Created attachment 106338 [details]
app-admin/puppet-0.22.0 ebuild

New ebuild for puppet-0.22.0. 
Updated facter and eix dependencies, added amd64 keyword, added some warnings in post_inst with information about requirements/limitations of puppet.
Please, update in the corresponding overlay.
Comment 13 Jose Gonzalez Gomez 2007-01-10 11:11:04 UTC
Created attachment 106340 [details]
dev-ruby/facter-1.3.5 ebuild

New ebuild for facter-1.3.5. 
Added amd64 keyword.
Please, update in the corresponding overlay.
Comment 14 Jose Gonzalez Gomez 2007-01-11 15:02:36 UTC
Comment on attachment 106338 [details]
app-admin/puppet-0.22.0 ebuild

><HTML><HEAD/><BODY><PRE># Copyright 1999-2006 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header$
>
>inherit eutils ruby
>
>DESCRIPTION="A system automation and configuration management software"
>LICENSE="GPL-2"
>HOMEPAGE="http://reductivelabs.com/projects/puppet/index.html"
>SRC_URI="http://reductivelabs.com/downloads/${PN}/${P}.tgz"
>RDEPEND="&gt;=dev-ruby/facter-1.3.5 &gt;=app-portage/eix-0.7.9"
>
>SLOT="0"
>IUSE=""
>KEYWORDS="~x86 ~amd64"
>
>USE_RUBY="ruby18"
>
>pkg_setup() {
>	built_with_use virtual/ruby ipv6 || \
>		die "Ruby must be built with ipv6 support, otherwise puppet will not be able to run"
>
>	enewgroup puppet || die "Problem creating group puppet"
>	enewuser puppet -1 -1 /var/lib/puppet puppet || die "Problem creating user puppet"
>}
>
>src_compile() {
>	DESTDIR=${D} ruby_econf || die
>	DESTDIR=${D} ruby_emake "$@" || die
>}
>
>src_install() {
>	DESTDIR=${D} ruby_einstall "$@" || die
>	DESTDIR=${D} erubydoc
>
>	# Installation of init scripts and configuration
>	doinitd ${S}/conf/gentoo/init.d/puppetmaster
>	doconfd ${S}/conf/gentoo/conf.d/puppetmaster
>	doinitd ${S}/conf/gentoo/init.d/puppet
>	doconfd ${S}/conf/gentoo/conf.d/puppet
>
>	# Initial configuration files
>	dodir /etc/puppet/manifests
>	insinto /etc/puppet
>	doins ${S}/conf/gentoo/puppet/*
>
>	# Location of log and data files
>	dodir /var/log/puppet
>	dodir /var/lib/puppet
>	keepdir /var/run/puppet
>}
>
>pkg_postinst() {
>	ewarn "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could cause puppet to hang"
>	ewarn "while installing packages."
>	ewarn
>	ewarn "Puppet uses eix to get information about currently installed	packages, so please keep the eix"
>	ewarn "metadata cache updated so puppet is able to properly handle package installations."
>	ewarn
>	ewarn "Currently puppet only supports adding and removing services to the default runlevel, if you"
>	ewarn "want to add/remove a service from another runlevel you may do so using symlinking."
>}
></PRE></BODY></HTML>
Comment 15 Jose Gonzalez Gomez 2007-01-11 15:05:26 UTC
Comment on attachment 106340 [details]
dev-ruby/facter-1.3.5 ebuild

Changed category to match Stuart's overlay
Comment 16 Jose Gonzalez Gomez 2007-01-11 15:07:18 UTC
Created attachment 106568 [details]
app-admin/puppet-0.22.0 ebuild

Changed category to match Stuart's overlay
Comment 17 Thomas R. (TRauMa) 2007-01-31 04:19:35 UTC
I'll add the current versions to my (non-layman, currently) overlay at http://svn.digital-trauma.de/gentoo/trunk/. Contact me if you're interested in commit access.
Comment 18 Javier Segura 2007-02-11 12:12:41 UTC
Created attachment 109838 [details]
0.22.1 ebuild

New ebuild for 0.22.1 version
Comment 19 Thomas R. (TRauMa) 2007-02-12 00:54:14 UTC
No need to attach if you don't change anything; in overlay (layman: trauma).
Comment 20 Masatomo Nakano (RETIRED) gentoo-dev 2007-02-18 03:09:35 UTC
if no one will take case of this ebuild, i'll do that.

Comment 21 MATSUU Takuto (RETIRED) gentoo-dev 2007-03-16 14:59:56 UTC
go!go!go!
Comment 22 MATSUU Takuto (RETIRED) gentoo-dev 2007-03-16 15:03:02 UTC
Created attachment 113478 [details]
dev-ruby/facter-1.3.6.ebuild
Comment 23 Thomas R. (TRauMa) 2007-03-16 15:33:41 UTC
Added, need tester
Comment 24 Masatomo Nakano (RETIRED) gentoo-dev 2007-03-17 11:34:19 UTC
hi,

I've been using puppet for a while and going to add it to the portage tree.

Before that, according to http://mail.madstop.com/pipermail/puppet-users/2007-February/001211.html ,
"lockdir" in config files pretend from starting up because it's obsoleted option. 
I've added a logic to remove the lockdir from the default config files.

I'm going to add the ebuilds to portage in the next several hours.
Let me know if there are any problems.
Comment 25 Masatomo Nakano (RETIRED) gentoo-dev 2007-03-17 17:45:04 UTC
added to the portage tree.
Let me know if there are any problems.

Thanks