Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement #11017 - make file_line type ensurable #36

Merged
merged 1 commit into from
Feb 9, 2012

Conversation

duritong
Copy link
Contributor

@duritong duritong commented Feb 9, 2012

  • 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.

* 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.
slippycheeze added a commit that referenced this pull request Feb 9, 2012
implement #11017 - make file_line type ensurable
@slippycheeze slippycheeze merged commit 966a4bf into puppetlabs:master Feb 9, 2012
@jeffmccune
Copy link
Contributor

ensurable defaults to present so I think this was correctly handled as an API-backwards-compatible change as far as semver is concerned.

@duritong
Copy link
Contributor Author

Unfortunately @bodepd was right, currently file_line does nothing if you don't set ensure => present.

Fix and the an email asking why it is actually like that, coming soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants