diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2013-08-29 16:27:27 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2013-08-29 16:27:27 -0700 |
commit | 948be0bb99374c699d79eb11c00366a6e2d2f977 (patch) | |
tree | 546d9cdf7c0abe256587742d59f17ed3005fcb27 /tests/has_ip_network.pp | |
parent | 221277e8522b42bf170fded6ea23dfc526703b07 (diff) |
(maint) Improve the tests and readability of file_line
Without this patch the implementation of the file_line provider is a bit
convoluted with respect to the newly introduced "after" parameter.
This patch addresses the problem by separating out the concerns of each
case into their own methods of handling the behavior with the match
parameter, handling the behavior with the after parameter, or simply
appending the line.
Diffstat (limited to 'tests/has_ip_network.pp')
0 files changed, 0 insertions, 0 deletions