summaryrefslogtreecommitdiff
path: root/lib/chef/run_lock.rb
Commit message (Collapse)AuthorAgeFilesLines
* auto fixing some rubocopsLamont Granquist2016-02-091-1/+1
| | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* autofixing whitespace copsLamont Granquist2016-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Force config file setting to absolute path in chef-clientdanielsdeleo2016-01-271-1/+1
|
* Use double quotes by defaultThom May2016-01-141-8/+8
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Add tests for things that have created the lockfile but not yet acquired the ↵John Keiser2015-09-291-21/+30
| | | | lock
* convert cli argument to int, tidy exception messageClaire McQuin2014-05-061-2/+5
|
* add option to abandon chef run if blocked by another for too longClaire McQuin2014-05-051-4/+40
|
* Clean out the comments and reorganize code in run_lock.rbsersut2013-10-151-10/+17
|
* Windows support for Chef::Runlock.sersut2013-10-141-12/+41
| | | | This ensures that if someone does a manual chef-client run, it doesn't fail if the chef is configured as a service on windows and if there is a chef-client run happening right now. The newly started run will wait for the old run to finish and continue after it.
* Use RunLock while daemonizing which is based on flock to prevent race ↵sersut2013-10-091-14/+29
| | | | conditions.
* Make waiting for the release of the lock optional in RunLock class.sersut2013-10-071-6/+14
|
* Use Chef::Config defaults for lockfile defaultJohn Keiser2013-09-161-9/+3
|
* Merge pull request #843 from opscode/lcg/warn-run-locklamont-granquist2013-06-211-1/+1
|\ | | | | to see this on command line with default :auto level we need to warn
| * to see this on command line with default :auto level we need to warnLamont Granquist2013-06-201-1/+1
| |
* | add test, bitwise arithm, note about 1.8/1.9/2.0 differencesLamont Granquist2013-06-201-1/+2
| |
* | use F_CLOEXEC if we canLamont Granquist2013-06-141-0/+5
|/
* [CHEF-3617] create full path of run lock fileSeth Chisamore2012-11-171-0/+6
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+84
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!