[arch-commits] Commit in cloud-init/repos/community-any (4 files)

Daniel Wallace dwallace at archlinux.org
Thu Oct 22 00:38:16 UTC 2015


    Date: Thursday, October 22, 2015 @ 02:38:16
  Author: dwallace
Revision: 144649

archrelease: copy trunk to community-any

Added:
  cloud-init/repos/community-any/PKGBUILD
    (from rev 144648, cloud-init/trunk/PKGBUILD)
  cloud-init/repos/community-any/archlinux.cloud.cfg
    (from rev 144648, cloud-init/trunk/archlinux.cloud.cfg)
Deleted:
  cloud-init/repos/community-any/PKGBUILD
  cloud-init/repos/community-any/archlinux.cloud.cfg

---------------------+
 PKGBUILD            |   59 +++++++++++++++++----------------
 archlinux.cloud.cfg |   87 +++++++++++++++++++++++++++-----------------------
 2 files changed, 77 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-22 00:37:57 UTC (rev 144648)
+++ PKGBUILD	2015-10-22 00:38:16 UTC (rev 144649)
@@ -1,29 +0,0 @@
-# $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
-}

Copied: cloud-init/repos/community-any/PKGBUILD (from rev 144648, cloud-init/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-10-22 00:38:16 UTC (rev 144649)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=cloud-init
+pkgver=0.7.6
+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 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
+    sed -i 's,name: ubuntu,name: archlinux,;s,gecos: Ubuntu,gecos: Archlinux,' $srcdir/$pkgname-$pkgver/config/cloud.cfg
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  python2 ./setup.py install --root=${pkgdir} --init-system systemd
+}

Deleted: archlinux.cloud.cfg
===================================================================
--- archlinux.cloud.cfg	2015-10-22 00:37:57 UTC (rev 144648)
+++ archlinux.cloud.cfg	2015-10-22 00:38:16 UTC (rev 144649)
@@ -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 144648, cloud-init/trunk/archlinux.cloud.cfg)
===================================================================
--- archlinux.cloud.cfg	                        (rev 0)
+++ archlinux.cloud.cfg	2015-10-22 00:38:16 UTC (rev 144649)
@@ -0,0 +1,47 @@
+##
+### 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
+   default_user:
+     name: archlinux
+     lock_passwd: True
+     gecos: Archlinux
+     groups: [adm, audio, cdrom, dialout, dip, floppy, netdev, plugdev, sudo, video]
+     sudo: ["ALL=(ALL) NOPASSWD:ALL"]
+     shell: /bin/bash
+   paths:
+      cloud_dir: /var/lib/cloud/
+      templates_dir: /etc/cloud/templates/
+   ssh_svcname: sshd



More information about the arch-commits mailing list