# 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.2 2007/03/20 13:02:55 nakano Exp $
+
+*puppet-0.22.2 (20 Mar 2007)
+
+ 20 Mar 2007; Masatomo Nakano <nakano@gentoo.org> +puppet-0.22.2.ebuild:
+ Version bump.
*puppet-0.22.1 (17 Mar 2007)
DIST puppet-0.22.1.tgz 543926 RMD160 12d9f5f14c7b9700bfe04c652c63c0daff00a013 SHA1 94e5683d206a20ec4dc02ad875699d8b0b12d2dc SHA256 c107c3e99b0371f67803c63f9b7c77947fed4fe74782494c9d392ae01fd5bcfe
+DIST puppet-0.22.2.tgz 627039 RMD160 199d058b9622bc964a720c4d939e1c8376b5d140 SHA1 ac0638d80693108c13e305b4d514959df55a65fb SHA256 3361c5779cecb52673953e58e19e1c1e13a0ec386a4980469792dd3de9417fca
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
+EBUILD puppet-0.22.2.ebuild 2034 RMD160 6fca2be4ad7d01e8b510cd2195a10c19eb1696be SHA1 4215bc76149d9db344efa29006945b7ffd81feb3 SHA256 72ac287d061890332591bb55af70003c49be617afcd514ab85537e1f2bb5a2a7
+MD5 f636d62ad39b74bdc31a36c3e771eadf puppet-0.22.2.ebuild 2034
+RMD160 6fca2be4ad7d01e8b510cd2195a10c19eb1696be puppet-0.22.2.ebuild 2034
+SHA256 72ac287d061890332591bb55af70003c49be617afcd514ab85537e1f2bb5a2a7 puppet-0.22.2.ebuild 2034
+MISC ChangeLog 549 RMD160 a085ed382dd2851506879bce0f80879114178bbc SHA1 0704e5160545163adf48a5c7a77bd0211d50cb1d SHA256 1690ce1185b2662c0a4505a144bfd554267d616d578fed480014a44e8ca60e41
+MD5 14115cb5c3960e681576f5e7aaa4af12 ChangeLog 549
+RMD160 a085ed382dd2851506879bce0f80879114178bbc ChangeLog 549
+SHA256 1690ce1185b2662c0a4505a144bfd554267d616d578fed480014a44e8ca60e41 ChangeLog 549
MISC metadata.xml 222 RMD160 21459c9da4e2cc307ee5f77d0ab36f5c2fd30d10 SHA1 56cc99d472625d9439d65a94af7254738cd499ea SHA256 b9a72edb072b0592bc3207fd41cd0c3826b72e82d6d6b8db0c6724b3f7898a56
MD5 108181d1fded73455b48b0aa6bd28972 metadata.xml 222
RMD160 21459c9da4e2cc307ee5f77d0ab36f5c2fd30d10 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
+MD5 fdcd0ad9b5c814ff7c23b6263c1abbfc files/digest-puppet-0.22.2 232
+RMD160 b0f3109f2e482fae7cdee578ee55e7b108ec32a4 files/digest-puppet-0.22.2 232
+SHA256 f83b1a433d77ba07b136af1c2457ffe60fd8729ac5521e80874a3c3e510de71f files/digest-puppet-0.22.2 232
--- /dev/null
+MD5 470581376bb1b6f7aaed666dc144bd12 puppet-0.22.2.tgz 627039
+RMD160 199d058b9622bc964a720c4d939e1c8376b5d140 puppet-0.22.2.tgz 627039
+SHA256 3361c5779cecb52673953e58e19e1c1e13a0ec386a4980469792dd3de9417fca puppet-0.22.2.tgz 627039
--- /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.2.ebuild,v 1.1 2007/03/20 13:02:55 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
+}
+
+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."
+}