feat: add sonarr profile
- add cephfs secret for mounting mediafs - add ceph-reef repo for apps::media roles - add the shared cephfs mediafs mount
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# profiles::media::sonarr
|
||||
class profiles::media::sonarr (
|
||||
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'],
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user