File tree 1 file changed +2
-2
lines changed
lib/puppet/parser/functions 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 15
15
`undef` or an empty string." ) do |args |
16
16
raise ( ArgumentError , "fqdn_rand_string(): wrong number of arguments (0 for 1)" ) if args . size == 0
17
17
Puppet ::Parser ::Functions . function ( 'is_integer' )
18
- raise ( ArgumentError , "fqdn_rand_base64 (): first argument must be a positive integer" ) unless function_is_integer ( [ args [ 0 ] ] ) and args [ 0 ] . to_i > 0
19
- raise ( ArgumentError , "fqdn_rand_base64 (): second argument must be undef or a string" ) unless args [ 1 ] . nil? or args [ 1 ] . is_a? String
18
+ raise ( ArgumentError , "fqdn_rand_string (): first argument must be a positive integer" ) unless function_is_integer ( [ args [ 0 ] ] ) and args [ 0 ] . to_i > 0
19
+ raise ( ArgumentError , "fqdn_rand_string (): second argument must be undef or a string" ) unless args [ 1 ] . nil? or args [ 1 ] . is_a? String
20
20
21
21
Puppet ::Parser ::Functions . function ( 'fqdn_rand' )
22
22
You can’t perform that action at this time.
0 commit comments