chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Provider::WindowsTask#random_delay_updated?
Comparing random_delay values using ISO8601::Duration object Ref: https://github.com/arnau/ISO8601/blob/master/lib/iso8601/duration.rb#L18-L23 di = ISO8601::Duration.new(65707200) ds = ISO8601::Duration.new('P65707200S') dp = ISO8601::Duration.new('P2Y1MT2H') di == dp # => true di == ds # => true
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/provider/windows_task.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Provider--WindowsTask-random_delay_updated--for-pr
# Commit to gitgit add lib/chef/provider/windows_task.rbgit commit -m "better docs for Chef::Provider::WindowsTask#random_delay_updated?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Provider--WindowsTask-random_delay_updated--for-pr
hub pull-request
# Celebrate!