Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions lib/puppet/functions/mysql/innobackupex_args.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# frozen_string_literal: true

# @summary this function populates and returns the string of arguments which later gets injected in template.
# arguments that return string holds is conditional and decided by the the input given to function.

# @summary
# This function populates and returns the string of arguments which later gets injected in template. Arguments that return string holds is conditional and decided by the the input given to function.
#
Puppet::Functions.create_function(:'mysql::innobackupex_args') do
# @param args
# String backupuser
# Boolean backupcompress
# String backuppassword_unsensitive
# Array backupdatabases
# Array optional_args
# @param backupuser
# The user to use for the backup.
# @param backupcompress
# If the backup should be compressed.
# @param backuppassword_unsensitive
# The password to use for the backup.
# @param backupdatabases
# The databases to backup.
# @param optional_args
# Additional arguments to pass to innobackupex.
#
# @return String
# Generated on the basis of provided values.
Expand Down