Defined Type: planet::rawdogplugin

Defined in:
modules/planet/manifests/rawdogplugin.pp

Overview

defined type: dirs for (RSS) plugins for a planet-rawdog language



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'modules/planet/manifests/rawdogplugin.pp', line 2

define planet::rawdogplugin {

    file { "/etc/rawdog/${title}/plugins":
        ensure => directory,
        owner  => 'planet',
        group  => 'planet',
        mode   => '0755',
    }

    file { "/etc/rawdog/${title}/plugins/rss.py":
        ensure  => 'present',
        owner   => 'planet',
        group   => 'planet',
        mode    => '0755',
        content => template('planet/plugins/rss.py.erb'),
    }

}