Page MenuHomeSoftware Heritage

icinga: grant access to private puppet directories
ClosedPublic

Authored by vsellier on Thu, Feb 11, 3:03 PM.

Details

Summary

The nagios user can't access private puppet file and is unable
to retrieve the current activation status.
The user is declared on the main icinga2 class to also add the group
on the icinga master (pergamon)

Related to T2566

Test Plan
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
+ Group[nagios] =>
   parameters =>
     "system": true
*******************************************
+ User[nagios] =>
   parameters =>
     "gid": "nagios",
     "groups": [
       "puppet"
     ],
     "home": "/var/lib/nagios",
     "shell": "/usr/sbin/nologin",
     "system": true
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org
diff origin/production/moma.softwareheritage.org current/moma.softwareheritage.org
*******************************************
+ Group[nagios] =>
   parameters =>
     "system": true
*******************************************
+ User[nagios] =>
   parameters =>
     "gid": "nagios",
     "groups": [
       "puppet"
     ],
     "home": "/var/lib/nagios",
     "shell": "/usr/sbin/nologin",
     "system": true
*******************************************
*** End octocatalog-diff on moma.softwareheritage.org

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.