First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 146712
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Masatomo Nakano (RETIRED) <nakano@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jose Gonzalez Gomez <jgonzalez.openinput@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
facter-1.3.3.ebuild net-misc/facter-1.3.3 ebuild text/plain Jose Gonzalez Gomez 2006-09-07 09:26 0000 584 bytes Details
puppet-0.19.0.ebuild net-misc/puppet-0.19.0 ebuild text/plain Jose Gonzalez Gomez 2006-09-07 09:27 0000 1.33 KB Details
puppet-0.22.0.ebuild app-admin/puppet-0.22.0 ebuild text/plain Jose Gonzalez Gomez 2007-01-10 11:10 0000 1.89 KB Details
facter-1.3.5.ebuild dev-ruby/facter-1.3.5 ebuild text/plain Jose Gonzalez Gomez 2007-01-10 11:11 0000 591 bytes Details
puppet-0.22.0.ebuild app-admin/puppet-0.22.0 ebuild text/plain Jose Gonzalez Gomez 2007-01-11 15:07 0000 1.89 KB Details
puppet-0.22.1.ebuild 0.22.1 ebuild text/plain Javier Segura 2007-02-11 12:12 0000 1.89 KB Details
facter-1.3.6.ebuild dev-ruby/facter-1.3.6.ebuild text/plain MATSUU Takuto 2007-03-16 15:03 0000 524 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 146712 depends on: Show dependency tree
Bug 146712 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-07 09:25 0000
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 From Jose Gonzalez Gomez 2006-09-07 09:26:52 0000 -------
Created an attachment (id=96286) [edit]
net-misc/facter-1.3.3 ebuild

------- Comment #2 From Jose Gonzalez Gomez 2006-09-07 09:27:53 0000 -------
Created an attachment (id=96287) [edit]
net-misc/puppet-0.19.0 ebuild

------- Comment #3 From Andrew Ross (RETIRED) 2006-09-08 03:20:07 0000 -------
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 From Jose Gonzalez Gomez 2006-09-08 03:48:27 0000 -------
No problem in changing category, I put them in net-misc just because cfengine
was there

------- Comment #5 From Stuart Herbert (RETIRED) 2006-09-15 11:55:55 0000 -------
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 From Stuart Herbert (RETIRED) 2006-09-15 12:14:24 0000 -------
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 From Javier Segura 2006-09-15 19:39:39 0000 -------
Oh, many thanks :)

------- Comment #8 From Jose Gonzalez Gomez 2006-09-19 11:50:25 0000 -------
puppet 0.19.1 is out. Haven't tested it, but just changing the ebuild name
should do the trick

------- Comment #9 From Robin Johnson 2006-10-07 15:10:22 0000 -------
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 From Stuart Herbert (RETIRED) 2006-10-08 22:01:22 0000 -------
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 From Jose Gonzalez Gomez 2006-10-10 01:15:56 0000 -------
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 From Jose Gonzalez Gomez 2007-01-10 11:10:02 0000 -------
Created an attachment (id=106338) [edit]
net-misc/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 From Jose Gonzalez Gomez 2007-01-10 11:11:04 0000 -------
Created an attachment (id=106340) [edit]
net-misc/facter-1.3.5 ebuild

New ebuild for facter-1.3.5. 
Added amd64 keyword.
Please, update in the corresponding overlay.

------- Comment #14 From Jose Gonzalez Gomez 2007-01-11 15:02:36 0000 -------
(From update of attachment 106338 [edit])
><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 From Jose Gonzalez Gomez 2007-01-11 15:05:26 0000 -------
(From update of attachment 106340 [edit])
Changed category to match Stuart's overlay

------- Comment #16 From Jose Gonzalez Gomez 2007-01-11 15:07:18 0000 -------
Created an attachment (id=106568) [edit]
app-admin/puppet-0.22.0 ebuild

Changed category to match Stuart's overlay

------- Comment #17 From Thomas R. (TRauMa) 2007-01-31 04:19:35 0000 -------
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 From Javier Segura 2007-02-11 12:12:41 0000 -------
Created an attachment (id=109838) [edit]
0.22.1 ebuild

New ebuild for 0.22.1 version

------- Comment #19 From Thomas R. (TRauMa) 2007-02-12 00:54:14 0000 -------
No need to attach if you don't change anything; in overlay (layman: trauma).

------- Comment #20 From Masatomo Nakano (RETIRED) 2007-02-18 03:09:35 0000 -------
if no one will take case of this ebuild, i'll do that.

------- Comment #21 From MATSUU Takuto 2007-03-16 14:59:56 0000 -------
go!go!go!

------- Comment #22 From MATSUU Takuto 2007-03-16 15:03:02 0000 -------
Created an attachment (id=113478) [edit]
dev-ruby/facter-1.3.6.ebuild

------- Comment #23 From Thomas R. (TRauMa) 2007-03-16 15:33:41 0000 -------
Added, need tester

------- Comment #24 From Masatomo Nakano (RETIRED) 2007-03-17 11:34:19 0000 -------
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 From Masatomo Nakano (RETIRED) 2007-03-17 17:45:04 0000 -------
added to the portage tree.
Let me know if there are any problems.

Thanks

First Last Prev Next    No search results available      Search page      Enter new bug