markolson / chef-ssh

Chef cookbook for managing some mildly-difficult-to-automate SSH configuration
39 stars 54 forks source link

Two issues: fix the umask in the add action for config, and fix the README #29

Closed gswallow closed 9 years ago

gswallow commented 10 years ago

Using a "name" attribute in the metadata.rb file may also solve the resource name problem I found in the README.

tejaycar commented 9 years ago

Why are you setting the umask to 0077??

gswallow commented 9 years ago

I set it to 0077 which would be appropriate for $USER/.ssh/config, but that is not appropriate for /etc/ssh/ssh_config. Therefore, I set it to 0022. 0600 was wrong.

tejaycar commented 9 years ago

Sorry, I just realized this was a umask and not a mode.

tejaycar commented 9 years ago

No longer needed as we now set the mode on the file directly