Skip to content

Commit

Permalink
Fix not_if
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaier committed May 7, 2015
1 parent df0d2d7 commit 1fd00d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes/author.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
aem_version node[:aem][:version]
action :set_password
only_if { node[:aem][:author][:new_admin_password] }
not_if { node.set[:aem][:author][:new_admin_password] == node.set[:aem][:author][:admin_password] }
not_if { node[:aem][:author][:new_admin_password] == node[:aem][:author][:admin_password] }
notifies :run, 'ruby_block[Store new admin password in node]', :immediately
end

Expand Down
2 changes: 1 addition & 1 deletion recipes/publish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
aem_version node[:aem][:version]
action :set_password
only_if { node[:aem][:publish][:new_admin_password] }
not_if { node.set[:aem][:publish][:new_admin_password] == node.set[:aem][:publish][:admin_password] }
not_if { node[:aem][:publish][:new_admin_password] == node[:aem][:publish][:admin_password] }
notifies :run, 'ruby_block[Store new admin password in node]', :immediately
end

Expand Down

0 comments on commit 1fd00d5

Please sign in to comment.