aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-12-31 18:58:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-12-31 18:58:43 -0200
commit1804c9e41bb97880823a27bca9c4340dda0eb852 (patch)
treef94d0b60afd6c7e9a95de3550fd9e9615a2af9ee /manifests
parentc8348d57f93608235a5724fafce4c1ef34a7a325 (diff)
downloadpuppet-airsonic-master.tar.gz
puppet-airsonic-master.tar.bz2
Transcoding supportHEADmaster
Diffstat (limited to 'manifests')
-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'],
+ }
}