Bug #1953

augeas type's ins support is broken

Added by Jonathan Booth about 3 years ago. Updated almost 3 years ago.

Status:Duplicate Start date:02/10/2009
Priority:Normal Due date:
Assignee:- % Done:

0%

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

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 (3.6 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

Updated by Jonathan Booth about 3 years ago

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

Updated by Jonathan Booth about 3 years ago

Fixed context diff attached. Oops.

Updated by James Turnbull almost 3 years ago

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

Updated by Bryan Kearney almost 3 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.

Updated by James Turnbull almost 3 years ago

Pushed in commit:cc4d6586d420f4beea1eeef85cfe7a28f8e493ac in branch 0.24.x

Also available in: Atom PDF