Puppet Class: profile::toolforge::shell_environ

Defined in:
modules/profile/manifests/toolforge/shell_environ.pp

Overview



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'modules/profile/manifests/toolforge/shell_environ.pp', line 6

class profile::toolforge::shell_environ {
    package { [
        'apt-file',
        'cvs',  # Because I don't think webhooks or other uses exist anymore outside cli
        'dh-make-perl',
        'elinks',
        'emacs-nox',
        'fakeroot', # for dpkg
        'flex',                        # T114003.
        'ipython',                     # T58995
        'joe',                         # T64236.
        'links',
        'lintian',
        'lynx',
        'mc', # Popular{{cn}} on Toolserver
        'neovim',                      # T219501
        'pastebinit',
        'pep8',                        # T59863
        'redis-tools',
        'rlwrap',                      # T87368
        'tig',
        'valgrind',                    # T87117.
    ]:
        ensure => latest,
    }

    # remove the graphical emacs version if it was installed
    package { 'emacs-gtk':
        ensure => absent,
    }

    # pastebinit configuration for https://tools.wmflabs.org/paste/.
    file { '/etc/pastebin.d':
        ensure  => 'directory',
        require => Package['pastebinit'],
        owner   => 'root',
        group   => 'root',
        mode    => '0555',
    }

    file { '/etc/pastebin.d/tools.conf':
        ensure  => 'file',
        require => File['/etc/pastebin.d'],
        source  => 'puppet:///modules/profile/toolforge/pastebinit.conf',
        owner   => 'root',
        group   => 'root',
        mode    => '0444',
    }
}