Fixes improper use of function 'warn' in backup manifest of server.
Have a look to the following sites: https://ask.puppetlabs.com/question/13288/whats-the-difference-between-warn-and-warning/ https://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html?_ga=1.41504802.1433359326.1439356343
This commit is contained in:
parent
afc1567396
commit
9d5816ad5c
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class mysql::server::backup (
|
||||||
) {
|
) {
|
||||||
|
|
||||||
if $prescript and $provider =~ /(mysqldump|mysqlbackup)/ {
|
if $prescript and $provider =~ /(mysqldump|mysqlbackup)/ {
|
||||||
warn("The \$prescript option is not currently implemented for the ${provider} backup provider.")
|
warning("The \$prescript option is not currently implemented for the ${provider} backup provider.")
|
||||||
}
|
}
|
||||||
|
|
||||||
create_resources('class', {
|
create_resources('class', {
|
||||||
|
|
Loading…
Reference in a new issue