Skip to content
Snippets Groups Projects

icinga: grant access to private puppet directories

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

Migrated from D5065 (view on Phabricator)

Merge request reports

Closed by Vincent SellierVincent Sellier 3 years ago (Feb 11, 2021 2:35pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading