-
Notifications
You must be signed in to change notification settings - Fork 87
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 #155 from github/kpaulisse-mega-merge
Release 1.5.0
- Loading branch information
Showing
56 changed files
with
1,373 additions
and
414 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.4.1 | ||
1.5.0 |
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,70 @@ | ||
# Environment variables | ||
|
||
The following environment variables have special meaning to octocatalog-diff: | ||
|
||
### `OCTOCATALOG_DIFF_CONFIG_FILE` | ||
|
||
This environment variable is used to locate the configuration file for the CLI. The use of configuration files is described generally in: | ||
|
||
- [Configuration](/doc/configuration.md) | ||
|
||
### `OCTOCATALOG_DIFF_CUSTOM_VERSION` | ||
|
||
When set, the `octocatalog-diff` CLI will display this as the version number within debugging, instead of the version number in the package. This is most useful if you want to use or include a git SHA in the version number. | ||
|
||
``` | ||
$ export OCTOCATALOG_DIFF_CUSTOM_VERSION="@$(git rev-parse HEAD)" | ||
$ octocatalog-diff -d ... | ||
D, [2017-10-12T08:57:46.454738 #35205] DEBUG -- : Running octocatalog-diff @504d7f3c91267e5193beb103caae5d4d8cebfee3 with ruby 2.3.1 | ||
... | ||
``` | ||
|
||
### `OCTOCATALOG_DIFF_DEVELOPER_PATH` | ||
|
||
When set, instead of loading libraries from the system or bundler location, libraries will be loaded from the specified value of this environment variable. This is used internally for development as we point users to unreleased code for debugging or testing. | ||
|
||
``` | ||
$ export OCTOCATALOG_DIFF_DEVELOPER_PATH=$HOME/git-checkouts/octocatalog-diff | ||
$ octocatalog-diff ... | ||
``` | ||
|
||
### `OCTOCATALOG_DIFF_TEMPDIR` | ||
|
||
When set: | ||
|
||
- `octocatalog-diff` will create all of its temporary directories within the specified directory. | ||
- `octocatalog-diff` will not attempt to remove any temporary directories it creates. | ||
|
||
This is useful in the following situations: | ||
|
||
- You are calling `octocatalog-diff` from within another program which is highly parallelized, and `at_exit` handlers are difficult to implement. Instead of figuring that all out (if it can even be figured out), you create a temporary directory before the parallelized logic, and remove it afterwards. | ||
|
||
- You wish to debug intermediate output. For example, you may be instructed to set this variable and send some of the output to the project maintainers if you request assistance. | ||
|
||
This variable is used internally for the parallelized logic for catalog compilation, but the value set from the environment will override any internal usage. | ||
|
||
### `OCTOCATALOG_DIFF_VERSION` | ||
|
||
This variable is used when building the gem, to override the default version. This is used for internal testing of `octocatalog-diff` before public releases. This variable is not useful outside the build context. | ||
|
||
### `PUPPETDB_HOST` | ||
|
||
This variable specifies the fully qualified domain name or IP address of the PuppetDB server. | ||
|
||
Note: If `PUPPETDB_URL` is specified, then `PUPPETDB_HOST` is not consulted. | ||
|
||
### `PUPPETDB_PORT` | ||
|
||
This variable specifies the port number of the PuppetDB server. | ||
|
||
Note: If `PUPPETDB_URL` is specified, then `PUPPETDB_PORT` is not consulted. | ||
|
||
### `PUPPETDB_URL` | ||
|
||
This variable specifies the URL to the PuppetDB server. | ||
|
||
Example: `https://puppetdb.example.net:8081` | ||
|
||
### `PUPPET_FACT_DIR` | ||
|
||
This variable specifies the directory path where puppet fact files are stored. (Fact files must be named `<fqdn>.yaml` where `<fqdn>` is specified when running `octocatalog-diff`.) |
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
Oops, something went wrong.