# profiles::media::prowlarr class profiles::media::prowlarr ( Stdlib::Absolutepath $media_root = '/shared/media', ) { include profiles::ceph::client # manage the sharedvol 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_prowlarr', ports => [443], options => [ "cookie ${facts['networking']['hostname']}", 'ssl', 'verify none', 'check', 'inter 2s', 'rise 3', 'fall 2', ] } }