Compare commits

..

No commits in common. "59e137e91870aacf536aae24fb6462c7f652b7ef" and "e4ccdde1693aed15db418c13e46675c49cb3bee8" have entirely different histories.

2 changed files with 0 additions and 2 deletions

View file

@ -5,7 +5,6 @@ define sunetdrive::app_type (
$override_config = undef, $override_config = undef,
$override_compose = undef $override_compose = undef
) { ) {
include sunet::packages::netcat_openbsd
# Config from group.yaml and customer specific conf # Config from group.yaml and customer specific conf
$environment = sunetdrive::get_environment() $environment = sunetdrive::get_environment()
$customer = sunetdrive::get_customer() $customer = sunetdrive::get_customer()

View file

@ -1,6 +1,5 @@
# This is a asyncronous replica of the Maria DB Cluster for SUNET Drive # This is a asyncronous replica of the Maria DB Cluster for SUNET Drive
class sunetdrive::mariadb_backup($tag_mariadb=undef, $location=undef) { class sunetdrive::mariadb_backup($tag_mariadb=undef, $location=undef) {
include sunet::packages::netcat_openbsd
$dirs = [ 'datadir', 'init', 'conf', 'backups' ] $dirs = [ 'datadir', 'init', 'conf', 'backups' ]
$dirs.each | $dir | { $dirs.each | $dir | {
ensure_resource('file',"/opt/mariadb_backup/${dir}", { ensure => directory, recurse => true } ) ensure_resource('file',"/opt/mariadb_backup/${dir}", { ensure => directory, recurse => true } )