references to README.md and default values were added to workaround warnings from puppet-lint

This commit is contained in:
Dmitry Melanchenko 2015-04-15 21:25:37 +00:00
parent 97c9eea81e
commit 6a79d26838
6 changed files with 51 additions and 49 deletions

View file

@ -1,21 +1,21 @@
# See README.me for usage.
class mysql::backup::mysqlbackup (
$backupuser,
$backuppassword,
$backupdir,
$backupdirmode = '0700',
$backupdirowner = 'root',
$backupdirgroup = $mysql::params::root_group,
$backupcompress = true,
$backuprotate = 30,
$ignore_events = true,
$backupuser = '',
$backuppassword = '',
$backupdir = '',
$backupdirmode = '0700',
$backupdirowner = 'root',
$backupdirgroup = $mysql::params::root_group,
$backupcompress = true,
$backuprotate = 30,
$ignore_events = true,
$delete_before_dump = false,
$backupdatabases = [],
$file_per_database = false,
$ensure = 'present',
$time = ['23', '5'],
$postscript = false,
$execpath = '/usr/bin:/usr/sbin:/bin:/sbin',
$backupdatabases = [],
$file_per_database = false,
$ensure = 'present',
$time = ['23', '5'],
$postscript = false,
$execpath = '/usr/bin:/usr/sbin:/bin:/sbin',
) {
mysql_user { "${backupuser}@localhost":

View file

@ -1,21 +1,21 @@
# See README.me for usage.
class mysql::backup::mysqldump (
$backupuser,
$backuppassword,
$backupdir,
$backupdirmode = '0700',
$backupdirowner = 'root',
$backupdirgroup = $mysql::params::root_group,
$backupcompress = true,
$backuprotate = 30,
$ignore_events = true,
$backupuser = '',
$backuppassword = '',
$backupdir = '',
$backupdirmode = '0700',
$backupdirowner = 'root',
$backupdirgroup = $mysql::params::root_group,
$backupcompress = true,
$backuprotate = 30,
$ignore_events = true,
$delete_before_dump = false,
$backupdatabases = [],
$file_per_database = false,
$ensure = 'present',
$time = ['23', '5'],
$postscript = false,
$execpath = '/usr/bin:/usr/sbin:/bin:/sbin',
$backupdatabases = [],
$file_per_database = false,
$ensure = 'present',
$time = ['23', '5'],
$postscript = false,
$execpath = '/usr/bin:/usr/sbin:/bin:/sbin',
) {
mysql_user { "${backupuser}@localhost":

View file

@ -1,22 +1,22 @@
# See README.me for usage.
class mysql::backup::xtrabackup (
$backupuser,
$backuppassword,
$backupdir,
$backupmethod = 'mysqldump',
$backupdirmode = '0700',
$backupdirowner = 'root',
$backupdirgroup = $mysql::params::root_group,
$backupcompress = true,
$backuprotate = 30,
$ignore_events = true,
$backupuser = '',
$backuppassword = '',
$backupdir = '',
$backupmethod = 'mysqldump',
$backupdirmode = '0700',
$backupdirowner = 'root',
$backupdirgroup = $mysql::params::root_group,
$backupcompress = true,
$backuprotate = 30,
$ignore_events = true,
$delete_before_dump = false,
$backupdatabases = [],
$file_per_database = false,
$ensure = 'present',
$time = ['23', '5'],
$postscript = false,
$execpath = '/usr/bin:/usr/sbin:/bin:/sbin',
$backupdatabases = [],
$file_per_database = false,
$ensure = 'present',
$time = ['23', '5'],
$postscript = false,
$execpath = '/usr/bin:/usr/sbin:/bin:/sbin',
) {
mysql_user { "${backupuser}@localhost":

View file

@ -1,3 +1,4 @@
# See README.md.
class mysql::client::install {
if $mysql::client::package_manage {

View file

@ -1,3 +1,4 @@
# See README.md.
class mysql::server::account_security {
mysql_user {
[ 'root@127.0.0.1',

View file

@ -1,8 +1,8 @@
#This is a helper class to add a monitoring user to the database
class mysql::server::monitor (
$mysql_monitor_username,
$mysql_monitor_password,
$mysql_monitor_hostname
$mysql_monitor_username = '',
$mysql_monitor_password = '',
$mysql_monitor_hostname = ''
) {
Anchor['mysql::server::end'] -> Class['mysql::server::monitor']