Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always convert the content param to string, change the default to 'true'
- Change the default value of the content parameter to 'true'. - Always convert its value to string The above changes make it now possible to use: - `puppet resource fact` (on CLI) to show all external facts - `resources { 'fact': purge => true } on a puppet manifest, to remove all unmanaged external facts We are now able to omit the content parameter, since it has a default value. Accepting boolean values for the content parameter is also now possible. Signed-off-by: Vikraman Choudhury <vikraman.choudhury@gmail.com> Signed-off-by: Theo Chatzimichos <tampakrap@gmail.com> fixes #9
- Loading branch information
Showing
2 changed files
with
21 additions
and
5 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