diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-04-03 16:30:02 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-04-03 16:30:02 +0000 |
commit | be249d90149bcef70985533acb141f5386d25224 (patch) | |
tree | 9f5edefce27c03130bfa6cc707e4dc0c53455052 /app-admin | |
parent | bump (diff) | |
download | historical-be249d90149bcef70985533acb141f5386d25224.tar.gz historical-be249d90149bcef70985533acb141f5386d25224.tar.bz2 historical-be249d90149bcef70985533acb141f5386d25224.zip |
Version bumped, bug #215425.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/puppet/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/puppet/Manifest | 4 | ||||
-rw-r--r-- | app-admin/puppet/puppet-0.24.4.ebuild | 117 |
3 files changed, 126 insertions, 2 deletions
diff --git a/app-admin/puppet/ChangeLog b/app-admin/puppet/ChangeLog index 0f61dcd79b80..849d5426ed5a 100644 --- a/app-admin/puppet/ChangeLog +++ b/app-admin/puppet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/puppet # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.12 2008/03/20 22:48:42 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.13 2008/04/03 16:30:02 matsuu Exp $ + +*puppet-0.24.4 (03 Apr 2008) + + 03 Apr 2008; MATSUU Takuto <matsuu@gentoo.org> +puppet-0.24.4.ebuild: + Version bumped, bug #215425. *puppet-0.24.3 (20 Mar 2008) diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest index 840d0470eba4..1f8944247884 100644 --- a/app-admin/puppet/Manifest +++ b/app-admin/puppet/Manifest @@ -7,8 +7,10 @@ AUX puppetmaster.init 1373 RMD160 b93140bf89a0bd179719c393087325db7fa3f822 SHA1 DIST puppet-0.23.2.tgz 698593 RMD160 bbc88da5a15ac65c05c103b123680515aadec6b5 SHA1 682e97473a80ebc29ea1c75966b26a1a3e95618d SHA256 eb80e4d4adeb174c2ec5198f73d581f9a77cb07a2cae15114b9b11b13021bfa8 DIST puppet-0.24.1.tgz 678506 RMD160 7d52e6659a1acc4251a8fc4fc5ea37df2961f2c2 SHA1 0f9e128f9dbe3cac3a641017cfeb30c77cb1a208 SHA256 5ed1dc3da91124f3c1e701c9727ee7bb7747e8abcc612bc47c808015a0f3bba6 DIST puppet-0.24.3.tgz 648742 RMD160 cfb7fba62e0e657ee5f13fbdd815dea1c8ec82d0 SHA1 b5f238bbe47f02c0e23dae6dbe4da785e563f1f1 SHA256 7e194752493bd82924d1d42533e2258a8a4bdc6728f6e452a9b73c8fda7f9de3 +DIST puppet-0.24.4.tgz 652572 RMD160 e675d27216dfeb3717c8140d3c89625e6be351e9 SHA1 e79671d8765e08df93c6a4c76b198467c3e13a7a SHA256 0d54f6db7cf1210d123264bcb35b07b36837ebc12a4f2bd01aee6127836adfb9 EBUILD puppet-0.23.2-r1.ebuild 3082 RMD160 bc582501288f923a3d43bdbe8b07ee4ded92ad9e SHA1 473af40fd990bbf71ec0225e68b4558c971552ec SHA256 63b4f07cd206e2393b87de7d8255fb066140eea1e05f5ccd527eac8a22c2c5e0 EBUILD puppet-0.24.1-r1.ebuild 3256 RMD160 35622336f22f8fcc7206bfe6699d0fe18c4e2cfb SHA1 47c555ab756b790e442fdecaba8cc203503212ba SHA256 181da2ea1a866ebcf6ece814b94701a0e3cc0c53fca96aa6e99fa87a9240259c EBUILD puppet-0.24.3.ebuild 3291 RMD160 3adbc4abc6e8695d7dedfbbf29cbd847577117b4 SHA1 3bdca2aadc70529251d03bc6f78e1d1c7903232b SHA256 721fe5cd114c353d84977a0300345f96d40078ebf8e45cf2b2e5bc1233fe8d06 -MISC ChangeLog 2622 RMD160 1f97a29ae2b89cfd4e6e7f936c4eb4c568fc0a06 SHA1 d65380c120ea64b9712c110b5434afee304adb53 SHA256 8e69d2db457f50db767d1cac95f46e81805a366db1449337be802c158af71960 +EBUILD puppet-0.24.4.ebuild 3291 RMD160 a002113cb7abc3c5591e6af82d70be1ceae45850 SHA1 c83c9100e249d2c3cf28b7c60a486310110dd5c0 SHA256 8afabb0d97c670c61374323866648cb50a9b13144fd20fbdbeb019355a643d50 +MISC ChangeLog 2756 RMD160 9f99a06a6aa3a5d38adc3fa59278cad42c973189 SHA1 d30e389ba6540aaca2b8d830b37e4ebf5d972ab0 SHA256 e1182ec8de14d2198a061748e142f6f9a817f7dced04a9a044dffd286b3244ba MISC metadata.xml 222 RMD160 23efe87c16ebc9fbeb91e894ab372cc3bb66bc49 SHA1 a5d1e2317ae207bbd664aebe986687948fdd984a SHA256 38ef3457fd14e6872985f0e100fde79d0b8a9dbc4fc39ceef780c8c5abc5f337 diff --git a/app-admin/puppet/puppet-0.24.4.ebuild b/app-admin/puppet/puppet-0.24.4.ebuild new file mode 100644 index 000000000000..82b755956145 --- /dev/null +++ b/app-admin/puppet/puppet-0.24.4.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-0.24.4.ebuild,v 1.1 2008/04/03 16:30:02 matsuu Exp $ + +inherit elisp-common eutils ruby + +DESCRIPTION="A system automation and configuration management software" +HOMEPAGE="http://reductivelabs.com/projects/puppet/index.html" +SRC_URI="http://reductivelabs.com/downloads/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="emacs vim-syntax" +KEYWORDS="~x86 ~amd64" + +DEPEND="emacs? ( virtual/emacs )" +RDEPEND="${DEPEND} + >=dev-ruby/facter-1.3.5 + >=app-portage/eix-0.9.4" + +USE_RUBY="ruby18" + +SITEFILE="50${PN}-mode-gentoo.el" + +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_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PN}-0.24.2-gentoo.patch +} + +src_compile() { + if use emacs ; then + elisp-compile ext/emacs/puppet-mode.el || die "elisp-compile failed" + fi +} + +src_install() { + DESTDIR="${D}" ruby_einstall "$@" || die + DESTDIR="${D}" erubydoc + + # Installation of init scripts and configuration + # bug #211910 + #doinitd conf/gentoo/init.d/puppetmaster + newinitd "${FILESDIR}"/puppetmaster.init puppetmaster + doconfd conf/gentoo/conf.d/puppetmaster + doinitd conf/gentoo/init.d/puppet + doconfd conf/gentoo/conf.d/puppet + + # Initial configuration files + keepdir /etc/puppet/manifests + insinto /etc/puppet + doins conf/gentoo/puppet/* + + # Location of log and data files + keepdir /var/run/puppet + keepdir /var/log/puppet + keepdir /var/lib/puppet/ssl + keepdir /var/lib/puppet/files + fowners -R puppet:puppet /var/{run,log,lib}/puppet + + if use emacs ; then + elisp-install ${PN} ext/emacs/puppet-mode.el* || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + + if use vim-syntax ; then + insinto /usr/share/vim/vimfiles/syntax; doins ext/vim/syntax/puppet.vim + insinto /usr/share/vim/vimfiles/ftdetect; doins ext/vim/ftdetect/puppet.vim + fi + + # ext and examples files + for f in $(find ext examples -type f) ; do + docinto $(dirname ${f}) + dodoc ${f} + done +} + +pkg_postinst() { + elog + elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" + elog "cause puppet to hang while installing packages." + elog + elog "Puppet uses eix to get information about currently installed packages," + elog "so please keep the eix metadata cache updated so puppet is able to properly" + elog "handle package installations." + elog + elog "Currently puppet only supports adding and removing services to the default" + elog "runlevel, if you want to add/remove a service from another runlevel you may" + elog "do so using symlinking." + elog + + if [ \ + -f "${ROOT}/etc/puppet/puppetd.conf" -o \ + -f "${ROOT}/etc/puppet/puppetmaster.conf" -o \ + -f "${ROOT}/etc/puppet/puppetca.conf" \ + ] ; then + elog + elog "Please remove deprecated config files." + elog " /etc/puppet/puppetca.conf" + elog " /etc/puppet/puppetd.conf" + elog " /etc/puppet/puppetmasterd.conf" + elog + fi + use emacs && elisp-site-regen +} +pkg_postrm() { + use emacs && elisp-site-regen +} |