summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-09-06 08:59:38 +0000
committerGerrit Code Review <review@openstack.org>2017-09-06 08:59:38 +0000
commit4ae0e5d31c7a3bd0f02c13046237e585c6cb21ae (patch)
tree943d92770cfba298577f27d6c4b2b1df7f2d90be /docker
parente135d71dc02c50a686774752cbc50fed112fb543 (diff)
parent41d599cb37fbc082a4869e32b520d7017085c4f7 (diff)
Merge "Set mode for ansible written files" into stable/pike
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/docker-puppet.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/docker-puppet.py b/docker/docker-puppet.py
index 613adf10..0451ed51 100755
--- a/docker/docker-puppet.py
+++ b/docker/docker-puppet.py
@@ -366,6 +366,7 @@ for infile in infiles:
outfile = os.path.join(os.path.dirname(infile), "hashed-" + os.path.basename(infile))
with open(outfile, 'w') as out_f:
+ os.chmod(out_f.name, 0600)
json.dump(infile_data, out_f)
if not success: