Skip to content

Commit 8fceca2

Browse files
Isaiah FrantzIsaiah Frantz
authored andcommitted
Merge branch 'master' of https://github.com/github/octocatalog-diff into parallel_conflict_with_diffy
2 parents 56bbbb8 + c0ec977 commit 8fceca2

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ We will handle updating the version, tagging the release, and releasing the gem.
2222

2323
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
2424

25-
- Make sure your contribution is consistent with our [roadmap](roadmap.md).
25+
- Make sure your contribution is consistent with our [roadmap](/doc/roadmap.md).
2626

2727
- Follow the [style guide](https://github.com/bbatsov/ruby-style-guide).
2828

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ If you have a problem or suggestion, please [open an issue](https://github.com/g
8181

8282
It requires 3rd party ruby gems found [here](/vendor/cache). It also includes portions of other open source projects [here](/lib/octocatalog-diff/external/pson), [here](/spec/octocatalog-diff/fixtures/repos/default/modules/stdlib), [here](/spec/octocatalog-diff/support/httparty) and [here](/spec/octocatalog-diff/tests/external/pson). All 3rd party code and required gems are licensed either as MIT or Apache 2.0.
8383

84-
## Authors
84+
## Authors / Owners
8585

86-
`octocatalog-diff` was designed and authored by [Kevin Paulisse](https://github.com/kpaulisse) and is now maintained, reviewed, and tested by Kevin and the rest of the Site Reliability Engineering team at GitHub.
86+
`octocatalog-diff` was originally designed and authored by [Kevin Paulisse](https://github.com/kpaulisse), and is now maintained by the Site Reliability Engineering team at GitHub.

doc/limitations.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
Testing of Puppet catalogs is faster than running the agent, but you need to be careful of the following limitations:
44

5-
0. Facts are not taken from a live agent run
5+
1. Facts are not taken from a live agent run
66

7-
octocatalog-diff by default uses the facts reported from a node's more recent Puppet run. If you have made changes to custom facts, catalog testing will **NOT** be an adequate test of whether your custom facts worked. (You can still use octocatalog-diff to help predict changes to nodes based on changes to facts, by overriding facts on the command line.)
7+
octocatalog-diff by default uses the facts reported from a node's more recent Puppet run. If you have made changes to custom facts, catalog testing will **NOT** be an adequate test of whether your custom facts worked. (You can still use octocatalog-diff to help predict changes to nodes based on changes to facts, by overriding facts on the command line.)
88

9-
0. Agents handle depenency ordering and implementation details
9+
1. Agents handle depenency ordering and implementation details
1010

11-
The catalog defines the state of the system, but it's up to the agent to determine how to bring the system to a point that matches the catalog. The agent is responsible for order of operations and actually making the change.
11+
The catalog defines the state of the system, but it's up to the agent to determine how to bring the system to a point that matches the catalog. The agent is responsible for order of operations and actually making the change.
1212

13-
Two specific situations that catalog testing does **NOT** detect are:
13+
Two specific situations that catalog testing does **NOT** detect are:
1414

15-
- Dependency loops (e.g., you have made A require B, B require C, and C require A).
15+
- Dependency loops (e.g., you have made A require B, B require C, and C require A).
1616

17-
- Operations not supported by the provider. For example, assume that in your current Puppet manifests, you set the size of a file system to 100 GB. You change this in your new branch to 50 GB. octocatalog-diff will dutifully report this change to you. However, the agent will fail to make the change, because it is not possible to shrink a file system from 100 GB to 50 GB.
17+
- Operations not supported by the provider. For example, assume that in your current Puppet manifests, you set the size of a file system to 100 GB. You change this in your new branch to 50 GB. octocatalog-diff will dutifully report this change to you. However, the agent will fail to make the change, because it is not possible to shrink a file system from 100 GB to 50 GB.
1818

19-
0. Changes in underlying providers may not be noticed
19+
1. Changes in underlying providers may not be noticed
2020

21-
Consider that you are using a Puppet module that creates a file system. The current implementation of that module checks to see if *any* file system is present on the device, and creates a new file system there if no file system was present. You upgrade the module, and the new version checks to see if *the specified* file system is present on the device, and reformats the device with the specified file system (regardless of whether there was no file system or if there was an existing file system of a different type). There would be no catalog changes (hence octocatalog-diff would report nothing) because the catalog simply instructs the agent to create a file system of the specified type at the defined location. However, the actual implementation of those instructions has changed dramatically.
21+
Consider that you are using a Puppet module that creates a file system. The current implementation of that module checks to see if *any* file system is present on the device, and creates a new file system there if no file system was present. You upgrade the module, and the new version checks to see if *the specified* file system is present on the device, and reformats the device with the specified file system (regardless of whether there was no file system or if there was an existing file system of a different type). There would be no catalog changes (hence octocatalog-diff would report nothing) because the catalog simply instructs the agent to create a file system of the specified type at the defined location. However, the actual implementation of those instructions has changed dramatically.
2222

2323
In general catalog testing is great for:
2424

0 commit comments

Comments
 (0)