You need to add
        policy => 'overridable'
in the first promise if you want to specify a default assignment with special
overrides.  But IMHO, I like the !special class better...

-Dan

> I want to use the standard resolvconf() bundle but I need a special
> search list for certain hosts. I may eventually need more exceptions to
> the default, so I'm hoping the "any" approach would be fine.
> 
> any:: # or should this be !special:: ?
>     "dns_search_domains" string => "mydomain.com";
> 
> special::
>     "dns_search_domain" string => "special.mydomain.com mydomain.com";
> 
> 
> Thanks,
> Justin
> 
> -- 
> Justin C. Lloyd 
> Unix Infrastructure Engineer 
> DigitalGlobe, An Imaging and Information Company
> 
> 
> 
> This electronic communication and any attachments may contain confidential an
> d proprietary 
> information of DigitalGlobe, Inc. If you are not the intended recipient, or a
> n agent or employee 
> responsible for delivering this communication to the intended recipient, or i
> f you have received 
> this communication in error, please do not print, copy, retransmit, dissemina
> te or 
> otherwise use the information. Please indicate to the sender that you have re
> ceived this 
> communication in error, and delete the copy you received. DigitalGlobe reserv
> es the 
> right to monitor any electronic communication sent or received by its employe
> es, agents 
> or representatives.
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to