aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: dd3b62d08b29ce77c063cc2373e17bdfec62c450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class minidlna {
    package { "minidlna": } ->
    service { "minidlna": }

    $conf = "/etc/minidlna.conf"
    concat { $conf:
        owner   => root,
        group   => root,
        require => Package[minidlna],
        notify  => Service[minidlna],
    }

    concat::fragment { "${conf}_header":
        target  => $conf,
        content => template("minidlna/minidlna.conf.erb"),
        order   => 1,
    }

}