Issue #2092 has been updated by jamtur01.

Category set to fileserving
Status changed from Unreviewed to Needs design decision
Assigned to set to luke


----------------------------------------
Feature #2092: make source in file type optional if specified
http://projects.reductivelabs.com/issues/2092

Author: lludwig
Status: Unreviewed
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