-
Notifications
You must be signed in to change notification settings - Fork 883
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3ed704
commit 5efafc2
Showing
12 changed files
with
70 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
cc_apk_configure: | ||
name: APK Configure | ||
title: Configure apk repositories file | ||
description: | | ||
This module handles configuration of the /etc/apk/repositories file. | ||
.. note:: | ||
To ensure that apk configuration is valid yaml, any strings | ||
containing special characters, especially ``:`` should be quoted. | ||
examples: | ||
- comment: Keep the existing /etc/apk/repositories file unaltered. | ||
file: ../../module-docs/cc_apk_configure/example1.yaml | ||
- comment: Create repositories file for Alpine v3.12 main and community using default mirror site. | ||
file: ../../module-docs/cc_apk_configure/example2.yaml | ||
- comment: Create repositories file for Alpine Edge main, community, and testing using a specified mirror site and also a local repo. | ||
file: ../../module-docs/cc_apk_configure/example3.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#cloud-config | ||
apk_repos: | ||
preserve_repositories: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#cloud-config | ||
apk_repos: | ||
alpine_repo: | ||
community_enabled: true | ||
version: 'v3.12' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#cloud-config | ||
apk_repos: | ||
alpine_repo: | ||
base_url: https://some-alpine-mirror/alpine | ||
community_enabled: true | ||
testing_enabled: true | ||
version: edge | ||
local_repo_base_url: https://my-local-server/local-alpine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
cc_apt_pipelining: | ||
name: Apt Pipelining | ||
title: Configure apt pipelining | ||
description: | | ||
This module configures apt's ``Acquite::http::Pipeline-Depth`` option, | ||
which controls how apt handles HTTP pipelining. It may be useful for | ||
pipelining to be disabled, because some web servers, such as S3 do not | ||
pipeline properly (LP: #948461). | ||
Value configuration options for this module are: | ||
* ``os``: (Default) use distro default | ||
* ``false`` disable pipelining altogether | ||
* ``<number>``: Manually specify pipeline depth. This is not recommended. | ||
examples: | ||
- comment: "" | ||
file: ../../module-docs/cc_apt_pipelining/example1.yaml | ||
- comment: "" | ||
file: ../../module-docs/cc_apt_pipelining/example2.yaml | ||
- comment: "" | ||
file: ../../module-docs/cc_apt_pipelining/example3.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#cloud-config | ||
apt_pipelining: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#cloud-config | ||
apt_pipelining: os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#cloud-config | ||
apt_pipelining: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters