opzworks 0.3.7 → 0.3.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f769a4874e232e192be19c8fb468ea8242a620d0
4
- data.tar.gz: d14aa92875d879a41cbab51d7323b596c85a2d22
3
+ metadata.gz: e896423a62fcd4c3a76c49e1f7fb4c30691b077e
4
+ data.tar.gz: 635a0dd729399ead391aba1c0cff291596928602
5
5
  SHA512:
6
- metadata.gz: 157cc2f33e2af666ac7e7f36ceb23eedc7ac17e6caed66bc35b84f10ab5e7df27ba4b65bd6a9fbd6a99bcb562305f1252a147b266d97aaebc968e71d0f504323
7
- data.tar.gz: 62121775ae8fb5eddc957d5e88d90189e231426dd95c62258da8f0d025616563b798f47c0525e0b0a30e3cfe9b09c57a0d09fc648056d28d44fe6efa414c1a4b
6
+ metadata.gz: 76b0d9de5b083b0e88f1004897a11bb2a8d4ce417b2c5b3619a647babdd2102870fbf88b1bd9ac083921336d90c9ae570e4fe654eabcc181546feff4842b68fa
7
+ data.tar.gz: 36bfd01b5c25618351c2c6cab8ac9f9dc2f9e3190141d9f24ba443c9968a98cdd430aebe4549061dc07cea4805e5a3fc236dad89d478ac0c73b3f42bd6d3a880
@@ -52,7 +52,6 @@ module OpzWorks
52
52
  cookbook_tarball = config.berks_tarball_name || 'cookbooks.tgz'
53
53
  cookbook_upload = "#{cook_path}" + '/' "#{cookbook_tarball}"
54
54
  s3_bucket = config.berks_s3_bucket || 'opzworks'
55
- opsworks_berks = 'Berksfile.opsworks'
56
55
  overrides = 'overrides'
57
56
 
58
57
  # berks
@@ -67,14 +66,6 @@ module OpzWorks
67
66
  berks vendor #{install_path}
68
67
  BASH
69
68
 
70
- # if there's a Berksfile.opsworks, push it up to let nodes build their cookbook
71
- # repository from its contents
72
- #
73
- if File.file?("#{@target_path}/#{opsworks_berks}")
74
- puts 'Copying opsworks Berksfile into place'.foreground(:blue)
75
- FileUtils.copy("#{@target_path}/#{opsworks_berks}", "#{install_path}/Berksfile")
76
- end
77
-
78
69
  # if there's an overrides file, just pull it and stuff the contents into the
79
70
  # upload repo; the line is assumed to be a git repo. This is done to override
80
71
  # opsworks templates without destroying the upstream cookbook.
@@ -86,7 +86,7 @@ def es_service(command, ips = [])
86
86
  session.use "#{user}@#{ip}"
87
87
  end
88
88
 
89
- Timeout::timeout(10) do
89
+ Timeout.timeout(10) do
90
90
  session.exec "sudo service elasticsearch #{command}"
91
91
  end
92
92
  session.loop
data/lib/opzworks/meta.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module OpzWorks
2
- VERSION = '0.3.7'
2
+ VERSION = '0.3.8'
3
3
  AUTHORS = ['Grant Heffernan', 'Mapzen']
4
4
  EMAIL = ['grant@mapzen.com']
5
5
  DESCRIPTION = 'OpzWorks Utilities'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opzworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Heffernan