diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2012-09-09 08:59:42 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2012-09-09 08:59:42 +0000 |
commit | db27b71eddc8bedba7ecf481f64236050a28c521 (patch) | |
tree | b535a957b78bde7d04af986d8822f2e87035b0fd /app-admin/ansible | |
parent | Use slot dependencies from now on. (diff) | |
download | historical-db27b71eddc8bedba7ecf481f64236050a28c521.tar.gz historical-db27b71eddc8bedba7ecf481f64236050a28c521.tar.bz2 historical-db27b71eddc8bedba7ecf481f64236050a28c521.zip |
Initial commit, fixes bug #434104. Ebuilds by Krzysztof Tomczyk and Georgy Kovtunov. The latter will be maintainer by proxy
Package-Manager: portage-2.2.0_alpha124/cvs/Linux x86_64
Diffstat (limited to 'app-admin/ansible')
-rw-r--r-- | app-admin/ansible/ChangeLog | 12 | ||||
-rw-r--r-- | app-admin/ansible/Manifest | 6 | ||||
-rw-r--r-- | app-admin/ansible/ansible-0.7.ebuild | 60 | ||||
-rw-r--r-- | app-admin/ansible/ansible-9999.ebuild | 77 | ||||
-rw-r--r-- | app-admin/ansible/files/ansible.env | 2 | ||||
-rw-r--r-- | app-admin/ansible/metadata.xml | 19 |
6 files changed, 176 insertions, 0 deletions
diff --git a/app-admin/ansible/ChangeLog b/app-admin/ansible/ChangeLog new file mode 100644 index 000000000000..9a1e536f2f74 --- /dev/null +++ b/app-admin/ansible/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for app-admin/ansible +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ChangeLog,v 1.1 2012/09/09 08:59:42 pinkbyte Exp $ + +*ansible-9999 (09 Sep 2012) +*ansible-0.7 (09 Sep 2012) + + 09 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> +ansible-0.7.ebuild, + +ansible-9999.ebuild, +files/ansible.env, +metadata.xml: + Initial commit, fixes bug #434104. Ebuilds by Krzysztof Tomczyk and Georgy + Kovtunov. The latter will be maintainer by proxy + diff --git a/app-admin/ansible/Manifest b/app-admin/ansible/Manifest new file mode 100644 index 000000000000..c5c1553971ef --- /dev/null +++ b/app-admin/ansible/Manifest @@ -0,0 +1,6 @@ +AUX ansible.env 99 SHA256 04a806ca12249b1b1387e17cabd85c8b09bac64914650d7a776576153e32591f SHA512 79d0d6581116ede67d6b184d1a16c2ba6586d4ca8cd71047bc5a81a82696b0e1a124f22248877aefc0a810f0ae3bd2724dadaf71dd5078bbe0910a9e8c3ab111 WHIRLPOOL f347143d490cf1dd6784059022fb7c6c85eaa5e957b6b5eb85f6b1b8a98d1b90c26aa0602fe2cd6679c4709fb9dad2fa67bc53326bfca80205cb7b7ded757c90 +DIST ansible-0.7.tar.gz 120774 SHA256 2ca0dd70a23f5c111effe5ceffad0844107fa9fe7f0f2ab085437d1beb6de4fc SHA512 3fd0ab7f21e0aa112301f54bf96c7f5e93563e5cae247b8a7a8a4351bad37c7969af58bbd9614535a6a04c6fa2414455cc7d93b63d1301c8cf4644d746503dcc WHIRLPOOL 721e7da0586fd39e18e596e97ac2ddd28f04617212eadcea271c1a03fb6bfb0df410769e0c2771423a2cb74eb1d67b7366539cc0a833d0fab2aa698d805add6a +EBUILD ansible-0.7.ebuild 1446 SHA256 a8f9ae7629cc80ff715d5bcdd7a29823e32b2efad73adeaa41105dc618fab9f4 SHA512 6efdd00c67df98f518adf43bac72c0b7b3aec39c9356ea5ebe277e2fce504810beaded522012a4e9d134d26801266e28a4023d356d488a63317d8416c4567a47 WHIRLPOOL b5f37b1c17564fdb4294d7381d909d719760ea983d63bd57bd3c1cec6074828a84f3be65b0c8bae0e5b759675e7713a0789427f4da5078c2e6a6f98fc9603d07 +EBUILD ansible-9999.ebuild 1735 SHA256 c37e4d3f5d1a7b2b2cb84d4413d099f4e78af7bc4965b423818d33a92add1814 SHA512 92416bd23b078278498ffd64b2969b61d234d70e4b0b4e2d3f0fc53ec30a64343e7b4b72380019f63fc0563bc585ff70d4a4269223613ac21709d29b408fd93b WHIRLPOOL 096e49edfdc36ab2192b230af107faef0cfbd6206724185f55356f4ab28e411f0e08ae7aa59f302cee3783564487b457c19423192aafdf4f77c214af277c0646 +MISC ChangeLog 524 SHA256 efff1f8e9140b913cb48d2ee7a1ee9f42a30f7f30724a0cce47633255b0fa6fb SHA512 d7458a2c38b4bb120696b4da9ddf95200b4f187bbe1ec503fce817421499cd193f782a58f09d099caed7b1481fadb75a47c8d592e799160ccad7cbb6bd9bd933 WHIRLPOOL 4ffe1ff4b3b5c47158a4e16878a52cf033a79bca9f0f6d3edef223f8312ab341df10d6c07513778362f07ec3871907c2669e1373fba520d86edf0ccbfd4ee18f +MISC metadata.xml 765 SHA256 c173b84990b0d45ad295d02d2ee044604bb8b189dd0e2c9951bf9884172eaa96 SHA512 084eaa7f99d90e2f369521b9b6ccdea56ef1d8c9fec9e6d8d58d68e84f65f5e058bc188ad7afb198d65afb55c71dced78f4f77a22e0e71b54a7c7983a59eb4eb WHIRLPOOL e3826e90e160fe4211529663e21b3533d713845e44990b1ccd19c1b6d5069eaded678a7c2c7445041c96d6df4d0021ac47b89b1c2780439b60b0dacf18abbf58 diff --git a/app-admin/ansible/ansible-0.7.ebuild b/app-admin/ansible/ansible-0.7.ebuild new file mode 100644 index 000000000000..a1d46097ff9c --- /dev/null +++ b/app-admin/ansible/ansible-0.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-0.7.ebuild,v 1.1 2012/09/09 08:59:42 pinkbyte Exp $ + +EAPI="4" + +PYTHON_COMPAT="python2_6 python2_7" + +inherit distutils + +DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework" +HOMEPAGE="http://ansible.github.com/" +SRC_URI="mirror://github/ansible/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-3" +SLOT="0" +IUSE="examples paramiko +sudo" + +# Stable version fails almost all quality tests +RESTRICT="test" + +DEPEND="" +RDEPEND="${DEPEND} + dev-python/jinja + dev-python/pyyaml + paramiko? ( dev-python/paramiko ) + !paramiko? ( virtual/ssh ) + sudo? ( app-admin/sudo ) +" + +src_install() { + distutils_src_install + + dodir /usr/share/ansible + insinto /usr/share/ansible + doins library/* + + doman docs/man/man1/*.1 + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${P}/examples + fi + + newenvd "${FILESDIR}"/${PN}.env 95ansible + dodir /etc/ansible + insinto /etc/ansible + doins examples/ansible.cfg examples/hosts +} + +pkg_postinst() { + distutils_pkg_postinst + + einfo "You have to create hosts file for user:" + einfo " echo \"127.0.0.1\" > ~/ansible_hosts" + einfo "or global:" + einfo " echo \"127.0.0.1\" > /etc/ansible/hosts" + einfo "" + einfo "More info on http://ansible.github.com/gettingstarted.html" +} diff --git a/app-admin/ansible/ansible-9999.ebuild b/app-admin/ansible/ansible-9999.ebuild new file mode 100644 index 000000000000..b5f942f35628 --- /dev/null +++ b/app-admin/ansible/ansible-9999.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-9999.ebuild,v 1.1 2012/09/09 08:59:42 pinkbyte Exp $ + +EAPI="4" + +PYTHON_COMPAT="python2_6 python2_7" + +EGIT_REPO_URI="git://github.com/ansible/ansible.git" +EGIT_BRANCH="devel" + +inherit distutils git-2 + +DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework" +HOMEPAGE="http://ansible.github.com/" +SRC_URI="" + +KEYWORDS="" +LICENSE="GPL-3" +SLOT="0" +IUSE="examples paramiko +sudo test" + +DEPEND="test? ( + dev-python/nose + dev-vcs/git + ) +" +RDEPEND="dev-python/jinja + dev-python/pyyaml + paramiko? ( dev-python/paramiko ) + !paramiko? ( virtual/ssh ) + sudo? ( app-admin/sudo ) +" + +src_prepare() { + distutils_src_prepare + # Skip tests which need ssh access + sed -i 's:PYTHONPATH=./lib nosetests.*:\0 -e \\(TestPlayBook.py\\|TestRunner.py\\):' Makefile || die "sed failed" +} + +src_compile() { + distutils_src_compile + if use test; then + emake tests + fi +} + +src_install() { + distutils_src_install + + dodir /usr/share/ansible + insinto /usr/share/ansible + insopts -m0655 + doins library/* + + doman docs/man/man1/*.1 + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${P}/examples + fi + + newenvd "${FILESDIR}"/${PN}.env 95ansible + dodir /etc/ansible + insinto /etc/ansible + doins examples/ansible.cfg examples/hosts +} + +pkg_postinst() { + distutils_pkg_postinst + + einfo "You have to create hosts file for user:" + einfo " echo \"127.0.0.1\" > ~/ansible_hosts" + einfo "or global:" + einfo " echo \"127.0.0.1\" > /etc/ansible/hosts" + einfo "" + einfo "More info on http://ansible.github.com/gettingstarted.html" +} diff --git a/app-admin/ansible/files/ansible.env b/app-admin/ansible/files/ansible.env new file mode 100644 index 000000000000..9df5a2ab5a9a --- /dev/null +++ b/app-admin/ansible/files/ansible.env @@ -0,0 +1,2 @@ +# Use ssh transport by default. Comment it out if you want to use paramiko +ANSIBLE_TRANSPORT="ssh" diff --git a/app-admin/ansible/metadata.xml b/app-admin/ansible/metadata.xml new file mode 100644 index 000000000000..39166047c0e5 --- /dev/null +++ b/app-admin/ansible/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>givi-zurabovich@mail.ru</email> + <name>Georgy Kovtunov</name> + <description>Maintainer. Assign bugs to him</description> + </maintainer> + <maintainer> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + <description>Proxy maintainer. CC him on bugs</description> + </maintainer> +<longdescription lang="en">Radically simple deployment, model-driven configuration management, and command execution framework.</longdescription> +<use> +<flag name="paramiko">Use <pkg>dev-python/paramiko</pkg> as SSH library</flag> +<flag name="sudo">Use <pkg>app-admin/sudo</pkg> on client nodes</flag> +</use> +</pkgmetadata> |