File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/puppet/parser/functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module Puppet::Parser::Functions
13
13
the pasword using the parameters you provide to the user resource.
14
14
15
15
@example Plain text password and salt
16
- $pw_info = str2saltedpbkdf2('Pa55w0rd', 'Using s0m3 s@lt', 50000)
16
+ $pw_info = str2saltedpbkdf2('Pa55w0rd', 'Use a s@lt h3r3 th@t is 32 byt3s ', 50000)
17
17
user { 'jdoe':
18
18
ensure => present,
19
19
iterations => $pw_info['interations'],
@@ -23,7 +23,7 @@ module Puppet::Parser::Functions
23
23
24
24
@example Sensitive password and salt
25
25
$pw = Sensitive.new('Pa55w0rd')
26
- $salt = Sensitive.new('Using s0m3 s@lt')
26
+ $salt = Sensitive.new('Use a s@lt h3r3 th@t is 32 byt3s ')
27
27
$pw_info = Sensitive.new(str2saltedpbkdf2($pw, $salt, 50000))
28
28
user { 'jdoe':
29
29
ensure => present,
You can’t perform that action at this time.
0 commit comments