Be more selective in deleting host__*.cfg files

Bug #1595612 reported by Cory Johns
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
nrpe (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

The fix from https://code.launchpad.net/~aluria/charms/precise/nrpe-external-master/donotremove-hostdefs/+merge/290957 needs to be ported to this charm.

From IRC:

<aluria> cory_fu: issue is very specific, and it also needs to be addressed in nrpe charm --- hacluster charm is a subordinate for OpenStack endpoints, and deploys /var/lib/nagios/exports/service__${hostname}_blabla.cfg and host__${hostname}.cfg
<aluria> cory_fu: nrpe charm thinks there's only one host definition and removes all to recreate the non-subordinate hostdef one

tags: added: canonical-bootstack
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.