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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3798e475ad23e5ab1b0f404aa04d511aebaffca8
4
- data.tar.gz: 01101004b307ae112addd04d8492342d622fc038
3
+ metadata.gz: 148077c2f59846110978d9b18d56fd04718e6bf2
4
+ data.tar.gz: 09912f63623a22089b5ee55ce78632bce5674d1a
5
5
  SHA512:
6
- metadata.gz: 9ec2c38487e37db9ea4b7b985503c63b95ded11bfe4611135fc5f11a94c8d04cecbfe083bf9d086ffac5386a7581a9a55e73185bece4cfbe82ab2ef9a5c00626
7
- data.tar.gz: 92e966e3b1b3f22d61a0c6c0b9b076a3e677a7c21704accb6e5169ec59c0bea2db0dcfd64e7fb2e78eff4ea56a0dc45606e564f2ad1831f9632e6be214a3d5c4
6
+ metadata.gz: 87cf735a785e0e82d191e53e48b3cda606bf54bfe3c0e86a9c26b9df078416aaef49e56043de23121248792e12d6ec310afe7de3d1b08ba5a53786bdcf523946
7
+ data.tar.gz: dfa0efda1ca520f666d60fc33fe134bf58d378d4d32c034ff94ff2d504c549c7cafe1878d88a5751ab0f4adb62b48db1d336df3c822cc9bbb2593b3ae94af884
@@ -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
- gem install --no-rdoc --no-ri chef -v 11.16.4
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
@@ -1,3 +1,3 @@
1
1
  module Toquen
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
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.5
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-20 00:00:00.000000000 Z
11
+ date: 2016-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano