Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
Fixes #22249 - Handle use_autosignfile in migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Jan 11, 2018
1 parent a7ba5e8 commit a250535
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/foreman-proxy-content-answers.yaml
Expand Up @@ -21,6 +21,7 @@ foreman_proxy:
foreman_ssl_ca: /etc/foreman-proxy/foreman_ssl_ca.pem
foreman_ssl_cert: /etc/foreman-proxy/foreman_ssl_cert.pem
foreman_ssl_key: /etc/foreman-proxy/foreman_ssl_key.pem
use_autosignfile: true
foreman_proxy::plugin::pulp:
enabled: false
pulpnode_enabled: true
Expand Down
@@ -0,0 +1,7 @@
if answers['foreman_proxy'] && !answers['foreman_proxy']['use_autosignfile']
answers['foreman_proxy']['use_autosignfile'] = true
if answers['foreman_proxy'].key?('puppetdir')
puppetdir = answers['foreman_proxy']['puppetdir']
answers['foreman_proxy']['autosignfile'] = puppetdir + '/autosign.conf'
end
end
1 change: 1 addition & 0 deletions config/katello-answers.yaml
Expand Up @@ -51,6 +51,7 @@ foreman_proxy:
foreman_ssl_ca: /etc/foreman-proxy/foreman_ssl_ca.pem
foreman_ssl_cert: /etc/foreman-proxy/foreman_ssl_cert.pem
foreman_ssl_key: /etc/foreman-proxy/foreman_ssl_key.pem
use_autosignfile: true
foreman_proxy::plugin::pulp:
enabled: true
pulpnode_enabled: false
Expand Down
1 change: 1 addition & 0 deletions config/katello-devel-answers.yaml
Expand Up @@ -23,6 +23,7 @@ foreman_proxy:
foreman_ssl_ca: /etc/foreman-proxy/foreman_ssl_ca.pem
foreman_ssl_cert: /etc/foreman-proxy/foreman_ssl_cert.pem
foreman_ssl_key: /etc/foreman-proxy/foreman_ssl_key.pem
use_autosignfile: true
puppet:
server: true
server_environments_owner: apache
Expand Down
@@ -0,0 +1,7 @@
if answers['foreman_proxy'] && !answers['foreman_proxy']['use_autosignfile']
answers['foreman_proxy']['use_autosignfile'] = true
if answers['foreman_proxy'].key?('puppetdir')
puppetdir = answers['foreman_proxy']['puppetdir']
answers['foreman_proxy']['autosignfile'] = puppetdir + '/autosign.conf'
end
end
@@ -0,0 +1,7 @@
if answers['foreman_proxy'] && !answers['foreman_proxy']['use_autosignfile']
answers['foreman_proxy']['use_autosignfile'] = true
if answers['foreman_proxy'].key?('puppetdir')
puppetdir = answers['foreman_proxy']['puppetdir']
answers['foreman_proxy']['autosignfile'] = puppetdir + '/autosign.conf'
end
end

0 comments on commit a250535

Please sign in to comment.