Issue #2092 has been updated by luke.

Status changed from Needs design decision to Rejected

I think the right option here is provide better features for supporting dist 
and site module repositories, rather than make it less clear when a source file 
is used or not.
----------------------------------------
Feature #2092: make source in file type optional if specified
http://projects.reductivelabs.com/issues/2092

Author: lludwig
Status: Needs design decision
Priority: Normal
Assigned to: luke
Category: fileserving
Target version: 
Complexity: Unknown
Affected version: 0.24.7
Keywords: 


Currently the file type will try to install a file based upon the source 
attribute, if no file is found error out.

My suggestion is create an new attribute or add to 'sourceselect' => optional 
so if no file is found just exit out, no error.  This gives the option of not 
forcing a file to exist.  There are situations where the file could does not 
have to exist, but in other cases the file should be configured per the source 
attribute.

Use case.  I'm creating an openldap module.  In my case I don't want to set the 
ldap.conf file but a possible client wanting to use Puppet wants a specific 
ldap.conf file pulled from the puppetmaster.  If this option was available it 
would allow for both situations without any modification to Puppet code.




----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to