Issue #16112 has been updated by Jeff McCune. Status changed from In Topic Branch Pending Review to Closed
As I mentioned in the comments at <https://github.com/puppetlabs/puppet/pull/1250>, we need to change the code to selectively determine if the augeas bindings have the clearm feature or not. We could use the features system inside of Puppet to accomplish this. I'm going to close this issue for the time being. Please re-open it if you'd like to work on the patch to build out the feature detection on the ruby augeas bindings. Cheers, -Jeff ---------------------------------------- Bug #16112: augeas command 'clearm' returns 'Unknown command' https://projects.puppetlabs.com/issues/16112#change-77734 Author: Jacob McCann Status: Closed Priority: Normal Assignee: Category: augeas Target version: 3.0.x Affected Puppet version: Keywords: Branch: https://github.com/puppetlabs/puppet/pull/1250 When trying to use clearm in augeas provider I get the following error: <pre> err: /Stage[main]/Ntp/Bootloader::Add_bootloader_grub_parm[timekeeping_use_tsc]/Augeas[boot_grub_menulst_kernel_param_timekeeping_use_tsc]: Could not evaluate: Unknown command clearm </pre> But this is a valid command: <pre> augtool> help clearm COMMAND clearm - clear the value of multiple nodes SYNOPSIS clearm <BASE> <SUB> DESCRIPTION Clear multiple nodes values in one operation. Find or create a node matching SUB by interpreting SUB as a path expression relative to each node matching BASE. If SUB is '.', the nodes matching BASE will be modified. OPTIONS <BASE> the base node <SUB> the subtree relative to the base </pre> This is with the latest stable of augeas, 0.10.0. -- 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.
