Skip to content

Commit

Permalink
Merge pull request #101 from matyasselmeci/wip/sw3161-disablewnproxyr…
Browse files Browse the repository at this point in the history
…enewal

Set blah_delegate_renewed_proxies and blah_disable_limited_proxy (SOFTWARE-3161)
  • Loading branch information
matyasselmeci authored Jun 20, 2018
2 parents f4d79d9 + be0df4f commit 7c9c796
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions osg_configure/modules/jobmanagerconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,11 @@ def write_binpaths_to_blah_config(self, jobmanager, submit_binpath):
def write_blah_disable_wn_proxy_renewal_to_blah_config(self):
if os.path.exists(self.BLAH_CONFIG):
contents = utilities.read_file(self.BLAH_CONFIG)
contents = utilities.add_or_replace_setting(contents, "blah_disable_wn_proxy_renewal", "yes",
quote_value=True)
for option, value in [("blah_disable_wn_proxy_renewal", "yes"),
("blah_delegate_renewed_proxies", "no"),
("blah_disable_limited_proxy", "yes")]:
contents = utilities.add_or_replace_setting(contents, option, value,
quote_value=True)
utilities.atomic_write(self.BLAH_CONFIG, contents)

def write_htcondor_ce_sentinel(self):
Expand Down

0 comments on commit 7c9c796

Please sign in to comment.