Puppet Class: profile::docker::reporter

Defined in:
modules/profile/manifests/docker/reporter.pp

Overview

This profile installs docker-report, and runs the report with the required frequency.

Parameters:

  • proxy (String) (defaults to: lookup('http_proxy'))


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

class profile::docker::reporter(
    String $proxy = lookup('http_proxy')
) {
    package { 'python3-docker-report':
        ensure => present,
    }

    # Report on base images and production-images
    profile::docker::reporter::report { 'base':
        frequency => 'daily',
        proxy     => $proxy,
    }

    # Report on releng images
    profile::docker::reporter::report { 'releng':
        frequency => 'weekly',
        proxy     => $proxy,
    }

    # Report on images used in production on k8s
    profile::docker::reporter::report { 'k8s':
        frequency => 'weekly',
        proxy     => $proxy,
    }
}