diff --git a/manifests/app_type.pp b/manifests/app_type.pp index 1828bee..5ce6f7f 100644 --- a/manifests/app_type.pp +++ b/manifests/app_type.pp @@ -5,6 +5,7 @@ define sunetdrive::app_type ( $override_config = undef, $override_compose = undef ) { + include sunet::packages::netcat_openbsd # Config from group.yaml and customer specific conf $environment = sunetdrive::get_environment() $customer = sunetdrive::get_customer() diff --git a/manifests/mariadb_backup.pp b/manifests/mariadb_backup.pp index 2a9dd6c..bc817f8 100644 --- a/manifests/mariadb_backup.pp +++ b/manifests/mariadb_backup.pp @@ -1,5 +1,6 @@ # This is a asyncronous replica of the Maria DB Cluster for SUNET Drive class sunetdrive::mariadb_backup($tag_mariadb=undef, $location=undef) { + include sunet::packages::netcat_openbsd $dirs = [ 'datadir', 'init', 'conf', 'backups' ] $dirs.each | $dir | { ensure_resource('file',"/opt/mariadb_backup/${dir}", { ensure => directory, recurse => true } )