Jira (PUP-3496) Ability to set default provider or require `provider` to be set

3 views
Skip to first unread message

Jeremy Barlow (JIRA)

unread,
May 16, 2017, 1:07:05 PM5/16/17
to puppe...@googlegroups.com
Jeremy Barlow updated an issue
 
Puppet / New Feature PUP-3496
Ability to set default provider or require `provider` to be set
Change By: Jeremy Barlow
Labels: help_wanted triaged
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Moses Mendoza (JIRA)

unread,
May 18, 2017, 1:55:21 PM5/18/17
to puppe...@googlegroups.com

Jorie Tappa (JIRA)

unread,
Oct 7, 2019, 2:46:03 PM10/7/19
to puppe...@googlegroups.com
Jorie Tappa updated an issue
Change By: Jorie Tappa
Team: Coremunity
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (Jira)

unread,
Jun 10, 2021, 7:18:03 PM6/10/21
to puppe...@googlegroups.com
Josh Cooper commented on New Feature PUP-3496
 
Re: Ability to set default provider or require `provider` to be set

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.

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages