[TEST] Ensure file permission for /etc/sudoers.d/elasticsearch_vars

Ubuntu 12.04 checks the file permission for /etc/sudoers.d/elasticsearch_vars is mode 0440. This commit adds a `chmod` before the file is used by the `sudo` command.
This commit is contained in:
Tanguy Leroux 2016-11-15 17:42:57 +01:00
parent 6db683a4bd
commit 6cafe688b3
1 changed files with 1 additions and 0 deletions

1
Vagrantfile vendored
View File

@ -290,5 +290,6 @@ Defaults env_keep += "BATS_UTILS"
Defaults env_keep += "BATS_TESTS"
Defaults env_keep += "BATS_ARCHIVES"
SUDOERS_VARS
chmod 0440 /etc/sudoers.d/elasticsearch_vars
SHELL
end