Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTP proxy policy setting for Template Sync #3409

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,14 @@ Do not specify a passphrase.
----
# sudo --user foreman ssh _git.example.com_
----
. Configure the Template Sync plugin settings on a *Template Sync* tab.
.. Change the *Branch* setting to match the target branch on a Git server.
.. Change the *Repo* setting to match the Git repository.
For example, for the repository located in `[email protected]/templates.git` set the setting into `[email protected]/templates.git`.
. In the {ProjectWebUI}, provide details for your Git repository:
.. Navigate to *Administer > Settings*.
.. Click the *Template Sync* tab.
.. Change the *Branch* setting to define the target branch of the repository.
.. Change the *Repo* setting to define the repository URL.
.. If you want to use an HTTP proxy to connect to the repository, change the *HTTP proxy policy* setting to `Global default HTTP proxy` or `Custom HTTP proxy`.

.Next steps

* To import templates from your repository, continue with xref:Importing_Templates_{context}[].
* To export templates from your repository, continue with xref:Exporting_Templates_{context}[].
asteflova marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions guides/common/modules/ref_template-sync-settings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
Case-insensitive.
Snippets are not filtered.
| *Force import* | No | If set to `Yes`, locked templates are overwritten during an import.
| *HTTP proxy policy* | Global default HTTP proxy | HTTP proxy policy for template sync.
asteflova marked this conversation as resolved.
Show resolved Hide resolved
| *Lock templates* | Keep, do not lock new | How to handle lock for imported templates.
| *Metadata export mode* | Refresh | Default metadata export mode.

Expand Down