Sha256: 015bf0e026d2fdc0fbf5590006f7bcfeadee1fccb7d1b4f77639001c28af56b2

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

#!/bin/bash

# Requires
#   ruby.sh
#   aur.sh

# Don't install ruby-highline from Arch repositories since it was built against
# Ruby 2.0. Build from source. Remove this section when Chef supports Ruby 2.0.
mkdir -p /tmp/ruby-highline
wget 'https://projects.archlinux.org/svntogit/community.git/plain/trunk/PKGBUILD?h=packages/ruby-highline&id=49e00a9ea7ffa267048aa7fc7a82a0427c10958d' \
  -O /tmp/ruby-highline/PKGBUILD
chown -R veewee:veewee /tmp/ruby-highline
cd /tmp/ruby-highline
su veewee -c 'makepkg -si --noconfirm'
cd -
rm -rf /tmp/ruby-highline

# Change TMPDIR for packer to stop /tmp from filling up during install
export TMPDIR=$(pwd)/tmp
mkdir -p $TMPDIR

# Packer does not always seem to install the dependencies in the correct order.
# For example, in a case where A requires B, C and B requires C, packer seems
# to install B then C which causes B's installation to fail, leading to an
# installation failure for A. This works around that problem.
packer -S --noconfirm --noedit ruby-net-ssh ruby-ohai
pacman -D --asdeps ruby-net-ssh ruby-ohai

packer -S --noconfirm --noedit ruby-chef

rm -rf $TMPDIR

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
veewee-0.3.12 templates/archlinux-x86_64/chef.sh
veewee-0.3.11 templates/archlinux-x86_64/chef.sh
veewee-0.3.10 templates/archlinux-x86_64/chef.sh
veewee-0.3.9 templates/archlinux-x86_64/chef.sh