Created
May 6, 2020 22:45
-
-
Save logicminds/8b08941f2d0e303ab047142e4603379e to your computer and use it in GitHub Desktop.
puppet sensitive datatype working example
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
class test(Sensitive $var1){ | |
file{'/tmp/test123.txt': | |
ensure => file, | |
content => $var1, | |
} | |
} | |
class{'test': var1 => Sensitive.new('doublesecret') } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This produces: