diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-12-31 18:58:43 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-12-31 18:58:43 -0200 |
commit | 1804c9e41bb97880823a27bca9c4340dda0eb852 (patch) | |
tree | f94d0b60afd6c7e9a95de3550fd9e9615a2af9ee /manifests/init.pp | |
parent | c8348d57f93608235a5724fafce4c1ef34a7a325 (diff) | |
download | puppet-airsonic-master.tar.gz puppet-airsonic-master.tar.bz2 |
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 9 |
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'], + } } |