Alexandros Kosiaris has submitted this change and it was merged.
Change subject: Pass --trusted_node_data to the compilation process
......................................................................
Pass --trusted_node_data to the compilation process
Since we are migrating to puppet 3.5+ we want to enable
trusted_node_data. Enable it in the puppet compiler as well
Change-Id: I5b08ccd036e25c35523aa1c7e0191fded5c84c25
---
M puppet_compiler/puppet.py
M puppet_compiler/tests/test_puppet.py
2 files changed, 2 insertions(+), 0 deletions(-)
Approvals:
Alexandros Kosiaris: Looks good to me, approved
jenkins-bot: Verified
diff --git a/puppet_compiler/puppet.py b/puppet_compiler/puppet.py
index 0783d26..8f8e510 100644
--- a/puppet_compiler/puppet.py
+++ b/puppet_compiler/puppet.py
@@ -21,6 +21,7 @@
os.path.join(srcdir, 'modules')),
'--confdir=%s' % srcdir,
'--templatedir=%s' % tpldir,
+ '--trusted_node_data',
'--compile=%s' % hostname,
'--color=false'
]
diff --git a/puppet_compiler/tests/test_puppet.py
b/puppet_compiler/tests/test_puppet.py
index 56688f1..fe951ae 100644
--- a/puppet_compiler/tests/test_puppet.py
+++ b/puppet_compiler/tests/test_puppet.py
@@ -27,6 +27,7 @@
'%(basedir)s/src/modules' % {'basedir': self.fixtures},
'--confdir=%s/%s' % (self.fixtures, 'src'),
'--templatedir=%s/%s' % (self.fixtures, 'src/templates'),
+ '--trusted_node_data',
'--compile=test.codfw.wmnet',
'--color=false'],
env=env,
--
To view, visit https://gerrit.wikimedia.org/r/302920
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5b08ccd036e25c35523aa1c7e0191fded5c84c25
Gerrit-PatchSet: 2
Gerrit-Project: operations/software/puppet-compiler
Gerrit-Branch: master
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits