Skip to content

Commit

Permalink
Added substeps to regenerating resource types
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms authored and zilchms committed Dec 6, 2021
1 parent bf6b636 commit 3a0d4e3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,14 @@ This may affect configuration files which are influenced by the following puppet
This may be fixed by doing the following steps in order:
1. Update all environments containing this module to the latest version
2. Regenerate all resource types in case you are using environment isolation
2.1 Delete old resource types for each environment
```
rm -rf /etc/puppetlabs/code/environment/xxx/.resource\_types/
```
2.2 Generate new resource types for each environment
```
puppet generate types --environment xxx
```
3. Restart the puppetserver service

## Release Notes
Expand Down

0 comments on commit 3a0d4e3

Please sign in to comment.