kitchen_hooks 1.7.20 → 1.7.21

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: fac70dd576d36fc397b807e4f26b0285213308aa
4
- data.tar.gz: 11ac93017b9d37f78932895c592c96c1d43e23d5
3
+ metadata.gz: 1627438a5d6b685b48532132a2a1368cdbb47b25
4
+ data.tar.gz: 07fa20a87fb4cd0ac9f9caf63c0fe98edfe58300
5
5
  SHA512:
6
- metadata.gz: 5acb685a916dccac38f28cd80033a6165b0bdaeb53815f0aa11783083df7b6b94e7cf638d7130e79156c2271d3e44b28919b3c868c62b0e47c4f062452baa38c
7
- data.tar.gz: 2f20573519ee2a9e05116809c15b2c3949e27a341ce7ff653806a48a27efd592d77d2842d5e165330389183191fcc7f29c3a1669f49d1c0dc591f00dba1cc595
6
+ metadata.gz: 06b9c3faec6259e4e394dc68f1015b19eb0b2c9b0172fc11eec35bb07db62cb4f5a881037768222007e929c41f5068706c501cc68756ba09266b7da6975d406f
7
+ data.tar.gz: 5c7dcf977d362e8cffbd295fbea909dfaf15f75a309e538f4152b574a27a03ae7967f9bad08f9bb1ef12f4f7c99015727714452ffa56ea341dcbfc2d6d565aa4
data/Rakefile CHANGED
@@ -34,13 +34,4 @@ Gem::Tasks::Sign::Checksum.new sha2: true
34
34
 
35
35
  # "rake version"
36
36
  require 'rake/version_task'
37
- Rake::VersionTask.new
38
-
39
-
40
- # "rake fpm"
41
- desc 'Convert latest .gem to .deb with FPM'
42
- task fpm: :build do
43
- latest_gem = Dir['pkg/*.gem'].pop
44
- system "fpm -s gem -t deb #{Shellwords::escape latest_gem}"
45
- system 'mv *.deb pkg'
46
- end
37
+ Rake::VersionTask.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.20
1
+ 1.7.21
@@ -1,26 +1,26 @@
1
1
  {
2
- "before": "fd4777414aeb61315d292936687d5a87e7d62ded",
3
- "after": "fd4777414aeb61315d292936687d5a87e7d62ded",
4
- "ref": "refs/tags/v0.2.6",
2
+ "before": "46cb7ed07e5683d6418d4c47ba5d9389cc2d9b19",
3
+ "after": "a2d9936039782e7e089651f5dced113d00d84d9c",
4
+ "ref": "refs/tags/v0.2.12",
5
5
  "user_id": 645,
6
6
  "user_name": "Sean Clemmer",
7
7
  "repository": {
8
- "name": "app_graphite",
9
- "url": "git@git.bluejeansnet.com:chef/app_graphite.git",
8
+ "name": "app_cassandra_dse",
9
+ "url": "git@git.bluejeansnet.com:chef/app_cassandra_dse.git",
10
10
  "description": "",
11
- "homepage": "http://git.bluejeansnet.com/chef/app_graphite"
11
+ "homepage": "http://git.bluejeansnet.com/chef/app_cassandra_dse"
12
12
  },
13
13
  "commits": [
14
14
  {
15
- "id": "fd4777414aeb61315d292936687d5a87e7d62ded",
15
+ "id": "a2d9936039782e7e089651f5dced113d00d84d9c",
16
16
  "message": "XYZ",
17
17
  "timestamp": "2014-11-25T18:30:57-08:00",
18
- "url": "http://git.bluejeansnet.com/chef/app_graphite/commit/fd4777414aeb61315d292936687d5a87e7d62ded",
18
+ "url": "http://git.bluejeansnet.com/chef/app_cassandra_dse/commit/a2d9936039782e7e089651f5dced113d00d84d9c",
19
19
  "author": {
20
20
  "name": "Sean Clemmer",
21
21
  "email": "sclemmer@bluejeans.com"
22
22
  }
23
23
  }
24
24
  ],
25
- "total_commits_count": 5
25
+ "total_commits_count": 1
26
26
  }
data/etc/config.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "sync_interval": 60,
2
+ "sync_interval": null,
3
3
  "hipchat": null,
4
4
  "knives": {
5
5
  "dc1": "~/.chef/dc1.rb",
@@ -106,8 +106,7 @@ module KitchenHooks
106
106
  raise 'Tagged version does not match cookbook version'
107
107
  end
108
108
 
109
- berksfile = File::join clone, 'Berksfile'
110
- # berksfile_lock = "#{berksfile}.lock"
109
+ berksfile = File.join clone, 'Berksfile'
111
110
 
112
111
  if File.exist? berksfile
113
112
  $stdout.puts 'Uploading dependencies'
@@ -200,7 +199,7 @@ module KitchenHooks
200
199
  '--config %s' % Shellwords::escape(berkshelf_config knife)
201
200
  end
202
201
 
203
- cmd = 'bundle exec berks install --debug --berksfile %s %s' % [
202
+ cmd = 'berks install --debug --berksfile %s %s' % [
204
203
  Shellwords::escape(berksfile), knife_args
205
204
  ]
206
205
  begin
@@ -225,7 +224,7 @@ module KitchenHooks
225
224
  ]
226
225
  config_path = berkshelf_config(knife)
227
226
 
228
- cmd = 'bundle exec berks upload --debug --berksfile %s --config %s' % [
227
+ cmd = 'berks upload --debug --berksfile %s --config %s' % [
229
228
  Shellwords::escape(berksfile), Shellwords::escape(config_path)
230
229
  ]
231
230
 
@@ -271,7 +270,7 @@ module KitchenHooks
271
270
 
272
271
 
273
272
  def self.with_each_knife_do command, knives
274
- with_each_knife "bundle exec knife #{command} --config %{knife}", knives
273
+ with_each_knife "knife #{command} --config %{knife}", knives
275
274
  end
276
275
 
277
276
  def self.with_each_knife command, knives
@@ -114,15 +114,14 @@ private
114
114
  deleted.each do |n|
115
115
  @cached_nodes.delete n.name
116
116
  end
117
- deleted = []
118
117
  # deleted.each do |n|
119
- # puts 'Deleting node "%s"' % n
118
+ # puts 'Deleting node "%s"' % n.name
120
119
  # ridleys.peach(4) do |ridley|
121
120
  # begin
122
- # ridley.node.delete n
123
- # @cached_nodes.delete n
121
+ # ridley.node.delete n.name
122
+ # @cached_nodes.delete n.name
124
123
  # rescue \
125
- # puts('WARNING: Could not delete node "%s"' % n)
124
+ # puts('WARNING: Could not delete node "%s"' % n.name)
126
125
  # end
127
126
  # end
128
127
  # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen_hooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.20
4
+ version: 1.7.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-18 00:00:00.000000000 Z
11
+ date: 2015-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hipchat