-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from ggatward/1.2.0_Hotfix
1.2.0 hotfix
- Loading branch information
Showing
8 changed files
with
72 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,8 @@ logging: | |
email: | ||
mailout: True | ||
mailfrom: Satellite 6 <[email protected]> | ||
mailto: [email protected] | ||
mailto: | ||
- [email protected] | ||
export: | ||
dir: /var/sat-export (Directory to export content to - Connected Satellite) | ||
|
@@ -308,6 +309,8 @@ puppet-forge-server: | |
servertype: puppet-forge-server | ||
hostname: puppetforge.example.org | ||
modulepath: /opt/puppet-forge/modules | ||
username: someuser | ||
token: ArtifactoryAPIToken | ||
``` | ||
|
||
``` | ||
|
@@ -326,6 +329,8 @@ optional arguments: | |
path to puppet-forge-server modules | ||
-u USER, --user USER Username to push modules to server as (default is user | ||
running script) | ||
-p PASSWORD --password PASSWORD | ||
Token for Artifactory API authentication | ||
``` | ||
|
||
### Examples | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,8 @@ logging: | |
email: | ||
mailout: True | ||
mailfrom: Satellite 6 <[email protected]> | ||
mailto: [email protected] | ||
mailto: | ||
- [email protected] | ||
|
||
export: | ||
dir: /var/sat-export | ||
|
@@ -53,3 +54,5 @@ puppet-forge-server: | |
servertype: puppet-forge-server | ||
hostname: puppetforge.example.org | ||
modulepath: /opt/puppet-forge/modules | ||
username: pfuser | ||
token: ABCdef123ABCded382654 |
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 |
---|---|---|
|
@@ -13,18 +13,18 @@ push_puppetforge \- Export puppet forge modules and push to puppet-forge-server | |
.B push_puppetforge | ||
is a script to push puppet forge modules that have been synchronised using Satellite 6 | ||
to an offline puppet forge server that uses the puppet-forge-server rubygem instance: | ||
.br | ||
.br | ||
.I https://github.com/unibet/puppet-forge-server | ||
.LP | ||
The puppet-forge-server instance requires a specific format for the module filesystem that | ||
differst from that used by Satellite 6. To make use of this script, the connected Satellite | ||
must sync the puppet-forge repository, and have that repo included for the | ||
different from that used by Satellite 6. To make use of this script, the connected Satellite | ||
must sync the puppet-forge repository, and have that repo included for the | ||
.BR sat_export (8) | ||
script. The disconnected Satellite must import the puppet modules into an identically named | ||
puppet repository. | ||
.LP | ||
.BR push_puppetforge " will" | ||
export the puppet modules from the disconnected Satellite and use rsync to transfer them to | ||
export the puppet modules from the disconnected Satellite and use rsync to transfer them to | ||
the offline puppet-forge-server instance. | ||
|
||
.SH OPTIONS | ||
|
@@ -51,7 +51,7 @@ Label of the puppet-forge repository in Satellite to use as the sync source. | |
.RS 3 | ||
Hostname of the puppet-forge-server instance. | ||
.br | ||
The default value is configured in the | ||
The default value is configured in the | ||
.I config.yml | ||
file | ||
.RE | ||
|
@@ -65,12 +65,18 @@ Location of the puppet modules on the puppet-forge-server instance. (Default is | |
.BR "-u", " --user" | ||
.I USER | ||
.RS 3 | ||
Username to login to the puppet-forge-server as. Default is the user running the | ||
Username to login to the puppet-forge-server as. Default is the user running the | ||
.B push_puppetforge | ||
script, from the | ||
script, from the | ||
.I SUDO_USER | ||
environment variable. | ||
.RE | ||
.PP | ||
.BR "-p", " --password" | ||
.I PASSWORD | ||
.RS 3 | ||
API Token for user to post modules to Artifactory. Ignored if servertype is puppet-forge-server. | ||
.RE | ||
|
||
.SH FILES | ||
.B Main Configuration | ||
|
@@ -89,4 +95,3 @@ environment variable. | |
|
||
.SH AUTHOR | ||
Geoff Gatward <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -101,9 +101,11 @@ Enable/Disable mailout functionality. | |
Sender email address envelope. | ||
.RE | ||
|
||
.B " mailto: [email protected] | ||
.B " mailto:" | ||
.br | ||
.B " - [email protected]" | ||
.RS | ||
Recipient email address. | ||
List of recipient email addresses. | ||
.RE | ||
|
||
|
||
|
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