This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
substitute variables also on datadir path
By providing the possibility that datadir can also contain variables we enable true per enviornment data lookup. Given that you use environments for example to test your manifests in different versions, up to now you could still have only one datadir path. However, if you use extlookup in combination with that kind of environments you might want to have your configuration data aside your modules in the same repository. While having your code (and data) being checked out in different versions as multiple environments, extlookup would still lookup your data from the same source represented by only one version. For sure you could precedence your data by the current environment and thus simulating some kind of data versioning. But this method is quite cumbersome and not treating data the same way as your code. You can now use variables in datadir the same way you can use them in the precedences: :datadir: /etc/puppet/environments/%{environment}/extdata This enables also other possibilities, such as having different data sources by customers to which they could have write access.
- Loading branch information
Showing
6 changed files
with
53 additions
and
15 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
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
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