Issue #8037 has been updated by Dominic Cleal.
This change is correct, the docs are wrong. The context is only applied to relative paths (those not starting '/') and not absolute paths, so the leading forward slash should be removed from those lines. ---------------------------------------- Bug #8037: Augeas type reference docs are wrong. https://projects.puppetlabs.com/issues/8037 Author: Craig Dunn Status: Accepted Priority: Normal Assignee: Bryan Kearney Category: Target version: Keywords: Branch: Affected URL: http://docs.puppetlabs.com/references/latest/type.html#augeas The second usage example has a “/” before the file part which takes it out of the context of /files. This… changes => [ "set /etc/jbossas/jbossas.conf/JBOSS_IP $ipaddress", "set /etc/jbossas/jbossas.conf/JAVA_HOME /usr" ], should be changes => [ "set etc/jbossas/jbossas.conf/JBOSS_IP $ipaddress", "set etc/jbossas/jbossas.conf/JAVA_HOME /usr" ], -- 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://projects.puppetlabs.com/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.
