Puppet Class: profile::openstack::base::pdns::recursor::monitor::rec_control

Defined in:
modules/profile/manifests/openstack/base/pdns/recursor/monitor/rec_control.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
# File 'modules/profile/manifests/openstack/base/pdns/recursor/monitor/rec_control.pp', line 1

class profile::openstack::base::pdns::recursor::monitor::rec_control {

    sudo::user { 'diamond_sudo_for_pdns_recursor':
        user       => 'diamond',
        privileges => ['ALL=(root) NOPASSWD: /usr/bin/rec_control get-all'],
    }

    sudo::user { 'prometheus_sudo_for_pdns_recursor':
        user       => 'prometheus',
        privileges => ['ALL=(root) NOPASSWD: /usr/bin/rec_control get-all'],
    }
}