toquen 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/toquen/capistrano.rb +1 -1
- data/lib/toquen/templates/ubuntu_bootstrap.erb +12 -5
- data/lib/toquen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 148077c2f59846110978d9b18d56fd04718e6bf2
|
4
|
+
data.tar.gz: 09912f63623a22089b5ee55ce78632bce5674d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87cf735a785e0e82d191e53e48b3cda606bf54bfe3c0e86a9c26b9df078416aaef49e56043de23121248792e12d6ec310afe7de3d1b08ba5a53786bdcf523946
|
7
|
+
data.tar.gz: dfa0efda1ca520f666d60fc33fe134bf58d378d4d32c034ff94ff2d504c549c7cafe1878d88a5751ab0f4adb62b48db1d336df3c822cc9bbb2593b3ae94af884
|
data/lib/toquen/capistrano.rb
CHANGED
@@ -114,7 +114,7 @@ task :update_kitchen do
|
|
114
114
|
on roles(:all), in: :parallel do |host|
|
115
115
|
run_locally do
|
116
116
|
info "Sending kitchen to #{host}..."
|
117
|
-
keyoptions = keys.map { |key| "-i #{key}" }.join(' ')
|
117
|
+
keyoptions = keys.map { |key| "-i #{File.expand_path key}" }.join(' ')
|
118
118
|
execute "rsync -avzk --delete -e 'ssh #{keyoptions}' #{lkitchen} #{user}@#{host}:#{fetch(:chef_upload_location)}"
|
119
119
|
end
|
120
120
|
end
|
@@ -6,12 +6,19 @@ if [ $VERSION -lt 14 ]; then
|
|
6
6
|
echo "This bootstrap script is designed to work with Ubuntu 14 and greater"
|
7
7
|
exit 0
|
8
8
|
fi
|
9
|
-
DEBIAN_FRONTEND=noninteractive apt-get -y update
|
10
|
-
DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
|
11
|
-
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
|
12
|
-
DEBIAN_FRONTEND=noninteractive apt-get -y install ruby ruby-dev build-essential
|
13
9
|
|
14
|
-
|
10
|
+
# prepare to add brightbox repo
|
11
|
+
DEBIAN_FRONTEND=noninteractive
|
12
|
+
apt-get -y update && apt-get -y install software-properties-common
|
13
|
+
apt-add-repository -y ppa:brightbox/ruby-ng
|
14
|
+
|
15
|
+
# update apt, install ruby 2.3, upgrade everything
|
16
|
+
apt-get -y update
|
17
|
+
apt-get -y install build-essential ruby2.3 ruby2.3-dev
|
18
|
+
apt-get -y upgrade && apt-get -y dist-upgrade
|
19
|
+
|
20
|
+
# install chef
|
21
|
+
gem install --no-rdoc --no-ri chef
|
15
22
|
|
16
23
|
echo Setting host variables...
|
17
24
|
echo "127.0.0.1 <%= host.properties.awsname %>" >> /etc/hosts
|
data/lib/toquen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toquen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Muller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|