chef-handler-reset-resolvconf 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
Binary file
|
@@ -43,7 +43,7 @@ class ResetResolvconf < Chef::Handler
|
|
43
43
|
|
44
44
|
def report
|
45
45
|
if run_status.failed?
|
46
|
-
if !File.exists(@old)
|
46
|
+
if !File.exists?(@old)
|
47
47
|
Chef::Log.error("Couldn't find a file at #{@old}, bailing!")
|
48
48
|
else
|
49
49
|
Chef::Log.info('Chef run failed! Reverting /etc/resolv.conf!')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-reset-resolvconf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -18,6 +18,7 @@ extensions: []
|
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
20
|
- chef-handler-reset-resolvconf-0.1.0.gem
|
21
|
+
- chef-handler-reset-resolvconf-0.1.1.gem
|
21
22
|
- chef-handler-reset-resolvconf.gemspec
|
22
23
|
- lib/chef-handler-reset-resolvconf.rb
|
23
24
|
- LICENSE
|