Skip to content

Commit

Permalink
Fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Dec 20, 2023
1 parent 10387fa commit 1a11104
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,7 +10,7 @@
rescue Errno::EEXIST
end
FileUtils.chown 'root', 'puppet', '/etc/puppetlabs/data/nodes'
FileUtils.chmod 0640, '/etc/puppetlabs/data/nodes'
FileUtils.chmod 0750, '/etc/puppetlabs/data/nodes'
instances.each do | name, values |
filename = '/etc/puppetlabs/data/nodes/%s.yaml' % name
self_hash = { 'terraform' => { 'instances' => { 'self' => values } } }
Expand Down

0 comments on commit 1a11104

Please sign in to comment.