gusteau 0.4.5 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.8.7
4
- - 1.9.2
5
4
  - 1.9.3
6
5
  - rbx
7
6
  - jruby
8
- - ree
9
- - ruby-head
10
7
  - 2.0.0
@@ -1,7 +1,17 @@
1
1
  #!/bin/sh
2
2
 
3
+ install_sh="https://www.opscode.com/chef/install.sh"
4
+ version="11.4.4"
5
+
3
6
  if type -p chef-solo > /dev/null; then
4
- echo "Using chef-solo at `which chef-solo`"
7
+ echo "Using chef-solo $(chef-solo --v | awk '{print $2}') at $(which chef-solo)"
5
8
  else
6
- curl -L https://www.opscode.com/chef/install.sh | bash
9
+ if command -v curl &>/dev/null; then
10
+ curl -L "$install_sh" | sudo bash -s -- -v "$version"
11
+ elif command -v wget &>/dev/null; then
12
+ wget -qO- "$install_sh" | sudo bash -s -- -v "$version"
13
+ else
14
+ echo "Neither wget nor curl found. Please install one." >&2
15
+ exit 1
16
+ fi
7
17
  fi
@@ -1,17 +1,16 @@
1
1
  #!/bin/sh
2
2
 
3
3
  if type -p chef-solo > /dev/null; then
4
- echo "Using chef-solo at `which chef-solo`"
4
+ echo "Using chef-solo $(chef-solo --v | awk '{print $2}') at $(which chef-solo)"
5
5
  else
6
- emerge --sync
6
+ emerge layman
7
+ echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf
7
8
 
8
- echo 'RUBY_TARGETS="ruby19"' >> /etc/make.conf
9
+ layman -o https://raw.github.com/lxmx/gentoo-overlay/master/overlay.xml -f -a lxmx
10
+ layman -S
9
11
 
10
- CONFIG_PROTECT_MASK="/etc/portage/" emerge --autounmask-write ruby:1.9
11
- emerge -uDN ruby:1.9
12
- revdep-rebuild
13
-
14
- gem install chef ruby-shadow --no-ri --no-rdoc --version "=11.4.0"
12
+ echo "app-admin/chef-omnibus ~amd64" >> /etc/portage/package.keywords
13
+ emerge app-admin/chef-omnibus
15
14
 
16
15
  # Make non-interactive SSH sessions see environment variables
17
16
  if [[ ! `which chef-solo` ]]; then
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+
3
+ install_sh="https://www.opscode.com/chef/install.sh"
4
+ version="11.4.4"
5
+
6
+ if type -p chef-solo > /dev/null; then
7
+ echo "Using chef-solo $(chef-solo --v | awk '{print $2}') at $(which chef-solo)"
8
+ else
9
+ if command -v curl &>/dev/null; then
10
+ curl -L "$install_sh" | sudo bash -s -- -v "$version"
11
+ elif command -v wget &>/dev/null; then
12
+ wget -qO- "$install_sh" | sudo bash -s -- -v "$version"
13
+ else
14
+ echo "Neither wget nor curl found. Please install one." >&2
15
+ exit 1
16
+ fi
17
+ fi
@@ -1,7 +1,17 @@
1
1
  #!/bin/sh
2
2
 
3
+ install_sh="https://www.opscode.com/chef/install.sh"
4
+ version="11.4.4"
5
+
3
6
  if type -p chef-solo > /dev/null; then
4
- echo "Using chef-solo at `which chef-solo`"
7
+ echo "Using chef-solo $(chef-solo --v | awk '{print $2}') at $(which chef-solo)"
5
8
  else
6
- curl -L https://www.opscode.com/chef/install.sh | bash
9
+ if command -v curl &>/dev/null; then
10
+ curl -L "$install_sh" | sudo bash -s -- -v "$version"
11
+ elif command -v wget &>/dev/null; then
12
+ wget -qO- "$install_sh" | sudo bash -s -- -v "$version"
13
+ else
14
+ echo "Neither wget nor curl found. Please install one." >&2
15
+ exit 1
16
+ fi
7
17
  fi
@@ -1,8 +1,17 @@
1
1
  #!/bin/sh
2
2
 
3
+ install_sh="https://www.opscode.com/chef/install.sh"
4
+ version="11.4.4"
5
+
3
6
  if type -p chef-solo > /dev/null; then
4
- echo "Using chef-solo at `which chef-solo`"
7
+ echo "Using chef-solo $(chef-solo --v | awk '{print $2}') at $(which chef-solo)"
5
8
  else
6
- apt-get install -y ruby ruby-dev libopenssl-ruby rdoc ri irb build-essential wget ssl-cert curl rubygems
7
- gem install chef --no-ri --no-rdoc --version "=11.4.0"
9
+ if command -v curl &>/dev/null; then
10
+ curl -L "$install_sh" | sudo bash -s -- -v "$version"
11
+ elif command -v wget &>/dev/null; then
12
+ wget -qO- "$install_sh" | sudo bash -s -- -v "$version"
13
+ else
14
+ echo "Neither wget nor curl found. Please install one." >&2
15
+ exit 1
16
+ fi
8
17
  fi
@@ -40,8 +40,7 @@ module Gusteau
40
40
  vb.customize ['modifyvm', :id,
41
41
  '--memory', config[:memory],
42
42
  '--name', config[:label],
43
- '--cpus', config[:cpus],
44
- '--natdnsproxy1', 'on'
43
+ '--cpus', config[:cpus]
45
44
  ]
46
45
  end
47
46
  instance.vm.network :private_network, :ip => config[:ip]
@@ -1,3 +1,3 @@
1
1
  module Gusteau
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gusteau
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-06-13 00:00:00.000000000 Z
13
+ date: 2013-06-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: optitron
@@ -144,6 +144,7 @@ files:
144
144
  - bin/gusteau_ssh_expect
145
145
  - bootstrap/centos.sh
146
146
  - bootstrap/gentoo.sh
147
+ - bootstrap/omnibus.sh
147
148
  - bootstrap/redhat.sh
148
149
  - bootstrap/solo.rb
149
150
  - bootstrap/ubuntu.sh