diff --git a/manifests/backup.pp b/manifests/backup.pp index 5f6f7c8..4c9b319 100644 --- a/manifests/backup.pp +++ b/manifests/backup.pp @@ -44,7 +44,7 @@ define mysql_backup::backup ( require => File[$dest_dir], } - include ::logrotate + include logrotate logrotate::file { "${name}-rotate": log => "${dest_dir}/${name}.sql.gz", options => [ diff --git a/manifests/backup_remote.pp b/manifests/backup_remote.pp index d0cf414..a7dedf7 100644 --- a/manifests/backup_remote.pp +++ b/manifests/backup_remote.pp @@ -57,7 +57,7 @@ define mysql_backup::backup_remote ( ], } - include ::logrotate + include logrotate logrotate::file { "${name}-rotate": log => "${dest_dir}/${name}.sql.gz", options => [ diff --git a/templates/my.cnf.erb b/templates/my.cnf.erb index cc37447..fcc192b 100644 --- a/templates/my.cnf.erb +++ b/templates/my.cnf.erb @@ -2,3 +2,4 @@ host=<%= @database_host %> user=<%= @database_user %> password=<%= @database_password %> +ssl=false