Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Sysctl update to 0.6.0 #46
Update sysctl to current release 0.6.0.
One more thing to clear: I don't know whether we should make this into a conditional, i.e. support sysctl <0.6.0 and >= 0.6.0. It's certainly possible to get the deployed cookbook version and run internals for version comparison (since chef provides methods for both).
Let's clear this before merging.
If sysctl uses semantic versioning (which I assume), it would be enough to pin to the minor release, e.g. '~> 0.6.0' which will use the latest available patch release from the 0.6.x minor-version (pessimistically greater than).
@rmoriz Sorry, my comment was unclear: What I meant was whether this module will support older versions sysctl (ie. 0.3/0.4/0.5) and offer 0.6 as well. For this it needs to conditionally check which version of sysctl is loaded. If <0.6 is loaded, include_recipe 'sysctl', and if ~>0.6 is loaded, include_recipe 'sysctl::apply'.
We decided to do so with a deprecation warning to older versions. This will make upgrading and migrations easier for users.
I'll post the update and we'll have a version bump afterwards. Cheers