ubuntu-repo-manager
InternalServiceSystem/ubuntu-repo-manager/nexus
A terraform module to easily manage nexus apt proxies for ubuntu.
Ubuntu Repo Manager for Nexus The current version of Nexus does not support multiple debian distributions in a single repository. This module creates proxy repos for the default used Ubuntu repositiories. base repo (ie bionic) updates security backports For an example of this module in use, see ISS Apt Nexus Terraform Requirements The nexus provider must be installed in your terraform plugins path. Download it from datadrivers/terraform-provider-nexus and extract it to you ~/terraform.d/plugins directory. Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | codename | The Ubuntu Distribution's CodeName. | string | "bionic" | no | | nexus\_url | The URL of the Nexus server. | string | n/a | yes | | remote\_url | The URL of the Ubuntu
| Name | Type | Description | Default |
|---|---|---|---|
| nexus_url | string | The URL of the Nexus server. | required |
| codename | string | The Ubuntu Distribution's CodeName. | "bionic" |
| repos | list(string) | The Ubuntu Distribution's repos to add. | [
"updates",
"security",
"backport |
| remote_url | string | The URL of the Ubuntu Repository to target. | "http://us.archive.ubuntu.com/ubuntu/" |
nexus_repo_names — The list of nexus repository names that were createdrepo_list — The list of repo codenames that were createdrepo_urls — A map of the repo codename to the url. [bionic-updates, https://yoururl/repositories/ubuntu-bionic-u