Skip to content

Commit 2d28eb7

Browse files
committed
We ignore the argument under Puppet 5
1 parent 2e37dbf commit 2d28eb7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/advanced-catalog-validation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44

55
Catalog validation features include:
66

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.
88

99
## Validate references
1010

1111
`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.
1212

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.
14+
1315
Consider the following Puppet code:
1416

1517
```

0 commit comments

Comments
 (0)