Feature #11017

stdlib: file_line should be ensureable

Added by Peter Meier 6 months ago. Updated about 1 month ago.

Status:Merged - Pending Release Start date:11/22/2011
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:function
Target version:stdlib 2.3.0
Keywords:file_line Branch:
Votes: 1

Description

It would be good to not only be able to add lines, but also remove them.

History

Updated by Peter Meier 6 months ago

Eh, this should have been filed as a feature request. Sorry.

Updated by James Turnbull 6 months ago

  • Tracker changed from Bug to Feature

Moved to Feature.

Updated by Ken Barber 6 months ago

You’ve lost me. What module is this for?

Updated by Peter Meier 6 months ago

puppet-stdlib: https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/provider/file_line/ruby.rb

Updated by Ken Barber 6 months ago

  • Subject changed from file_line should be ensureable to stdlib: file_line should be ensureable
  • Category set to stdlib
  • Keywords set to file_line

Cheers :–).

Updated by Ken Barber 6 months ago

  • Status changed from Unreviewed to Accepted

Updated by Peter Meier 3 months ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • % Done changed from 0 to 80

Branch: https://github.com/duritong/puppet-stdlib/tree/tickets/11017

Pull Request: https://github.com/puppetlabs/puppetlabs-stdlib/pull/36

Updated by Daniel Pittman 3 months ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

Thanks, that looks like a reasonable change, and is now merged.

Updated by Jeff McCune about 1 month ago

  • Project changed from Puppet Labs Modules to Standard Library
  • Category deleted (stdlib)

Updated by Jeff McCune about 1 month ago

  • Category set to function
  • Target version set to stdlib 2.3.0

Also available in: Atom PDF