summaryrefslogtreecommitdiff
path: root/lib/chef/resource/file
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* 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"
* Use double quotes by defaultThom May2016-01-141-6/+6
| | | | | | | 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.
* Typo fixZach Malone2016-01-061-1/+1
|
* Find the spot the user called and use that as the deprecation locationJohn Keiser2015-09-251-2/+1
|
* Make file verification deprecation print the proper source locjk/dedup-messagesJohn Keiser2015-09-011-1/+2
|
* Rename log.deprecation to log_deprecationJohn Keiser2015-09-011-1/+1
|
* Pass deprecations through formatter instead of logsJohn Keiser2015-09-011-1/+1
|
* Warn about deprecation `%{file}` interpolation in verify commandmarguerite2015-07-221-0/+4
| | | | See chef/chef#3232
* Interpolate `%{path}` in verify commandmarguerite2015-07-211-1/+3
| | | | See chef/chef#3232
* Add Chef::GuardInterpreter.for_resource method to reduce duplicationSteven Danna2015-02-171-5/+2
|
* Update comments in File::Verification classSteven Danna2015-02-171-1/+3
|
* Use Chef::Mixin::DescendantsTracker to track registered verificationsSteven Danna2015-02-171-6/+11
|
* Implement RFC 027 File VerificationSteven Danna2015-02-171-0/+118
This implements usable-suppliable file content verification per RFC 027. Users can supplie a block, string, or symbol to the `verify` resource attribute. Blocks will be called, string will be executed as shell commands (respecing the same options as not_if and only_if), and symbols can be used to access built-in registered validations.