shadow_puppet 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGE0YWFjNzEwMzUwYWY5YzVjYjZiYzc3ZGI3MmU3NTRkMGY4NGUwZQ==
4
+ YjUyODA0MGM0NjgzOTI5Mzc5MmUxYmY5ODA4M2JkOTBlOTMxOGY0Mg==
5
5
  data.tar.gz: !binary |-
6
- YjE4YmQ0NTQ2ZDViM2E0ZDJjN2E3YzlmNzY0NTExNDFjNWJjYjRlZQ==
6
+ N2Q3N2ZjZGVlYjdlYTUzZTE3NzM5ZmVmN2QzN2E5YjFhNGIxMWUxNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NmNiYzI4ZmQzZDcwYTcwNjIxNWU5Njc3ZDA0MWJhNmM5NmE1OWJhZWY5Nzlj
10
- MTVhMzc3MzZjOTFiYTU0NzkzZGZhMmIxZGMxNTMyMGQ4ZWNhNmM1ZjhlMGJj
11
- NmFmMTg3YzUzOThlZmRhZTE5ZjViZTA4ZjA5NGFiZWIzMTAyNGM=
9
+ YTBkMWEwNjUzY2FlYWRhNGQ0NWFjYmY0Mjk0NTZlNzRiMzU1MzA0YzJiNmFi
10
+ YzY2MWMwYTAzOTQ1OTBmZWQ1MTFhN2I5OTRjZjllMzUxNzUyMjBiZDVkYzQ2
11
+ M2FjZTViZjlhYTY0YTBjN2Q3YzAyNjg2MTkxYjU3MTIyZWZmNTU=
12
12
  data.tar.gz: !binary |-
13
- NmQ3ZTY2OGNhMzFjZGJiZTc4NWYzOGMxNWE4ZWM1OTg1MDM2MTA4ODc3ODYx
14
- NzQyYzQ3NmJlNWE0Y2I0M2NmMzZjYjU3YTQzOWY0NTAyZjBmYTZmNDllNWJj
15
- YmFlZTVmOTJmZjAyM2ExMmU2YWI4N2NmMzNiN2MwYzY0ZmVlYzg=
13
+ YTVmNDdhZjE2NTFlMDVmNjkxYjkzMDE0OGVhY2Q5NDM5MjBmZDMwYTE0NzFk
14
+ NDIxOTBjOTc3YzE3MzNjYzgwZmEwYjA3YmYzYzFiNmE2OTQwNmU2NTlmMTBj
15
+ OThkNDU0YjgwZmMyZGQxZmNmMmQ3YTMyNzUwNTk1NzRhYjRiN2E=
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ Jeweler::Tasks.new do |gem|
13
13
  gem.rubyforge_project = "moonshine"
14
14
  gem.authors = ["Jesse Newland", "Josh Nichols", "Eric Lindvall", "Lee Jones", "Will Farrington", "dreamcat4", "Patrick Schless", "Ches Martin", "Rob Lingle", "Scott Fleckenstein"]
15
15
 
16
- gem.version = "0.7.0"
16
+ gem.version = "0.7.1"
17
17
 
18
18
  gem.rdoc_options << '--inline-source' << '--webcvs=http://github.com/railsmachine/shadow_puppet/tree/master/'
19
19
 
data/bin/shadow_puppet CHANGED
@@ -37,7 +37,7 @@ end
37
37
  begin
38
38
  require 'optparse'
39
39
 
40
- ShadowPuppetOptions = Struct.new(:graph, :noop)
40
+ ShadowPuppetOptions = Struct.new(:graph, :noop, :ignore)
41
41
  options = ShadowPuppetOptions.new
42
42
 
43
43
  opts = OptionParser.new do |opts|
@@ -94,6 +94,10 @@ begin
94
94
  options.noop = true
95
95
  end
96
96
 
97
+ opts.on("-i", "--ignore", "Always exit with 0 exit code even if a Puppet task fails") do
98
+ options.ignore = true
99
+ end
100
+
97
101
  opts.on_tail("-h", "--help", "Show this message") do
98
102
  puts opts
99
103
  exit
@@ -133,7 +137,7 @@ begin
133
137
  if options.graph
134
138
  manifest.graph_to(klass.classify, options.graph)
135
139
  else
136
- if manifest.execute!
140
+ if manifest.execute! or options.ignore
137
141
  exit(0)
138
142
  else
139
143
  exit(1)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "shadow_puppet"
8
- s.version = "0.7.0"
8
+ s.version = "0.7.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jesse Newland", "Josh Nichols", "Eric Lindvall", "Lee Jones", "Will Farrington", "dreamcat4", "Patrick Schless", "Ches Martin", "Rob Lingle", "Scott Fleckenstein"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shadow_puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Newland