The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #1953

augeas type's ins support is broken

Added by Jonathan Booth over 5 years ago. Updated over 5 years ago.

Status:DuplicateStart date:02/10/2009
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:0.24.8
Affected Puppet version:0.24.7 Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

The augeas type’s implementation and support of the augeas command “ins/insert” is broken. Among other failings, provider/augeas/augeas.rb calls aug.insert(“single parameter”) when aug.insert is expecting 3 args.

See attached patch which fixes provider/augeas/augeas.rb (fixes to make it go) and type/augeas.rb (doc updates for how “ins” actually works).

puppet-augeas-fix.patch Magnifier (3.65 KB) Jonathan Booth, 02/10/2009 09:16 pm


Related issues

Duplicates Puppet - Bug #1948: augeas ins bug: wrong number of arguments (1 for 3) Closed 02/10/2009

History

#1 Updated by Jonathan Booth over 5 years ago

  • File deleted (puppet-augeas-fix.patch)

#2 Updated by Jonathan Booth over 5 years ago

Fixed context diff attached. Oops.

#3 Updated by James Turnbull over 5 years ago

  • Status changed from Unreviewed to Accepted
  • Target version set to 0.24.8

#4 Updated by Bryan Kearney over 5 years ago

  • Status changed from Accepted to Duplicate

Jabs patch was applied and pull requests were sent. Please see information in http://projects.reductivelabs.com/issues/1948.

#5 Updated by James Turnbull over 5 years ago

Pushed in commit:cc4d6586d420f4beea1eeef85cfe7a28f8e493ac in branch 0.24.x

Also available in: Atom PDF