diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 18:19:08 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 18:19:08 +0100 |
commit | 2dadf8ed7c09bc290a365d558615e6826ccb2b72 (patch) | |
tree | f89a263ed8b06d125dedd3b22c539ca2c3486666 /pcr | |
parent | 970a73283be1d6e10736c46c2553264e63362af5 (diff) | |
download | abslibre-2dadf8ed7c09bc290a365d558615e6826ccb2b72.tar.gz abslibre-2dadf8ed7c09bc290a365d558615e6826ccb2b72.tar.bz2 abslibre-2dadf8ed7c09bc290a365d558615e6826ccb2b72.zip |
pcr/ruby-hiera: covered by community/hiera. removed.
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ruby-hiera/PKGBUILD | 34 | ||||
-rw-r--r-- | pcr/ruby-hiera/hiera.yaml | 21 |
2 files changed, 0 insertions, 55 deletions
diff --git a/pcr/ruby-hiera/PKGBUILD b/pcr/ruby-hiera/PKGBUILD deleted file mode 100644 index e6ad28c46..000000000 --- a/pcr/ruby-hiera/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Contributor (Arch): Jochen Schalanda <jochen+aur@schalanda.name> -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> - -_gemname=hiera -pkgname=ruby-$_gemname -pkgver=1.1.1 -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/ -} diff --git a/pcr/ruby-hiera/hiera.yaml b/pcr/ruby-hiera/hiera.yaml deleted file mode 100644 index cd0be3fec..000000000 --- a/pcr/ruby-hiera/hiera.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -: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: |