diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-10-06 16:30:22 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-10-06 16:30:22 +0000 |
commit | ef123f7687264cc585ec68adaf9e617dd02c5aa2 (patch) | |
tree | 99cb11d17380596859a8761043e6695dc8c4078a /app-admin/puppet | |
parent | Drop old. (diff) | |
download | historical-ef123f7687264cc585ec68adaf9e617dd02c5aa2.tar.gz historical-ef123f7687264cc585ec68adaf9e617dd02c5aa2.tar.bz2 historical-ef123f7687264cc585ec68adaf9e617dd02c5aa2.zip |
Added /etc/openldap/schema/puppet.schema, bug #239433.
Removed PUPPETMASTER_MANIFEST FROM /etc/init.d/puppetmaster, bug #240266.
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64
Diffstat (limited to 'app-admin/puppet')
-rw-r--r-- | app-admin/puppet/ChangeLog | 11 | ||||
-rw-r--r-- | app-admin/puppet/Manifest | 8 | ||||
-rw-r--r-- | app-admin/puppet/files/puppetmaster.confd | 9 | ||||
-rwxr-xr-x | app-admin/puppet/files/puppetmaster.init | 10 | ||||
-rw-r--r-- | app-admin/puppet/puppet-0.24.5-r1.ebuild | 119 | ||||
-rw-r--r-- | app-admin/puppet/puppet-0.24.5-r4.ebuild (renamed from app-admin/puppet/puppet-0.24.5-r2.ebuild) | 31 |
6 files changed, 47 insertions, 141 deletions
diff --git a/app-admin/puppet/ChangeLog b/app-admin/puppet/ChangeLog index fcacd96d27f5..6533138892da 100644 --- a/app-admin/puppet/ChangeLog +++ b/app-admin/puppet/ChangeLog @@ -1,6 +1,15 @@ # 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.26 2008/10/02 17:06:06 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/ChangeLog,v 1.27 2008/10/06 16:30:22 matsuu Exp $ + +*puppet-0.24.5-r4 (06 Oct 2008) + + 06 Oct 2008; MATSUU Takuto <matsuu@gentoo.org> +files/puppetmaster.confd, + files/puppetmaster.init, -puppet-0.24.5-r1.ebuild, + -puppet-0.24.5-r2.ebuild, +puppet-0.24.5-r4.ebuild: + Added /etc/openldap/schema/puppet.schema, bug #239433. Removed + PUPPETMASTER_MANIFEST FROM /etc/init.d/puppetmaster, bug #240266. Removed + old versions. *puppet-0.24.5-r3 (02 Oct 2008) diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest index e082faf9d03a..1146905f947c 100644 --- a/app-admin/puppet/Manifest +++ b/app-admin/puppet/Manifest @@ -3,12 +3,12 @@ AUX puppet-0.24.2-gentoo.patch 628 RMD160 9149d2b68a82a87dc4bcdae3ef5608ca0f1529 AUX puppet-0.24.4-openrc_initd.patch 624 RMD160 1cc74a411a961f13e752fb2f05a21f102118e220 SHA1 3fa676dd62d7e7efffbd1888effe6b19d18b3d95 SHA256 c723c1f2bb56e6013b8d4deeba0ce73c7c798508d4425dbd18a280719babeb0b AUX puppet-0.24.5-eix-0.14.0.patch 1285 RMD160 a5d3894afb3f026e0f44a3bfbcab3d9157f52b7c SHA1 f072684527a9b6b30e7c8fb7dd7d833a58d33a9c SHA256 59c71450f000175c1c11c8844ce837c643ea039ecd0b4545b38a1b50634a0dbd AUX puppet.init 880 RMD160 00f774cb8ca7cc9b6da2cd601c44101ed6a0826b SHA1 1affb19d499d5da3453c8389d9b620cfb2db42f4 SHA256 2f4bd61d9e6beba8c562cc9bee5f22b7a766f37453452391e02174ade043b7e5 -AUX puppetmaster.init 1438 RMD160 5063b085b3325f1143f80305e46da62995928d56 SHA1 5851e5d6b1b289c286f9cdabc3ef996175676372 SHA256 901a603d5e9abe1e6119ecad700615b5022b44961441951e1f5ba726111926fd +AUX puppetmaster.confd 279 RMD160 64824fc2c88d9069b25d0548fac5981f1ff4fa6b SHA1 d521616310e7a27986c27138bd4d4382238d609a SHA256 6db68d9e093d3d231c8ad35968e8d276f68cdd7aec8577b3f7ac2998d1f91692 +AUX puppetmaster.init 998 RMD160 ec2c12e660a8c45bece1d7ac68012a78b3c43188 SHA1 aa99eacf98930df81a8b1293f2a2fff980f49dac SHA256 7c8fd128e97cd282ff44dd09f82dc3a637cf07f014faf544b9f02aa5e566c915 DIST puppet-0.24.4.tgz 652572 RMD160 e675d27216dfeb3717c8140d3c89625e6be351e9 SHA1 e79671d8765e08df93c6a4c76b198467c3e13a7a SHA256 0d54f6db7cf1210d123264bcb35b07b36837ebc12a4f2bd01aee6127836adfb9 DIST puppet-0.24.5.tgz 872803 RMD160 be85ce18ce6a56939eaf83c60cc55d1c5134ef36 SHA1 fe3d63bf30169eb6ec2b30e43d489a51bb36d090 SHA256 0b5ff82b06699a5d10b2ee6e995f427b76540cc0e67ffa8243ee6fc03d8e641d EBUILD puppet-0.24.4.ebuild 3269 RMD160 1e94112b41772cf206799ac18e46a55fa4bd616c SHA1 f213a6b927f9daefc0b2e8f0b5dc9dbe5ecd69a5 SHA256 177b3d1c9613c42eae6966119c13e7ea71ccb849dd1c6730339fa4f8d60efbc1 -EBUILD puppet-0.24.5-r1.ebuild 3229 RMD160 66b9bfc732908fcac806a7b92f82a959d0d4c179 SHA1 5a2d083f1f4301f78714d32252bb80db3d104639 SHA256 a955b77b0a328051b278e171bcd3702cfd8c87dfd5f11bf4ebe89c1818e214e8 -EBUILD puppet-0.24.5-r2.ebuild 3461 RMD160 e9d623db5a3d1c14c0b600c215b9d7b47ae3f8a5 SHA1 baa3b47bb4bf534a4467e621fa35da42f2eff366 SHA256 19842ccc4ee44bae200ff42deff843e8ccd7b0cc0c48bd525b889f04b1da4336 EBUILD puppet-0.24.5-r3.ebuild 3722 RMD160 d6edd50fe210598d685fdb5970f00903a0feb35f SHA1 9bd9f11e875864f574ca4a7add63013669ca26ff SHA256 229a904d0b5a464217b3fd25f710db754884f641c774900b1f01871946732847 -MISC ChangeLog 4940 RMD160 25238719170c1d09a7d678d11f4143341bdcada9 SHA1 d8243671ece628acd15aa1da46defe9ca593cae1 SHA256 a2eccbd676f12b5ffeecfec870dcbe026160efe5a345717077455aa0b862bcf4 +EBUILD puppet-0.24.5-r4.ebuild 3913 RMD160 f99498d4ad1d37f67a855dd2ae6b19daaf07fe21 SHA1 980876c89613d2726cfc0355b2d55319724f2838 SHA256 808e78a01447ce77e2ff630ce7bf0ef271ec9a4dd018bf20e948e974dcd895a9 +MISC ChangeLog 5314 RMD160 194b89043985ee52a143dadabf54fcdb59fe2b72 SHA1 ea1b48e785a97611492a3ca9aa58fa3a246c2f07 SHA256 da8e9f3fb4b39c80b4e8d5961b023ac2118c78e66ed8ae1a07db579dc4dc0b00 MISC metadata.xml 1002 RMD160 172f4fc2883017a49b71d7e48c558bbc6c54770b SHA1 0386fcc01ff39593cf1755051a3d1283e6b4f2b7 SHA256 eb49ad59455c53c1666eeca292c0670b399968f9e10e9017b88f1e206098f8a5 diff --git a/app-admin/puppet/files/puppetmaster.confd b/app-admin/puppet/files/puppetmaster.confd new file mode 100644 index 000000000000..812967e80158 --- /dev/null +++ b/app-admin/puppet/files/puppetmaster.confd @@ -0,0 +1,9 @@ +# Location of PID files +PUPPETMASTER_PID_DIR="/var/run/puppet" + +# Where to log general messages to. +# Specify syslog to send log messages to the system log. +#PUPPETMASTER_LOG="syslog" + +# You may specify other parameters to the puppetmaster here +#PUPPETMASTER_EXTRA_OPTS="--noca" diff --git a/app-admin/puppet/files/puppetmaster.init b/app-admin/puppet/files/puppetmaster.init index 992a47e9dc6e..200ab9ecb3e2 100755 --- a/app-admin/puppet/files/puppetmaster.init +++ b/app-admin/puppet/files/puppetmaster.init @@ -15,14 +15,6 @@ checkconfig() { return 1 fi - local site_manifest="/etc/puppet/manifests/site.pp" - [ -n "${PUPPETMASTER_MANIFEST}" ] && site_manifest="${PUPPETMASTER_MANIFEST}" - - if [ ! -f "${site_manifest}" ] ; then - eerror "Please create ${site_manifest} before running puppet" - return 1 - fi - return 0 } @@ -30,8 +22,6 @@ start() { checkconfig || return $? local options="" - [ -n "${PUPPETMASTER_MANIFEST}" ] && options="${options} --manifest=${PUPPETMASTER_MANIFEST}" - [ -n "${PUPPETMASTER_LOG}" ] && options="${options} --logdest=${PUPPETMASTER_LOG}" [ -n "${PUPPETMASTER_EXTRA_OPTS}" ] && options="${options} ${PUPPETMASTER_EXTRA_OPTS}" ebegin "Starting puppetmaster" diff --git a/app-admin/puppet/puppet-0.24.5-r1.ebuild b/app-admin/puppet/puppet-0.24.5-r1.ebuild deleted file mode 100644 index 3991fd57f470..000000000000 --- a/app-admin/puppet/puppet-0.24.5-r1.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# 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.5-r1.ebuild,v 1.2 2008/09/15 00:35:23 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="~amd64 ~ppc ~sparc ~x86" - -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 - enewuser puppet -1 -1 /var/lib/puppet 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 - - # - # bug #237071 - # - #doinitd conf/gentoo/init.d/puppetmaster - newinitd "${FILESDIR}"/puppetmaster.init puppetmaster - doconfd conf/gentoo/conf.d/puppetmaster - #doinitd conf/gentoo/init.d/puppet - newinitd "${FILESDIR}"/puppet.init 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 -} diff --git a/app-admin/puppet/puppet-0.24.5-r2.ebuild b/app-admin/puppet/puppet-0.24.5-r4.ebuild index ed200019b3f0..51dcf75455fa 100644 --- a/app-admin/puppet/puppet-0.24.5-r2.ebuild +++ b/app-admin/puppet/puppet-0.24.5-r4.ebuild @@ -1,6 +1,6 @@ # 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.5-r2.ebuild,v 1.2 2008/09/27 10:40:26 bluebird Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-0.24.5-r4.ebuild,v 1.1 2008/10/06 16:30:22 matsuu Exp $ inherit elisp-common eutils ruby @@ -11,15 +11,19 @@ SRC_URI="http://reductivelabs.com/downloads/${PN}/${P}.tgz" LICENSE="GPL-2" SLOT="0" IUSE="emacs ldap rrdtool vim-syntax" -#KEYWORDS="~amd64 ~ppc ~sparc ~x86" -KEYWORDS="~amd64 ~sparc ~x86" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" DEPEND="emacs? ( virtual/emacs ) >=dev-ruby/facter-1.1.0" RDEPEND="${DEPEND} >=app-portage/eix-0.9.4 ldap? ( dev-ruby/ruby-ldap ) - rrdtool? ( dev-ruby/ruby-rrd )" + rrdtool? ( + || ( + >=net-analyzer/rrdtool-1.2.23 + dev-ruby/ruby-rrd + ) + )" # || ( # www-servers/webrick # www-servers/mongrel @@ -36,6 +40,13 @@ pkg_setup() { built_with_use virtual/ruby ipv6 || \ die "Ruby must be built with ipv6 support, otherwise puppet will not be able to run" + if use rrdtool && \ + has_version '>=net-analyzer/rrdtool-1.2.23' && \ + ! built_with_use '>=net-analyzer/rrdtool-1.2.23' ruby + then + die "net-analyzer/rrdtool must be built with ruby USE flag." + fi + enewgroup puppet enewuser puppet -1 -1 /var/lib/puppet puppet } @@ -45,6 +56,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}/${PN}-0.24.2-gentoo.patch" + epatch "${FILESDIR}/${P}-eix-0.14.0.patch" } src_compile() { @@ -62,7 +74,8 @@ src_install() { # #doinitd conf/gentoo/init.d/puppetmaster newinitd "${FILESDIR}"/puppetmaster.init puppetmaster - doconfd conf/gentoo/conf.d/puppetmaster + #doconfd conf/gentoo/conf.d/puppetmaster + newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster #doinitd conf/gentoo/init.d/puppet newinitd "${FILESDIR}"/puppet.init puppet doconfd conf/gentoo/conf.d/puppet @@ -84,6 +97,10 @@ src_install() { elisp-site-file-install "${FILESDIR}/${SITEFILE}" fi + if use ldap ; then + insinto /etc/openldap/schema; doins ext/ldap/puppet.schema + 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 @@ -91,9 +108,9 @@ src_install() { # ext and examples files for f in $(find ext examples -type f) ; do - docinto $(dirname ${f}) - dodoc ${f} + docinto "$(dirname ${f})"; dodoc "${f}" done + docinto conf; dodoc conf/namespaceauth.conf } pkg_postinst() { |