diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2011-07-25 09:06:18 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2011-07-25 09:06:18 +0000 |
commit | 0bb6600e4fa51f4ee4ab695680457f079606747f (patch) | |
tree | 4219e06900b8089f351485a1c3addefd2808d096 /app-admin/chef/chef-0.10.2.ebuild | |
parent | [bump] dev-perl/XML-LibXML-1.840.0 (diff) | |
download | gentoo-2-0bb6600e4fa51f4ee4ab695680457f079606747f.tar.gz gentoo-2-0bb6600e4fa51f4ee4ab695680457f079606747f.tar.bz2 gentoo-2-0bb6600e4fa51f4ee4ab695680457f079606747f.zip |
version bump wrt #369391
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/chef/chef-0.10.2.ebuild')
-rw-r--r-- | app-admin/chef/chef-0.10.2.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/app-admin/chef/chef-0.10.2.ebuild b/app-admin/chef/chef-0.10.2.ebuild new file mode 100644 index 000000000000..e5f97a2ea94e --- /dev/null +++ b/app-admin/chef/chef-0.10.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/chef/chef-0.10.2.ebuild,v 1.1 2011/07/25 09:06:18 hollow Exp $ + +EAPI="2" +USE_RUBY="ruby18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="Chef is a systems integration framework" +HOMEPAGE="http://wiki.opscode.com/display/chef" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/bunny-0.6.0 + dev-ruby/erubis + dev-ruby/extlib + dev-ruby/highline + >=dev-ruby/json-1.4.4 + <=dev-ruby/json-1.5.2 + >=dev-ruby/mixlib-authentication-1.1.0 + >=dev-ruby/mixlib-cli-1.1.0 + >=dev-ruby/mixlib-config-1.1.2 + >=dev-ruby/mixlib-log-1.3.0 + dev-ruby/moneta + >=dev-ruby/net-ssh-2.1.3 + >=dev-ruby/net-ssh-multi-1.0.1 + >=dev-ruby/ohai-0.6.0 + >=dev-ruby/rest-client-1.0.4 + <dev-ruby/rest-client-1.7.0 + dev-ruby/ruby-shadow + >=dev-ruby/treetop-1.4.9 + dev-ruby/uuidtools" + +all_ruby_install() { + all_fakegem_install + + keepdir /etc/chef /var/lib/chef /var/log/chef /var/run/chef + + doinitd "${FILESDIR}/initd/chef-client" + doconfd "${FILESDIR}/confd/chef-client" + + insinto /etc/chef + doins "${FILESDIR}/client.rb" + doins "${FILESDIR}/solo.rb" +} + +pkg_setup() { + enewgroup chef + enewuser chef -1 -1 /var/lib/chef chef +} + +pkg_postinst() { + elog + elog "You should edit /etc/chef/client.rb before starting the service with" + elog "/etc/init.d/chef-client start" + elog +} |