[arch-commits] Commit in salt/repos (3 files)
Sébastien Luttringer
seblu at nymeria.archlinux.org
Mon May 5 21:30:18 UTC 2014
Date: Monday, May 5, 2014 @ 23:30:18
Author: seblu
Revision: 110726
archrelease: copy trunk to community-testing-any
Added:
salt/repos/community-testing-any/
salt/repos/community-testing-any/PKGBUILD
(from rev 110725, salt/trunk/PKGBUILD)
salt/repos/community-testing-any/salt.install
(from rev 110725, salt/trunk/salt.install)
--------------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
salt.install | 15 +++++++++++++++
2 files changed, 62 insertions(+)
Copied: salt/repos/community-testing-any/PKGBUILD (from rev 110725, salt/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2014-05-05 21:30:18 UTC (rev 110726)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contibutor: Christer Edwards <christer.edwards at gmail.com>
+
+pkgname=salt
+pkgver=2014.1.4
+pkgrel=1
+pkgdesc='Central system and configuration manager'
+arch=('any')
+url='http://saltstack.org/'
+license=('Apache')
+depends=('python2'
+ 'python2-crypto'
+ 'python2-jinja'
+ 'python2-m2crypto'
+ 'python2-msgpack'
+ 'python2-psutil'
+ 'python2-pyzmq'
+ 'python2-systemd'
+ 'python2-requests'
+ 'python2-yaml'
+ 'apache-libcloud'
+ 'sshpass')
+optdepends=('dmidecode: decode SMBIOS/DMI tables')
+backup=('etc/salt/master'
+ 'etc/salt/minion')
+install=salt.install
+source=("http://pypi.python.org/packages/source/s/salt/salt-$pkgver.tar.gz")
+md5sums=('3a34a45c34e29e83572977d72258fc37')
+
+package() {
+ cd $pkgname-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1 \
+ --salt-pidfile-dir="/run/salt"
+
+ # default config
+ install -Dm644 conf/master "$pkgdir/etc/salt/master"
+ install -Dm644 conf/minion "$pkgdir/etc/salt/minion"
+
+ # systemd services
+ for _svc in salt-master.service salt-syndic.service salt-minion.service; do
+ install -Dm644 pkg/$_svc "$pkgdir/usr/lib/systemd/system/$_svc"
+ done
+}
+
+# vim:set ts=2 sw=2 et:
Copied: salt/repos/community-testing-any/salt.install (from rev 110725, salt/trunk/salt.install)
===================================================================
--- community-testing-any/salt.install (rev 0)
+++ community-testing-any/salt.install 2014-05-05 21:30:18 UTC (rev 110726)
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if [ "$(vercmp $2 2014.1.1-1)" -le 0 ]; then
+ cat << EOF
+==> Since version 2014.1.1-2, salt-master runs by default as root user.
+==> You need to manually update your configuration and remove the salt user and
+==> group to follow the new default behavior.
+EOF
+ fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
More information about the arch-commits
mailing list