aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-01-10 11:40:16 +0000
committeralexpdp7 <alex@corcoles.net>2025-01-10 11:41:19 +0000
commit0e015ab6f4d6c1b438cb4d0468c4576464f54876 (patch)
tree6c3c253b4aa7906bac9cbb4768bda8d381c564ac /personal_infra/puppet
parent0e007c8ed9c5d991b42254b523ba8a4cf2a01efa (diff)
Unbork jellyfin module
Diffstat (limited to 'personal_infra/puppet')
-rw-r--r--personal_infra/puppet/modules/jellyfin/manifests/init.pp14
1 files changed, 10 insertions, 4 deletions
diff --git a/personal_infra/puppet/modules/jellyfin/manifests/init.pp b/personal_infra/puppet/modules/jellyfin/manifests/init.pp
index 0f96df8d..b6d2e166 100644
--- a/personal_infra/puppet/modules/jellyfin/manifests/init.pp
+++ b/personal_infra/puppet/modules/jellyfin/manifests/init.pp
@@ -1,5 +1,11 @@
class jellyfin {
- exec {'/usr/bin/apt install -y apt-transport-https && wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | sudo apt-key add - && echo "deb [arch=amd64] https://repo.jellyfin.org/debian bookworm main" | sudo tee /etc/apt/sources.list.d/jellyfin.list && apt update && apt install -y jellyfin':
- creates => '/usr/share/doc/jellyfin/README.Debian',
- }
-} \ No newline at end of file
+ package {'extrepo':}
+ ->
+ exec {'/usr/bin/extrepo enable jellyfin':
+ creates => '/etc/apt/sources.list.d/extrepo_jellyfin.sources',
+ }
+ ~>
+ Exec["/usr/bin/apt update"]
+ ->
+ package {'jellyfin':}
+}