Created
October 24, 2012 16:26
-
-
Save eamelink/3947127 to your computer and use it in GitHub Desktop.
Chef odd cookbook_file mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is in my cookbook: | |
cookbook_file "/tmp/cleanup.sh" do | |
mode "0744" | |
end | |
And this is what Chef logs: | |
[2012-10-24T17:58:28+02:00] INFO: Processing cookbook_file[/tmp/cleanup.sh] action create (basebox::basebox-cleanup line 1) | |
[2012-10-24T17:58:28+02:00] INFO: cookbook_file[/tmp/cleanup.sh] owner changed to 0 | |
[2012-10-24T17:58:28+02:00] INFO: cookbook_file[/tmp/cleanup.sh] group changed to 0 | |
[2012-10-24T17:58:28+02:00] INFO: cookbook_file[/tmp/cleanup.sh] mode changed to 600 | |
[2012-10-24T17:58:28+02:00] INFO: cookbook_file[/tmp/cleanup.sh] created file /tmp/cleanup.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment