The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
add append_line native type
|Assignee:||Dan Bode||% Done:|
|Category:||type||Estimated time:||3.00 hours|
|Target version:||stdlib 1.0.0|
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.
We should have a define stdlib::append_line added to the stdlib module.
It should be able to detect if a certain line exists in a file and add it if necessary.
#1 Updated by Dan Bode about 3 years ago
- Status changed from Unreviewed to Merged - Pending Release
e82370a26d15181b6c3b17b25c2349752e41ed38 (#8628) Add append_line native type This commit adds a native type that can check if a line exists and append it to a file. This use case seems common enough to warrant its inclusion into stdlib. Reviewed-by: Jeff McCune
#5 Updated by Jeff McCune almost 3 years ago
- Due date set to 07/27/2011
- Status changed from Merged - Pending Release to Accepted
- Assignee set to Dan Bode
- Estimated time set to 3.00
- 16 set to accounts
We’re going to change this to a noun. Something like “whole_line”, “full_line” or “file_line”
#8 Updated by Jeff McCune over 2 years ago
- Category set to type
- Target version set to stdlib 1.0.0