Skip to content

Commit e1fa4b1

Browse files
Dinesh GujarDinesh Gujar
Dinesh Gujar
authored and
Dinesh Gujar
committed
CAT-1147 comments added
1 parent 26c3eff commit e1fa4b1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

lib/puppet/functions/mysql/innobackupex_args.rb

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# frozen_string_literal: true
22

3+
# @summary this function populates and returns the string of arguments which later gets injected in template.
4+
# arguments that return string holds is conditional and decided by the the input given to function.
5+
36
Puppet::Functions.create_function(:'mysql::innobackupex_args') do
7+
# @param args
8+
# String backupuser
9+
# Boolean backupcompress
10+
# String backuppassword_unsensitive
11+
# Array backupdatabases
12+
# Array optional_args
13+
#
14+
# @return String
15+
# Generated on the basis of provided values.
16+
#
417
dispatch :innobackupex_args do
518
required_param 'Optional[String]', :backupuser
619
required_param 'Boolean', :backupcompress

0 commit comments

Comments
 (0)