Skip to content

Commit

Permalink
Fix generate_terraform_self
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Dec 20, 2023
1 parent aa3daa6 commit 178bbd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_terraform_self.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
rescue Errno::EEXIST
end
instances.each do | name, values |
self_hash = { 'terraform' => { instances => { 'self' => values } } }
self_hash = { 'terraform' => { 'instances' => { 'self' => values } } }
File.write('/etc/puppetlabs/data/nodes/%s.yaml' % name, self_hash.to_yaml)
end

0 comments on commit 178bbd4

Please sign in to comment.