Issue #2396 has been updated by Bryan Kearney.
I will talk with David. I would prefer to see augeas report this, and the provider report on what is provided. Right now.. I do not see this information being stored by augeas when a set is made. If I can get it into augeas.. i will expose it. ---------------------------------------- Feature #2396: augeas resource should notify if there is no lense http://projects.reductivelabs.com/issues/2396 Author: Dan Bode Status: Needs design decision Priority: Normal Assigned to: Bryan Kearney Category: augeas Target version: Complexity: Unknown Affected version: 0.24.8 Keywords: It would be nice if the augeas resource gave a warning if there is no lense for the requested type. Example: <pre> augeas{"automount-nonis": # there is no augeas lense for nsswitch.conf changes => "set /files/etc/nsswitch.conf/automount: files" ;} </pre> retuns nothing at verbose, returns the following with debug: debug: Augeas[automount-nis](provider=augeas): Opening augeas with root /, lens path , flags 0 debug: Augeas[automount-nis](provider=augeas): Augeas version 0.3.6 is installed debug: Augeas[automount-nis](provider=augeas): Will attempt to save and only run if files changed debug: Augeas[automount-nis](provider=augeas): sending command 'set' with params ["/files/etc/nsswitch.conf/automount:", "files"] debug: Augeas[automount-nis](provider=augeas): Skipping becuase no files were changed to actualy see the problem, I had to manually check the system for lenses Like I said, it would have been nice for puppet to tell me there was a problem. -- 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 -~----------~----~----~----~------~----~------~--~---
