fear: deploy additional *arr stack apps

- cleanup hieradata entires for roles to remove some defaults
- add profiles::media::* classes to manage *arr stacks
This commit is contained in:
2024-06-27 23:42:33 +10:00
parent 5acc683374
commit 9b8556f487
14 changed files with 213 additions and 10 deletions
+16
View File
@@ -0,0 +1,16 @@
# profiles::media::lidarr
class profiles::media::lidarr (
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'],
}
}
+16
View File
@@ -0,0 +1,16 @@
# 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'],
}
}
+16
View File
@@ -0,0 +1,16 @@
# profiles::media::readarr
class profiles::media::readarr (
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'],
}
}
@@ -6,5 +6,6 @@ class roles::apps::media::lidarr {
}else{
include profiles::defaults
include profiles::base
include profiles::media::lidarr
}
}
@@ -6,5 +6,6 @@ class roles::apps::media::prowlarr {
}else{
include profiles::defaults
include profiles::base
include profiles::media::prowlarr
}
}
@@ -6,5 +6,6 @@ class roles::apps::media::readarr {
}else{
include profiles::defaults
include profiles::base
include profiles::media::readarr
}
}