--- /dev/null
+# ChangeLog for app-admin/puppet
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.1 2007/03/17 17:44:12 nakano Exp $
+
+*puppet-0.22.1 (17 Mar 2007)
+
+ 17 Mar 2007; Masatomo Nakano <nakano@gentoo.org> +metadata.xml,
+ +puppet-0.22.1.ebuild:
+ Initial import. Ebuild submitted by Jose Gonzalez Gomez
+ <jgonzalez.openinput@gmail.com>. #146712
+
--- /dev/null
+DIST puppet-0.22.1.tgz 543926 RMD160 12d9f5f14c7b9700bfe04c652c63c0daff00a013 SHA1 94e5683d206a20ec4dc02ad875699d8b0b12d2dc SHA256 c107c3e99b0371f67803c63f9b7c77947fed4fe74782494c9d392ae01fd5bcfe
+EBUILD puppet-0.22.1.ebuild 2178 RMD160 ca242040306ce804d337b18c52a06fa2bbd909dc SHA1 199bc6819af6c26019913e00602af58a7bdf94b9 SHA256 689a00128b3705ca03adf2bf293cc13efcd9be0ecdd29b5727a2f5afc659d1c1
+MD5 4d68d0febe7e55dd4a4d223fff4a91ab puppet-0.22.1.ebuild 2178
+RMD160 ca242040306ce804d337b18c52a06fa2bbd909dc puppet-0.22.1.ebuild 2178
+SHA256 689a00128b3705ca03adf2bf293cc13efcd9be0ecdd29b5727a2f5afc659d1c1 puppet-0.22.1.ebuild 2178
+MISC ChangeLog 428 RMD160 86055f0eb9fc102951383cf5c80ec26c6ee635bd SHA1 4f987ced0a19625b3f4bd427043d97490476be40 SHA256 47c539f7ab1f12ca501e241ca9232a4acbcc0ec5bb224a3678aef91c02695a2e
+MD5 92cecde92ec2ba16fa119230b5b57aad ChangeLog 428
+RMD160 86055f0eb9fc102951383cf5c80ec26c6ee635bd ChangeLog 428
+SHA256 47c539f7ab1f12ca501e241ca9232a4acbcc0ec5bb224a3678aef91c02695a2e ChangeLog 428
+MISC metadata.xml 222 RMD160 21459c9da4e2cc307ee5f77d0ab36f5c2fd30d10 SHA1 56cc99d472625d9439d65a94af7254738cd499ea SHA256 b9a72edb072b0592bc3207fd41cd0c3826b72e82d6d6b8db0c6724b3f7898a56
+MD5 108181d1fded73455b48b0aa6bd28972 metadata.xml 222
+RMD160 21459c9da4e2cc307ee5f77d0ab36f5c2fd30d10 metadata.xml 222
+SHA256 b9a72edb072b0592bc3207fd41cd0c3826b72e82d6d6b8db0c6724b3f7898a56 metadata.xml 222
+MD5 b939374cbf6be9a399f0b20babe17a8b files/digest-puppet-0.22.1 232
+RMD160 a059d6b094069195ed4cf36238f5ba63d093d96b files/digest-puppet-0.22.1 232
+SHA256 a9f994efd7bb2eb4d6be42c8b043954c68852c705b1deda793add957157b9324 files/digest-puppet-0.22.1 232
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-0.22.1.ebuild,v 1.1 2007/03/17 17:44:12 nakano Exp $
+
+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=">=dev-ruby/facter-1.3.5 >=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
+
+ # lockdir option is obsoleted.
+ dosed "s:lockdir:#lockdir:" /etc/puppet/puppetca.conf /etc/puppet/puppetd.conf /etc/puppet/puppetmasterd.conf
+}
+
+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."
+}