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.
- data/.travis.yml +0 -3
- data/bootstrap/centos.sh +12 -2
- data/bootstrap/gentoo.sh +7 -8
- data/bootstrap/omnibus.sh +17 -0
- data/bootstrap/redhat.sh +12 -2
- data/bootstrap/ubuntu.sh +12 -3
- data/lib/gusteau/vagrant.rb +1 -2
- data/lib/gusteau/version.rb +1 -1
- metadata +3 -2
data/.travis.yml
CHANGED
data/bootstrap/centos.sh
CHANGED
@@ -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
|
7
|
+
echo "Using chef-solo $(chef-solo --v | awk '{print $2}') at $(which chef-solo)"
|
5
8
|
else
|
6
|
-
|
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
|
data/bootstrap/gentoo.sh
CHANGED
@@ -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
|
4
|
+
echo "Using chef-solo $(chef-solo --v | awk '{print $2}') at $(which chef-solo)"
|
5
5
|
else
|
6
|
-
emerge
|
6
|
+
emerge layman
|
7
|
+
echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf
|
7
8
|
|
8
|
-
|
9
|
+
layman -o https://raw.github.com/lxmx/gentoo-overlay/master/overlay.xml -f -a lxmx
|
10
|
+
layman -S
|
9
11
|
|
10
|
-
|
11
|
-
emerge -
|
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
|
data/bootstrap/redhat.sh
CHANGED
@@ -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
|
7
|
+
echo "Using chef-solo $(chef-solo --v | awk '{print $2}') at $(which chef-solo)"
|
5
8
|
else
|
6
|
-
|
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
|
data/bootstrap/ubuntu.sh
CHANGED
@@ -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
|
7
|
+
echo "Using chef-solo $(chef-solo --v | awk '{print $2}') at $(which chef-solo)"
|
5
8
|
else
|
6
|
-
|
7
|
-
|
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
|
data/lib/gusteau/vagrant.rb
CHANGED
@@ -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]
|
data/lib/gusteau/version.rb
CHANGED
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.
|
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
|
+
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
|