Skip to content

Commit

Permalink
Reverse node.default (old node.set) by node.normal
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Oct 25, 2023
1 parent 580ece3 commit 1f6867d
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 @@ -179,7 +179,7 @@
action :nothing
end.run_action(:run)

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

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

0 comments on commit 1f6867d

Please sign in to comment.