Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated facter to 1.6.17

Updated puppet to 3.0.2
Updated ruby-hiera to 1.1.2
  • Loading branch information...
commit 5906107b1bb307d0feb3d8bcc5f51a90ee570a79 1 parent cd29a4d
@aboe76 aboe76 authored committed
View
15 facter/PKGBUILD
@@ -2,9 +2,16 @@
# Contributor : Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
# Contributor: Thomas S Hatch <thatch45 (at) Gmail.com>
# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com>
+# Contributor: Niels Abspoel <aboe76 (at) Gmail (dot) com>
+
+# RC style, reserved for later use
+#pkgname=puppet
+#_rc=8
+#_pkgver=3.0.0
+#pkgver=${_pkgver}_rc${_rc}
pkgname=facter
-pkgver=1.6.14
+pkgver=1.6.17
pkgrel=1
pkgdesc="A library for collecting facts about your system."
arch=("any")
@@ -12,11 +19,11 @@ url="http://puppetlabs.com/projects/facter/"
license=("APACHE")
depends=("ruby" "inetutils" "net-tools")
options=(!emptydirs)
-source=(http://puppetlabs.com/downloads/facter/facter-$pkgver.tar.gz)
-md5sums=('b6c3df8ad1781c10d30785c58a4504ef')
+source=(http://puppetlabs.com/downloads/facter/facter-${pkgver//_/-}.tar.gz)
+md5sums=('7dbefba6148d2c6b6034009c46b3ae14')
package() {
- cd $srcdir/facter-$pkgver
+ cd $srcdir/facter-${pkgver//_/-}
ruby ./install.rb \
--destdir=$pkgdir \
View
6 puppet/PKGBUILD
@@ -14,8 +14,8 @@
#pkgver=${_pkgver}_rc${_rc}
pkgname=puppet
-pkgver=3.0.1
-pkgrel=5
+pkgver=3.0.2
+pkgrel=7
pkgdesc="A system for automating system administration tasks."
arch=("any")
url="http://puppetlabs.com/projects/puppet/"
@@ -32,7 +32,7 @@ source=(http://puppetlabs.com/downloads/puppet/puppet-${pkgver//_/-}.tar.gz
puppet
puppet.conf
puppetmaster)
-md5sums=('2117e3a1964ac54fcd36d926eed3db94'
+md5sums=('c4507a83679df9f6c8409d97cc6ef757'
'ffacd9bfb9c7656a3a345dbc5eb0e67a'
'59dbf39e251bc4877e7604a5876c642d'
'a7d61d20e46b411eb50ad5279987584a'
View
34 ruby-hiera/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Jochen Schalanda <jochen+aur@schalanda.name>
+_gemname=hiera
+pkgname=ruby-$_gemname
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="A pluggable data store for hierarcical data."
+arch=(any)
+url='http://projects.puppetlabs.com/projects/hiera/'
+license=('MIT')
+depends=('ruby')
+makedepends=('rubygems')
+source=(
+ "http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
+ 'hiera.yaml')
+noextract=($_gemname-$pkgver.gem)
+
+package() {
+ cd "$srcdir"
+ # _gemdir is defined inside package() because if ruby[gems] is not installed on
+ # the system, makepkg will exit with an error when sourcing the PKGBUILD.
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+
+ gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" \
+ -n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem"
+
+ # Create hiera default directory
+ install -d $pkgdir/var/lib/hiera
+
+ # Create hiera default configuration
+ install -d $pkgdir/etc
+ install -m 644 $srcdir/hiera.yaml $pkgdir/etc/
+}
+md5sums=('2839ffded25dc3144013fc87ffd942f7'
+ '3c2f95791009f2113f5d3eb54a6577a8')
View
21 ruby-hiera/hiera.yaml
@@ -0,0 +1,21 @@
+---
+:backend:
+ - yaml
+ - json
+:hierarchy:
+ - defaults
+ - global
+
+:yaml:
+# datadir is empty here, so hiera uses its defaults:
+# - /var/lib/hiera on *nix
+# - %CommonAppData%\PuppetLabs\hiera\var on Windows
+# When specifying a datadir, make sure the directory exists.
+ :datadir:
+
+:json:
+# datadir is empty here, so hiera uses its defaults:
+# - /var/lib/hiera on *nix
+# - %CommonAppData%\PuppetLabs\hiera\var on Windows
+# When specifying a datadir, make sure the directory exists.
+ :datadir:
Please sign in to comment.
Something went wrong with that request. Please try again.