[arch-commits] Commit in cloud-init/repos/community-any (4 files)
Daniel Wallace
dwallace at archlinux.org
Tue Oct 21 21:53:56 UTC 2014
Date: Tuesday, October 21, 2014 @ 23:53:56
Author: dwallace
Revision: 121172
archrelease: copy trunk to community-any
Added:
cloud-init/repos/community-any/PKGBUILD
(from rev 121171, cloud-init/trunk/PKGBUILD)
cloud-init/repos/community-any/archlinux.cloud.cfg
(from rev 121171, cloud-init/trunk/archlinux.cloud.cfg)
Deleted:
cloud-init/repos/community-any/PKGBUILD
cloud-init/repos/community-any/archlinux.cloud.cfg
---------------------+
PKGBUILD | 65 ++++++++++++++++++----------------------
archlinux.cloud.cfg | 80 +++++++++++++++++++++++++-------------------------
2 files changed, 69 insertions(+), 76 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-10-21 21:53:34 UTC (rev 121171)
+++ PKGBUILD 2014-10-21 21:53:56 UTC (rev 121172)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=cloud-init
-pkgver=0.7.5
-pkgrel=2
-pkgdesc="Cloud Bootstrapping Application"
-arch=(any)
-license=("GPL3")
-url=https://launchpad.net/cloud-init
-# cloud-init python lib requirements (according to Requires file):
-depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer)
-makedepends=('python2' 'python2-setuptools')
-options=(!emptydirs)
-# Archlinux specific cloud.cfg
-source=(archlinux.cloud.cfg
- https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
- )
-noextract=(archlinux.cloud.cfg)
-sha1sums=('4e32767ac0e18f3b6f34cfb184af17c8a84d563c'
- '9f21617451ec45b6997470f5c3974de0896d8d67')
-backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg)
-
-prepare(){
- find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} +
- sed -i '1s/python$/&2/' $pkgname-$pkgver/tools/read*
- sed -i 's:/etc/systemd:/usr/lib/systemd:g' $pkgname-$pkgver/setup.py
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- python2 ./setup.py install --root=${pkgdir} --init-system systemd
- # Use a cloud.cfg crafted for archlinux
- mv $pkgdir/etc/cloud/cloud.cfg ${pkgdir}/etc/cloud/cloud.cfg.ubuntu_default
- install -Dm644 $srcdir/archlinux.cloud.cfg ${pkgdir}/etc/cloud/cloud.cfg
-}
Copied: cloud-init/repos/community-any/PKGBUILD (from rev 121171, cloud-init/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-10-21 21:53:56 UTC (rev 121172)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=cloud-init
+pkgver=0.7.6
+pkgrel=1
+pkgdesc="Cloud Bootstrapping Application"
+arch=(any)
+license=("GPL3")
+url=https://launchpad.net/cloud-init
+# cloud-init python lib requirements (according to Requires file):
+depends=(systemd python2-yaml python2-cheetah python2-prettytable python2-oauth python2-boto python2-configobj python2-jsonpatch python2-jsonpointer net-tools)
+makedepends=('python2' 'python2-setuptools')
+options=(!emptydirs)
+# Archlinux specific cloud.cfg
+source=(https://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+sha1sums=('9af02f68d68abce91463bec22b17964d1618e1da')
+backup=(etc/cloud/cloud.cfg etc/cloud/cloud.cfg.d/05_logging.cfg)
+
+prepare(){
+ find $pkgname-$pkgver -name \*.py -exec sed -i '1s/python$/&2/' {} +
+ sed -i '1s/python$/&2/' $pkgname-$pkgver/tools/read*
+ sed -i 's:/etc/systemd:/usr/lib/systemd:g' $pkgname-$pkgver/setup.py
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ python2 ./setup.py install --root=${pkgdir} --init-system systemd
+}
Deleted: archlinux.cloud.cfg
===================================================================
--- archlinux.cloud.cfg 2014-10-21 21:53:34 UTC (rev 121171)
+++ archlinux.cloud.cfg 2014-10-21 21:53:56 UTC (rev 121172)
@@ -1,40 +0,0 @@
-##
-### Archlinux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules.
-##
-
-# Not using additional user / sudoers scheme.
-disable_root: false
-# Allow cloud-init to set the hostname.
-preserve_hostname: false
-# The modules that run in the 'init' stage.
-cloud_init_modules:
- - bootcmd
- - write-files
- - set_hostname
- - update_hostname
- - update_etc_hosts
- - users-groups
- - ssh
-
-# The modules that run in the 'config' stage.
-cloud_config_modules:
- - runcmd
-
-# The modules that run in the 'final' stage.
-cloud_final_modules:
- - rightscale_userdata
- - scripts-per-once
- - scripts-per-boot
- - scripts-per-instance
- - scripts-user
- - ssh-authkey-fingerprints
- - keys-to-console
- - final-message
-
-# Masquerade as ubuntu since that is the default mode.
-system_info:
- distro: ubuntu
- paths:
- cloud_dir: /var/lib/cloud/
- templates_dir: /etc/cloud/templates/
- ssh_svcname: sshd
Copied: cloud-init/repos/community-any/archlinux.cloud.cfg (from rev 121171, cloud-init/trunk/archlinux.cloud.cfg)
===================================================================
--- archlinux.cloud.cfg (rev 0)
+++ archlinux.cloud.cfg 2014-10-21 21:53:56 UTC (rev 121172)
@@ -0,0 +1,40 @@
+##
+### Archlinux cloud.cfg - This config enables Archlinux tested/compatible cloud-init modules.
+##
+
+# Not using additional user / sudoers scheme.
+disable_root: false
+# Allow cloud-init to set the hostname.
+preserve_hostname: false
+# The modules that run in the 'init' stage.
+cloud_init_modules:
+ - bootcmd
+ - write-files
+ - set_hostname
+ - update_hostname
+ - update_etc_hosts
+ - users-groups
+ - ssh
+
+# The modules that run in the 'config' stage.
+cloud_config_modules:
+ - runcmd
+
+# The modules that run in the 'final' stage.
+cloud_final_modules:
+ - rightscale_userdata
+ - scripts-per-once
+ - scripts-per-boot
+ - scripts-per-instance
+ - scripts-user
+ - ssh-authkey-fingerprints
+ - keys-to-console
+ - final-message
+
+# Masquerade as ubuntu since that is the default mode.
+system_info:
+ distro: ubuntu
+ paths:
+ cloud_dir: /var/lib/cloud/
+ templates_dir: /etc/cloud/templates/
+ ssh_svcname: sshd
More information about the arch-commits
mailing list