aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 40c7714..f0d695b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -22,6 +22,7 @@ class airsonic {
file { [
'/var/lib/airsonic',
+ '/var/lib/airsonic/transcode',
]:
ensure => directory,
owner => 'airsonic',
@@ -71,4 +72,12 @@ class airsonic {
Package['default-jre'],
],
}
+
+ # https://airsonic.github.io/docs/transcode/
+ file { '/var/lib/airsonic/transcode/ffmpeg':
+ ensure => '/usr/bin/ffmpeg',
+ owner => 'airsonic',
+ group => 'airsonic',
+ require => File['/var/lib/airsonic/transcode'],
+ }
}