# profiles::media::nzbget class profiles::media::nzbget ( Stdlib::Absolutepath $media_root = '/shared/media', ) { if $facts['virtual'] != 'lxc' { # manage the sharedvol include profiles::ceph::client profiles::storage::cephfsvol {"${::facts['networking']['fqdn']}_media": mount => $media_root, keyring => '/etc/ceph/ceph.client.media.keyring', cephfs_name => 'media', cephfs_fs => 'mediafs', require => Profiles::Ceph::Keyring['media'], } } # export haproxy balancemember profiles::haproxy::balancemember { "${facts['networking']['fqdn']}_443": service => 'be_nzbget', ports => [443], options => [ "cookie ${facts['networking']['hostname']}", 'ssl', 'verify none', 'check', 'inter 2s', 'rise 3', 'fall 2', ] } }