Skip to content

Commit

Permalink
Drop mentions of --foreman-proxy-register-in-foreman
Browse files Browse the repository at this point in the history
By removing mentions of this, it becomes an unsupported feature. This is
good because various parts of the documentation assume it's turned on.
Users can easily get into unexpected errors way further down the line if
they disable this feature.

Where there were explicit instructions to disable it, the text is
changed into troubleshooting.
  • Loading branch information
ekohl committed Jan 17, 2025
1 parent 078bc30 commit 5db7c76
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Retain a copy of the `{foreman-installer}` command that the `{certs-generate}` c
_output omitted_
{installer-scenario-smartproxy} \
--certs-tar-file "/root/{smart-proxy-context}_cert/_{smartproxy-example-com}_-certs.tar" \
--foreman-proxy-register-in-foreman "true" \
--foreman-proxy-foreman-base-url "https://_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{smartproxy-example-com}_" \
Expand All @@ -56,8 +55,8 @@ root@_{smartproxy-example-com}_:/root/_{smartproxy-example-com}_-certs.tar

. On {SmartProxyServer}, to deploy the certificate, enter the `{foreman-installer}` command that the `{certs-generate}` command returns.
+
When network connections or ports to {Project} are not yet open, you can set the `--foreman-proxy-register-in-foreman` option to `false` to prevent {SmartProxy} from attempting to connect to {Project} and reporting errors.
Run the installer again with this option set to `true` when the network and firewalls are correctly configured.
When network connections or ports to {Project} are not yet open, registration of the {SmartProxy} will fail.
Correctly configure the network and firewalls before rerunning the installer.
+
[IMPORTANT]
====
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ Retain a copy of the example `{foreman-installer}` command from the output for i
--foreman-proxy-oauth-consumer-key "_oauth key_" \
--foreman-proxy-oauth-consumer-secret "_oauth secret_" \
--foreman-proxy-puppetca "false" \
--foreman-proxy-register-in-foreman "true" \
--foreman-proxy-trusted-hosts "_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{smartproxy-example-com}_" \
--puppet-ca-server "_{smart-proxy-context}-ca.example.com_" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ Retain a copy of the example `{foreman-installer}` command that is output by the
--foreman-proxy-oauth-consumer-key "_oauth key_" \
--foreman-proxy-oauth-consumer-secret "_oauth secret_" \
--foreman-proxy-puppetca "false" \
--foreman-proxy-register-in-foreman "true" \
--foreman-proxy-trusted-hosts "_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{smartproxy-example-com}_" \
--puppet-ca-server "_{smart-proxy-context}-ca.example.com_" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ Retain a copy of the example `{foreman-installer}` command from the output for i
--foreman-proxy-foreman-base-url "_https://{foreman-example-com}_" \
--foreman-proxy-oauth-consumer-key "_oauth key_" \
--foreman-proxy-oauth-consumer-secret "_oauth secret_" \
--foreman-proxy-register-in-foreman "true" \
--foreman-proxy-trusted-hosts "_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{smartproxy-example-com}_"
----
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ Retain a copy of the example `{foreman-installer}` command from the output for i
--foreman-proxy-oauth-consumer-key "oauth key" \
--foreman-proxy-oauth-consumer-secret "oauth secret" \
--foreman-proxy-puppetca "true" \
--foreman-proxy-register-in-foreman "true" \
--foreman-proxy-trusted-hosts "_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{smart-proxy-context}-ca.example.com_" \
--puppet-ca-server "_{smart-proxy-context}-ca.example.com_" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ Retain a copy of the example `{foreman-installer}` command that is output by the
--foreman-proxy-foreman-base-url "_https://{foreman-example-com}_" \
--foreman-proxy-oauth-consumer-key "_oauth key_" \
--foreman-proxy-oauth-consumer-secret "_oauth secret_" \
--foreman-proxy-register-in-foreman "true" \
--foreman-proxy-trusted-hosts "_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{smartproxy-example-com}_"
----
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ Retain a copy of the example `{foreman-installer}` command that is output by the
--foreman-proxy-oauth-consumer-key "_oauth key_" \
--foreman-proxy-oauth-consumer-secret "_oauth secret_" \
--foreman-proxy-puppetca "true" \
--foreman-proxy-register-in-foreman "true" \
--foreman-proxy-trusted-hosts "_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{smart-proxy-context}-ca.example.com_" \
--puppet-ca-server "_{smart-proxy-context}-ca.example.com_" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ For more information, see xref:Installing_Proxy_Packages_{smart-proxy-context}[]
_output omitted_
{installer-scenario-smartproxy} \
--certs-tar-file "/root/_{smartproxy-example-com}_-certs.tar" \
--foreman-proxy-register-in-foreman "true" \
--foreman-proxy-foreman-base-url "https://_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{foreman-example-com}_" \
--foreman-proxy-trusted-hosts "_{smartproxy-example-com}_" \
Expand All @@ -54,8 +53,8 @@ root@_{smartproxy-example-com}_:/root/_{smartproxy-example-com}_-certs.tar
----
. On your {SmartProxyServer}, to deploy the certificate, enter the `{foreman-installer}` command that the `{certs-generate}` command returns.
+
If network connections or ports to {Project} are not yet open, you can set the `--foreman-proxy-register-in-foreman` option to `false` to prevent {SmartProxy} from attempting to connect to {Project} and reporting errors.
Run the installer again with this option set to `true` when the network and firewalls are correctly configured.
When network connections or ports to {Project} are not yet open, registration of the {SmartProxy} will fail.
Correctly configure the network and firewalls before rerunning the installer.
+
[IMPORTANT]
====
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ You can move the copied file to the applicable path if required.
# {installer-scenario-smartproxy} \
--certs-tar-file "_/root/My_Certificates/{smartproxy-example-com}-certs.tar_" \
--certs-update-server \
--foreman-proxy-foreman-base-url "https://_{foreman-example-com}_" \
--foreman-proxy-register-in-foreman "true"
--foreman-proxy-foreman-base-url "https://_{foreman-example-com}_"
----

[IMPORTANT]
Expand Down

0 comments on commit 5db7c76

Please sign in to comment.