puppetlabs/puppetlabs-stdlib — pull request #36 by duritong (2012-02-09 15:03:29+00:00)
Title: implement #11017 - make file_line type ensurable

* Implement a simple destroy method.
* Add tests for it
* Refactor code, so file is actually read only once. However, due
to the nature how provider tests are run, we need to ensure that
the file is read before we open it to write it.