Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure Buildbot master files are owned by servo #334

Merged
merged 1 commit into from May 5, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Ensure Buildbot master files are owned by servo

If the Buildbot master is ever erroneously started as root, the
permissions on a variety of files in the Buildbot master dir are
clobbered and the Buildbot master process is unable to access them.
Use a file.directory state to set ownership to servo:servo for the
whole folder, so that a highstate will restore the correct permissions
in case this happens.
  • Loading branch information
aneeshusa committed Apr 22, 2016
commit 15f2f444d75181837abfc54428cd5d70450f67bf
@@ -30,6 +30,15 @@ buildbot-master:
- context:
common: {{ common }}
ownership-{{ common.servo_home }}/buildbot/master:
file.directory:
- name: {{ common.servo_home }}/buildbot/master
- user: servo
- group: servo
- recurse:
- user
- group
/etc/init/buildbot-master.conf:
file.managed:
- source: salt://{{ tpldir }}/files/buildbot-master.conf
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.