Skip to content

Commit

Permalink
Change node.set by node.default
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Oct 13, 2023
1 parent 7a5ee96 commit e31c69a
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 @@ -253,7 +253,7 @@
action :nothing
end.run_action(:run)

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

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

0 comments on commit e31c69a

Please sign in to comment.