Skip to content

Commit

Permalink
Change node.set by node.defaultush
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Oct 13, 2023
1 parent 6d5a4d1 commit 5d1de88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
action :nothing
end.run_action(:run)

node.set["nginx"]["registered"] = true
node.default["nginx"]["registered"] = true
Chef::Log.info("Nginx service has been registered to consul")
end
rescue => e
Expand All @@ -195,7 +195,7 @@
action :nothing
end.run_action(:run)

node.set["nginx"]["registered"] = false
node.default["nginx"]["registered"] = false
Chef::Log.info("Nginx service has been deregistered from consul")
end
rescue => e
Expand Down

0 comments on commit 5d1de88

Please sign in to comment.