Skip to content

Commit

Permalink
(maint) apparently node name really means node uri
Browse files Browse the repository at this point in the history
puppet_litmus gem assumes name is uri everywhere
  • Loading branch information
h0tw1r3 committed Feb 14, 2024
1 parent 3a55d42 commit f1929d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def provision(docker_platform, inventory_location, vars)
add_node_to_group(inventory_hash, inventory_node, 'ssh_nodes')
File.open(inventory_full_path, 'w') { |f| f.write inventory_hash.to_yaml }

{ status: 'ok', node_name: inventory_node[:name], node: inventory_node }
{ status: 'ok', node_name: inventory_node[:uri], node: inventory_node }
end

params = JSON.parse($stdin.read)
Expand Down
2 changes: 1 addition & 1 deletion tasks/docker_exp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def provision(docker_platform, inventory_location, vars)
add_node_to_group(inventory_hash, inventory_node, 'docker_nodes')
File.open(inventory_full_path, 'w') { |f| f.write inventory_hash.to_yaml }

{ status: 'ok', node_name: inventory_node[:name], node: inventory_node }
{ status: 'ok', node_name: inventory_node[:uri], node: inventory_node }
end

params = JSON.parse($stdin.read)
Expand Down

0 comments on commit f1929d3

Please sign in to comment.