Skip to content

Commit

Permalink
Update PKGBUILD to puppet3.0.0 and hiera 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GregSutcliffe committed Oct 12, 2012
1 parent 83664e6 commit fdab37b
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions puppet3/PKGBUILD
Expand Up @@ -7,11 +7,16 @@
# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com> # Contributor: Dave Simons <miouhpi (at) Gmail (dot) com>
# Contributor: Niels Abspoel <aboe76 (at) Gmail (dot) com> # Contributor: Niels Abspoel <aboe76 (at) Gmail (dot) com>


# RC style, reserved for later use
#pkgname=puppet3
#_rc=8
#_pkgver=3.0.0
#pkgver=${_pkgver}_rc${_rc}

pkgname=puppet3 pkgname=puppet3
_rc=8 pkgver=3.0.0
_pkgver=3.0.0 pkgrel=1
pkgver=${_pkgver}_rc${_rc} _hieraver=1.1.0
pkgrel=2
pkgdesc="A system for automating system administration tasks." pkgdesc="A system for automating system administration tasks."
arch=("any") arch=("any")
url="http://puppetlabs.com/projects/puppet/" url="http://puppetlabs.com/projects/puppet/"
Expand All @@ -24,22 +29,22 @@ conflicts=("puppet")
install="puppet.install" install="puppet.install"
source=(http://puppetlabs.com/downloads/puppet/puppet-${pkgver//_/-}.tar.gz source=(http://puppetlabs.com/downloads/puppet/puppet-${pkgver//_/-}.tar.gz
http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc3.tar.gz http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc3.tar.gz
http://downloads.puppetlabs.com/hiera/hiera-1.0.0rc4.tar.gz http://downloads.puppetlabs.com/hiera/hiera-${_hieraver}.tar.gz
http://downloads.puppetlabs.com/hiera/hiera-json-0.4.0.tgz http://downloads.puppetlabs.com/hiera/hiera-json-0.4.0.tgz
fileserver.conf fileserver.conf
puppet puppet
puppet.conf puppet.conf
puppetmaster puppetmaster
hiera.yaml) hiera.yaml)
md5sums=('791d78885332acdc8351aa92457af8d2' md5sums=('e3cf262862caffc9f00b169a78205770'
'6829fb5735e179b90b0491971d9b46a8' '6829fb5735e179b90b0491971d9b46a8'
'175b7dfd864d003b81c8360eec5fc731' '0a0774b508fddcc988eef92cd802cf7c'
'389be2d95502d41d26da330207a33db3' '389be2d95502d41d26da330207a33db3'
'ffacd9bfb9c7656a3a345dbc5eb0e67a' 'ffacd9bfb9c7656a3a345dbc5eb0e67a'
'59dbf39e251bc4877e7604a5876c642d' '59dbf39e251bc4877e7604a5876c642d'
'65e7af811ce18f7c764f2ab5d2876d76' '65e7af811ce18f7c764f2ab5d2876d76'
'4c507c580cb28d7a5adc9ea6b3626657' '4c507c580cb28d7a5adc9ea6b3626657'
'c2f380cdcffab3956fe9f6e261d6ea32') 'c2f380cdcffab3956fe9f6e261d6ea32')


package() { package() {
cd $srcdir/puppet-${pkgver//_/-} cd $srcdir/puppet-${pkgver//_/-}
Expand All @@ -53,12 +58,12 @@ package() {


# Hiera is essential for Puppet3 # Hiera is essential for Puppet3
install -d $pkgdir/usr/lib/ruby/site_ruby/1.9.1/lib/ install -d $pkgdir/usr/lib/ruby/site_ruby/1.9.1/lib/
cp -r $srcdir/hiera-1.0.0rc4/lib/* $pkgdir/usr/lib/ruby/site_ruby/1.9.1/ cp -r $srcdir/hiera-${_hieraver}/lib/* $pkgdir/usr/lib/ruby/site_ruby/1.9.1/
cp -r $srcdir/hiera-json-0.4.0/lib/* $pkgdir/usr/lib/ruby/site_ruby/1.9.1/ cp -r $srcdir/hiera-json-0.4.0/lib/* $pkgdir/usr/lib/ruby/site_ruby/1.9.1/
cp -r $srcdir/hiera-json-0.4.0/spec* $pkgdir/usr/lib/ruby/site_ruby/1.9.1/hiera/backend/ cp -r $srcdir/hiera-json-0.4.0/spec* $pkgdir/usr/lib/ruby/site_ruby/1.9.1/hiera/backend/
cp -r $srcdir/hiera-puppet-1.0.0rc3/lib/* $pkgdir/usr/lib/ruby/site_ruby/1.9.1/ cp -r $srcdir/hiera-puppet-1.0.0rc3/lib/* $pkgdir/usr/lib/ruby/site_ruby/1.9.1/
install -d $pkgdir/usr/bin/ install -d $pkgdir/usr/bin/
install -Dp -m0755 $srcdir/hiera-1.0.0rc4/bin/* $pkgdir/usr/bin/ install -Dp -m0755 $srcdir/hiera-${_hieraver}/bin/* $pkgdir/usr/bin/
install -Dp -m0755 $srcdir/hiera-puppet-1.0.0rc3/bin/* $pkgdir/usr/bin/ install -Dp -m0755 $srcdir/hiera-puppet-1.0.0rc3/bin/* $pkgdir/usr/bin/


# Set up vim and emacs # Set up vim and emacs
Expand Down

0 comments on commit fdab37b

Please sign in to comment.