From: alex Date: Wed, 2 Oct 2024 18:44:35 +0000 (+0000) Subject: Migrate Jellyfin setup from old IaaC X-Git-Tag: 20241020-emacs~49 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=0099877abdc576eaa656b69dc4b70e408f7015d8;p=alex.git Migrate Jellyfin setup from old IaaC --- diff --git a/personal_infra/puppet/modules/jellyfin/manifests/init.pp b/personal_infra/puppet/modules/jellyfin/manifests/init.pp new file mode 100644 index 0000000..0f96df8 --- /dev/null +++ b/personal_infra/puppet/modules/jellyfin/manifests/init.pp @@ -0,0 +1,5 @@ +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 diff --git a/personal_infra/puppet/site/dixie.bcn.int.pdp7.net.pp b/personal_infra/puppet/site/dixie.bcn.int.pdp7.net.pp index b2c54ce..edb4174 100644 --- a/personal_infra/puppet/site/dixie.bcn.int.pdp7.net.pp +++ b/personal_infra/puppet/site/dixie.bcn.int.pdp7.net.pp @@ -67,4 +67,6 @@ host-record=router4g.bcn.int.pdp7.net,router4g,192.168.76.3 ensure => link, target => '/usr/local/sbin/zfs_receive_h2', } + + class {'jellyfin':} }