| One way to implement 'always default' is to confine based on a fact and pass a regex as the value:
defaultfor :osfamily => /.*/
|
The above is a bit of a hack. I can imagine having a DSL method something like always_defaultfor that causes default_match to always return true. Also as an aside, we added the ability to specify notdefaultfor. Several service providers take advantage of that since the default provider changes based on OS version, eg upstart vs systemd. |