configuration directory

AL13N alien at rmail.be
Fri Sep 20 09:06:09 CEST 2013


>>-----Original Message-----
>>From: Andreas Ericsson [mailto:ae at op5.se]
>>Sent: Wednesday, September 04, 2013 6:33 AM
>>To: AL13N
>>Cc: Nagios Developers List
>>Subject: Re: [Nagios-devel] configuration directory
>>
>>On 2013-09-04 12:51, AL13N wrote:
>>> would this mean that if you have
>>>
>>> setting1=value
>>>
>>> setting2=value
>>>
>>> include=/path/to/foo
>>>
>>> setting3=value
>>>
>>> that being parsed would:
>>> 1) setting1
>>> 2) setting2
>>> 3) all from /path/to/foo if it's a file or directory
>>> 4) setting3
>>>
>>>
>>> is this the priority that you aim for?
>>>
>>
>>No. All variables from one file should be parsed before any
>>variables
>>from a different file, but the include-files from one file get
>>parsed
>>before we move along to the next file in that directory.
>
> I know I'm late to this discussion, but please don't do this. If you
> insist, please don't use the word "include", as the behavior you describe
> is not the behavior one expects from the word "include". Perhaps "append"?

iinm there's already include_cfg for host configs... which is similar in
functionality...


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk




More information about the Developers mailing list