You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/advanced-catalog-validation.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,14 @@
4
4
5
5
Catalog validation features include:
6
6
7
-
- Validate references: Ensure resources targeted by `before`, `notify`, `require`, and/or `subscribe` exist in the catalog
7
+
- Validate references: Ensure resources targeted by `before`, `notify`, `require`, and/or `subscribe` exist in the catalog for Puppet 4 and below.
8
8
9
9
## Validate references
10
10
11
11
`octocatalog-diff` includes the ability to validate references by ensuring resources targeted by `before`, `notify`, `require`, and/or `subscribe` parameters also exist in the catalog.
12
12
13
+
Puppet 5 already has this checking built in, so the `--validate-references` option described in this section will be ignored if Puppet 5 is being used. The same exception (`OctocatalogDiff::Errors::CatalogError`) is raised for a missing reference, whether the problem was detected by octocatalog-diff or Puppet 5.
Copy file name to clipboardExpand all lines: doc/dev/api/v1/calls/catalog-diff.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,7 @@ The following exceptions may occur during the compilation of a catalog within th
194
194
195
195
-`OctocatalogDiff::Errors::CatalogError`
196
196
197
-
Catalog failed to compile. Please note that whenever possible, a `OctocatalogDiff::API::V1::Catalog` object is still constructed for a failed catalog, with `#valid?` returning false.
197
+
Catalog failed to compile. Please note that whenever possible, a `OctocatalogDiff::API::V1::Catalog` object is still constructed for a failed catalog, with `#valid?` returning false. It's also possible that the catalog contained broken references -- see [Catalog validation](/doc/advanced-catalog-validation.md).
198
198
199
199
-`OctocatalogDiff::Errors::GitCheckoutError`
200
200
@@ -203,7 +203,3 @@ The following exceptions may occur during the compilation of a catalog within th
203
203
-`OctocatalogDiff::Errors::PuppetVersionError`
204
204
205
205
The version of Puppet could not be determined, generally because the Puppet binary was not found, or does not respond as expected to `puppet version`.
Copy file name to clipboardExpand all lines: doc/dev/api/v1/calls/catalog.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ The following exceptions may occur during the compilation of a catalog:
100
100
101
101
-`OctocatalogDiff::Errors::CatalogError`
102
102
103
-
Catalog failed to compile. Please note that whenever possible, a `OctocatalogDiff::API::V1::Catalog` object is still constructed for a failed catalog, with `#valid?` returning false.
103
+
Catalog failed to compile. Please note that whenever possible, a `OctocatalogDiff::API::V1::Catalog` object is still constructed for a failed catalog, with `#valid?` returning false. It's also possible that the catalog contained broken references -- see [Catalog validation](/doc/advanced-catalog-validation.md).
104
104
105
105
-`OctocatalogDiff::Errors::GitCheckoutError`
106
106
@@ -109,7 +109,3 @@ The following exceptions may occur during the compilation of a catalog:
109
109
-`OctocatalogDiff::Errors::PuppetVersionError`
110
110
111
111
The version of Puppet could not be determined, generally because the Puppet binary was not found, or does not respond as expected to `puppet version`.
0 commit comments