Skip to content

Commit

Permalink
Merge pull request #44667 from oarmstrong/develop
Browse files Browse the repository at this point in the history
Fix acme.cert to run certbot non-interactively
  • Loading branch information
Nicole Thomas committed Nov 27, 2017
2 parents 7adc0b5 + 4356d02 commit b29300e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions salt/modules/acme.py
Expand Up @@ -125,8 +125,7 @@ def cert(name,
salt 'gitlab.example.com' acme.cert dev.example.com "[gitlab.example.com]" test_cert=True renew=14 webroot=/opt/gitlab/embedded/service/gitlab-rails/public
'''

# cmd = [LEA, 'certonly', '--quiet']
cmd = [LEA, 'certonly']
cmd = [LEA, 'certonly', '--non-interactive']

cert_file = _cert_file(name, 'cert')
if not __salt__['file.file_exists'](cert_file):
Expand Down

0 comments on commit b29300e

Please sign in to comment.