Puppet Class: planet::packages

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

Overview

installs required packages for a planet server



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

class planet::packages {

    # rawdog is a RSS aggregator using Python and Feedparser
    # to produce a "planet"-like static site
    # 'RSS Aggregator Without Delusions Of Grandeur'
    package { 'rawdog':
        ensure => 'present',
    }

    # PyTidyLib 0.2.1 or later (optional but strongly recommended)
    # python-libxml2 is needed for the xml archive plugin we will use
    # for rawdog.
    if debian::codename::eq('buster') {
        package { ['python-tidylib', 'python-libxml2']:
            ensure => 'present',
        }
    }

    if debian::codename::eq('bullseye') {
        ensure_packages(['python3-tidylib','python3-libxml2'])
    }
}