projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set owner on watcher pause and queue drain files
[ganeti-local]
/
lib
/
tools
/
ensure_dirs.py
diff --git
a/lib/tools/ensure_dirs.py
b/lib/tools/ensure_dirs.py
index
8e72b0d
..
b50e37e
100644
(file)
--- a/
lib/tools/ensure_dirs.py
+++ b/
lib/tools/ensure_dirs.py
@@
-164,6
+164,10
@@
def GetPaths():
getent.masterd_uid, getent.masterd_gid, False),
(pathutils.JOB_QUEUE_ARCHIVE_DIR, DIR, 0700,
getent.masterd_uid, getent.masterd_gid),
getent.masterd_uid, getent.masterd_gid, False),
(pathutils.JOB_QUEUE_ARCHIVE_DIR, DIR, 0700,
getent.masterd_uid, getent.masterd_gid),
+ (pathutils.WATCHER_PAUSEFILE, FILE, 0644,
+ getent.masterd_uid, getent.masterd_gid, False),
+ (pathutils.JOB_QUEUE_DRAIN_FILE, FILE, 0644,
+ getent.masterd_uid, getent.masterd_gid, False),
(rapi_dir, DIR, 0750, getent.rapi_uid, getent.masterd_gid),
(pathutils.RAPI_USERS_FILE, FILE, 0640,
getent.rapi_uid, getent.masterd_gid, False),
(rapi_dir, DIR, 0750, getent.rapi_uid, getent.masterd_gid),
(pathutils.RAPI_USERS_FILE, FILE, 0640,
getent.rapi_uid, getent.masterd_gid, False),