summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/puppet/ChangeLog11
-rw-r--r--app-admin/puppet/Manifest16
-rw-r--r--app-admin/puppet/files/digest-puppet-0.22.13
-rw-r--r--app-admin/puppet/metadata.xml8
-rw-r--r--app-admin/puppet/puppet-0.22.1.ebuild66
5 files changed, 104 insertions, 0 deletions
diff --git a/app-admin/puppet/ChangeLog b/app-admin/puppet/ChangeLog
new file mode 100644
index 000000000000..bde9bc58fbc7
--- /dev/null
+++ b/app-admin/puppet/ChangeLog
@@ -0,0 +1,11 @@
+# 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
+
diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest
new file mode 100644
index 000000000000..0a4af0c354ec
--- /dev/null
+++ b/app-admin/puppet/Manifest
@@ -0,0 +1,16 @@
+DIST puppet-0.22.1.tgz 543926 RMD160 12d9f5f14c7b9700bfe04c652c63c0daff00a013 SHA1 94e5683d206a20ec4dc02ad875699d8b0b12d2dc SHA256 c107c3e99b0371f67803c63f9b7c77947fed4fe74782494c9d392ae01fd5bcfe
+EBUILD puppet-0.22.1.ebuild 2077 RMD160 684d5459c8b40838d86b210de0a48a7fafbe5b1b SHA1 e4aa6accbef2acf0cd12a5b5b65fab59a3fa89c2 SHA256 1635463b562013546cea72c58bb094b4aba0d50e7ce1c40703dd16f9e97ebb73
+MD5 ad3afd1926be7e8569f483cb40f010db puppet-0.22.1.ebuild 2077
+RMD160 684d5459c8b40838d86b210de0a48a7fafbe5b1b puppet-0.22.1.ebuild 2077
+SHA256 1635463b562013546cea72c58bb094b4aba0d50e7ce1c40703dd16f9e97ebb73 puppet-0.22.1.ebuild 2077
+MISC ChangeLog 340 RMD160 597be427f8a5b71f735b815d606e75995a5ffa17 SHA1 5604631d5ad5459b19959e7e1577c88bdcdb0a65 SHA256 fcb371bdd55b9a53752bfc9a8ff01cd40f44417e8e4a0e4b6dab07150dd7f8c4
+MD5 959d2ad6a3424c65257db781e99084c0 ChangeLog 340
+RMD160 597be427f8a5b71f735b815d606e75995a5ffa17 ChangeLog 340
+SHA256 fcb371bdd55b9a53752bfc9a8ff01cd40f44417e8e4a0e4b6dab07150dd7f8c4 ChangeLog 340
+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
diff --git a/app-admin/puppet/files/digest-puppet-0.22.1 b/app-admin/puppet/files/digest-puppet-0.22.1
new file mode 100644
index 000000000000..2f6c993cfebc
--- /dev/null
+++ b/app-admin/puppet/files/digest-puppet-0.22.1
@@ -0,0 +1,3 @@
+MD5 ce1ce40b5dda8c2068aa8c804f0617bf puppet-0.22.1.tgz 543926
+RMD160 12d9f5f14c7b9700bfe04c652c63c0daff00a013 puppet-0.22.1.tgz 543926
+SHA256 c107c3e99b0371f67803c63f9b7c77947fed4fe74782494c9d392ae01fd5bcfe puppet-0.22.1.tgz 543926
diff --git a/app-admin/puppet/metadata.xml b/app-admin/puppet/metadata.xml
new file mode 100644
index 000000000000..d7784f57b44b
--- /dev/null
+++ b/app-admin/puppet/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>nakano@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-admin/puppet/puppet-0.22.1.ebuild b/app-admin/puppet/puppet-0.22.1.ebuild
new file mode 100644
index 000000000000..942ca537b6b9
--- /dev/null
+++ b/app-admin/puppet/puppet-0.22.1.ebuild
@@ -0,0 +1,66 @@
+# 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."
+}