diff options
author | Jamie McClelland <jm@mayfirst.org> | 2011-03-15 21:13:11 -0400 |
---|---|---|
committer | Jamie McClelland <jm@mayfirst.org> | 2011-03-15 21:13:11 -0400 |
commit | 54d77c688d6193da2d8f96f6e1937ecb13225d97 (patch) | |
tree | 98ef9c585f29e50417db30dcc8a03fef1c60286f /templates | |
parent | 93851f9f3677009885e54fd53d9150aa5f527078 (diff) | |
download | puppet-backupninja-54d77c688d6193da2d8f96f6e1937ecb13225d97.tar.gz puppet-backupninja-54d77c688d6193da2d8f96f6e1937ecb13225d97.tar.bz2 |
Take advantage of nodata option in mysql backupninja config
Diffstat (limited to 'templates')
-rw-r--r-- | templates/mysql.conf.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/mysql.conf.erb b/templates/mysql.conf.erb index 14905fd..2efa4b1 100644 --- a/templates/mysql.conf.erb +++ b/templates/mysql.conf.erb @@ -16,3 +16,8 @@ compress = <%= compress ? 'yes' : 'no' %> <% if real_configfile %> configfile = <%= real_configfile %> <% end %> + +<% if nodata %> +nodata = <% nodata.each do |dbtable| -%><%= dbtable %> <% end -%> +<% end %> + |