Skip to content
Browse files

chefdk upgrade

  • Loading branch information...
1 parent bc614b5 commit 34f104c1feeb4a46743c4d0ad052fe61acbb9e33 @tmacedo committed Apr 14, 2016
Showing with 43 additions and 0 deletions.
  1. +2 −0 app-admin/chefdk-omnibus/Manifest
  2. +41 −0 app-admin/chefdk-omnibus/chefdk-omnibus-0.12.0.ebuild
View
2 app-admin/chefdk-omnibus/Manifest
@@ -1,2 +1,4 @@
+DIST chefdk_0.12.0-1_amd64.deb 179652158 SHA256 6fcb4529f99c212241c45a3e1d024cc1519f5b63e53fc1194b5276f1d8695aaa SHA512 8237e73984dfb66a8a03ca6346209018738321377fae6a946ffaa5cf6bf7bd4d4a8de959da60a443dae95499fa4d3a0e3ee44059fcda36fd2b2f59d35e90d77d WHIRLPOOL 149489235b81e3367493e5b765fd195d31117da4fdc9d5b9fe87699c65c848e12280e96f8c989812389201f6602e22d47f1fc913d44b749ad3f8b9b6cf2cc7b9
DIST chefdk_0.4.0-1_amd64.deb 138265262 SHA256 e135c0719fc80fc7b95560e90839103167308a45d4927cf8da9c22bdc385cc7d SHA512 88ea6e270178317864cc6d6407f8c2323bcf676f90456880552aad3676a67bc4fdf01b59b15988c50554d95b2cc4f08a94f0faf993cad7416abb270d71130e7d WHIRLPOOL c288d5ede87e2444e2cc465c6bcb785a58c780d5468ea00de60942fbedb57352c6f93c2487913ba0a7c9a9808129ce45a76b61781e487a9085f7d6fc3f09cbde
+EBUILD chefdk-omnibus-0.12.0.ebuild 1312 SHA256 ef8ee01d3d76c2bbb698912b6fa87e664f5aa86c2f6349ca6fd00ed4642ca7ec SHA512 5365feab16c04c92b8f2394d105d95db349369d5710eda1a749c95810ef7c4513d216f85fceda01cbc0c1f664e825f13ed434ff5d236c225e931c7693b757b2a WHIRLPOOL 5cf4b755d00f301176a2ceb2f63e3fd331b3c7be6af41739a7a262f1bc36576121dc3f7543616eb4c9ea558db8cb4d56a45b04491ecd713f698aff1b9c070fac
EBUILD chefdk-omnibus-0.4.0.ebuild 1312 SHA256 29fcb57080650b40d8a0efd8344c476d84348c7064a770849be960423c2d906a SHA512 aeab8546145a7e74cb7713168dd15cbef604cf5ebe95cc25aedaed5f3096f3f989b9f5f15aeb711b83bcbbfb5f44b56dd8d9d232617f406f77e634a4d8e2edcb WHIRLPOOL fb99faa5a733ea0ff3b2a49842fee3bfaeb6321c793b642b420521489fcc074c94a24cccf68f742737ee2be7092894a26bf328966dd966aff1526fa33af64628
View
41 app-admin/chefdk-omnibus/chefdk-omnibus-0.12.0.ebuild
@@ -0,0 +1,41 @@
+# Blatently stolen from https://github.com/lxmx/gentoo-overlay
+
+EAPI="4"
+
+DESCRIPTION="Omnibus installation of ChefDK"
+HOMEPAGE="http://www.opscode.com/chefdk/install/"
+SRC_URI="http://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chefdk_${PV}-1_amd64.deb"
+
+LICENSE="Apache"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ unpack ${A} ./data.tar.gz
+}
+
+src_install() {
+ local dest="${D}/opt"
+ mkdir -p "$dest"
+
+ cp -pR ./opt/* "$dest"
+
+ dosym "$dest/chefdk/bin/chef-client" /usr/bin/chef-client || die
+ dosym "$dest/chefdk/bin/chef-solo" /usr/bin/chef-solo || die
+ dosym "$dest/chefdk/bin/chef-apply" /usr/bin/chef-apply || die
+ dosym "$dest/chefdk/bin/chef-shell" /usr/bin/chef-shell || die
+ dosym "$dest/chefdk/bin/chef-vault" /usr/bin/chef-vault || die
+ dosym "$dest/chefdk/bin/chef" /usr/bin/chef || die
+ dosym "$dest/chefdk/bin/knife" /usr/bin/knife || die
+ dosym "$dest/chefdk/bin/shef" /usr/bin/shef || die
+ dosym "$dest/chefdk/bin/ohai" /usr/bin/ohai || die
+ dosym "$dest/chefdk/bin/kitchen" /usr/bin/kitchen || die
+ dosym "$dest/chefdk/bin/berks" /usr/bin/berks || die
+ dosym "$dest/chefdk/bin/foodcritic" /usr/bin/foodcritic || die
+}

0 comments on commit 34f104c

Please sign in to comment.
Something went wrong with that request. Please try again.