chef-handler-users 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/chef-handler-users.gemspec +1 -1
- data/lib/chef-handler-users.rb +1 -4
- metadata +1 -1
data/chef-handler-users.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.name = "chef-handler-users"
|
6
|
-
gem.version = "0.0.
|
6
|
+
gem.version = "0.0.15"
|
7
7
|
gem.authors = ["Heavy Water Operations, LLC. (OR)"]
|
8
8
|
gem.email = ["ops@hw-ops.com"]
|
9
9
|
gem.homepage = "http://github.com/heavywater/chef-handler-users"
|
data/lib/chef-handler-users.rb
CHANGED
@@ -39,10 +39,7 @@ class Chef::Handler::Users < Chef::Handler
|
|
39
39
|
|
40
40
|
def report
|
41
41
|
updated_users = run_status.updated_resources.select do |resource|
|
42
|
-
|
43
|
-
Chef::Log.info "Resource_name ivar #{resource.resource_name.inspect}"
|
44
|
-
Chef::Log.info "Resource_name class #{resource.resource_name.class}"
|
45
|
-
resource.resource_name =~ /user/i
|
42
|
+
resource.resource_name == :user
|
46
43
|
end
|
47
44
|
|
48
45
|
if updated_users.empty?
|