summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* autofixing whitespace copsLamont Granquist2016-02-05440-2469/+2329
| | | | | | | | | | | | | | | | | | | | | | 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
* Chocolatey provider: Raise a MissingLibrary exception if we can't find ↵cd/choco-error-msgChris Doherty2016-02-031-8/+28
| | | | Chocolatey.
* Merge pull request #4523 from chef/chefstyle/fixesLamont Granquist2016-02-0311-14/+14
|\ | | | | auto-fixing some easy cops
| * auto-fixing some easy copschefstyle/fixesLamont Granquist2016-02-0311-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | 3 Performance/CaseWhenSplat: Place when conditions with a splat at the end of the when branches. 1 Style/ElseAlignment: Align else with if. 1 Style/EvenOdd: Replace with Fixnum#even?. 1 Style/MethodDefParentheses: Use def with parentheses when there are parameters. 3 Style/PercentQLiterals: Do not use %Q unless interpolation is needed. Use %q. 3 Style/SpaceAfterColon: Space missing after colon. 2 Style/SpaceAfterMethodName: Do not put a space between a method name and the opening parenthesis. 2 Style/Tab: Tab detected. 1 Style/TrailingUnderscoreVariable: Do not use trailing _s in parallel assignment. 1 Style/UnneededCapitalW: Do not use %W unless interpolation is needed. If not, use %w.
* | Merge branch 'smurawski/dsc_resource_converge_logging'Steven Murawski2016-02-032-12/+20
|\ \ | |/ |/|
| * Allow PowerShellTypeCoercions to translate Chef::Node::ImmutableArraysmurawski/dsc_resource_converge_loggingSteven Murawski2016-02-031-1/+2
| |
| * Allow PowerShellTypeCoercions to translate Chef::Node::ImmutableMashSteven Murawski2016-02-031-0/+1
| |
| * include verbose output from the set method and shared function for accessing ↵Steven Murawski2016-02-031-12/+18
| | | | | | | | verbose log info.
* | Allow multiple property_types in `is`jk/property-is-multiple-typesJohn Keiser2016-02-031-9/+20
| |
* | Merge pull request #4516 from chef/invalidMatt Wrock2016-02-036-93/+39
|\ \ | | | | | | fixes #4515 and use FormatMessage to get correct error messages from native API instead of retyping them with our fingers
| * | fixes #4515 and use FormatMessage to get correct error messages from native ↵invalidMatt Wrock2016-02-036-93/+39
| |/ | | | | | | API instead of retyping them with our fingers
* | Merge pull request #4481 from chef/jdm/fips-58Jay Mundrawala2016-02-034-7/+14
|\ \ | |/ |/| Allow use of command line fips switch for knife
| * Allow use of command line fips switch for knifeJay Mundrawala2016-01-284-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | This somewhat worked before. However, it was just for knife bootstrap. It also didn't support --no-fips in the case where it was in your knife.rb and you decided that you didn't want to use fips for that one call. The assumption here is fips mode you run knife with is the fips mode the node will get. This has the nice property that validatorless bootstraps will talk to the chef server in fips mode if the node is requested to be in fips mode.
* | Merge pull request #4518 from coderanger/copyright-2016Noah Kantrowitz2016-02-02660-1295/+1295
|\ \ | | | | | | Copyright and author line update
| * | Some more author domain stragglers.Noah Kantrowitz2016-02-0210-11/+11
| | |
| * | Update for chef.io domain in copyright lines too.Noah Kantrowitz2016-02-023-3/+3
| | |
| * | Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-02447-595/+595
| | | | | | | | | 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-02401-401/+401
| | | | | | | | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
| * | Manual fix ups for things that didn't follow the usual pattern.Noah Kantrowitz2016-02-0214-14/+14
| | |
| * | Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-02646-675/+675
| | | | | | | | | 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"
* | | Bad test lead to a provider coverage failure for brand new machines with no ↵Nate Walck2016-02-021-4/+7
|/ / | | | | | | profiles installed
* | Merge pull request #4498 from chef/versionMatt Wrock2016-02-011-2/+2
|\ \ | | | | | | correct windows 10 major/minor version numbers
| * | correct windows 10 major/minor version numbersversionMatt Wrock2016-02-011-2/+2
| | |
* | | Simplify fix for property_type with defaultsjk/property-type-default-checkJohn Keiser2016-02-011-1/+1
| | | | | | | | | | | | `property_type(is: [:a, :b], default: :c)` was broken because ParamsValidate requires its input to have a name and property types don't have one.
* | | Fix defaults on property_typeJohn Keiser2016-02-011-2/+7
|/ /
* | Fix /acls/data_bags local mode pathJohn Keiser2016-02-011-0/+6
| |
* | Adjust tests for ACLsJohn Keiser2016-02-011-0/+1
| |
* | Add ACLs for policies, policy_groups and cookbook_artifactsJohn Keiser2016-02-014-4/+57
|/
* Merge pull request #4474 from chef/jk/bump-12.7.0John Keiser2016-01-281-1/+1
|\ | | | | Bump version to 12.7.0, and make "rake version" use just one VERSION file
| * Bump version to 12.7.0, and make "rake version" use just the one VERSION filejk/bump-12.7.0John Keiser2016-01-271-1/+1
| |
* | Remove incorrect cookbook artifact normalizationfix-cookbook-artifact-normalizationdanielsdeleo2016-01-272-7/+1
| | | | | | | | | | Pedant tests were leading us astray, we don't want to remove entries for empty cookbook segments
* | Force config file setting to absolute path in chef-clientdanielsdeleo2016-01-273-1/+16
|/
* Make chef_gem.gem_binary use correct default valuejk/nil-for-realsJohn Keiser2016-01-271-1/+1
|
* Fix nil with properties:John Keiser2016-01-275-38/+110
| | | | | | 1. Warn when default values are invalid. 2. Never validate nil (on set or get) if there is no default. 3. Emit "will be invalid in Chef 13" warning when setting an invalid nil value.
* Merge pull request #4409 from chef/lcg/suppress-reporter-failuresLamont Granquist2016-01-271-2/+22
|\ | | | | Lcg/suppress reporter failures
| * fix typo in commentLamont Granquist2016-01-271-1/+1
| |
| * suppress reporter failures by using validate_utf8=falselcg/suppress-reporter-failuresLamont Granquist2016-01-261-2/+22
| | | | | | | | | | | | | | - doesn't turn off the utf8 validation in the rest of the rest API - has to use a different rest object because we have to pass options in the constructor - the handling of Chef::Config in Chef::Client is just awful
* | Merge pull request #4434 from chef/lcg/better-eof-errorsLamont Granquist2016-01-276-7/+51
|\ \ | | | | | | adds EOFError message to handlers
| * | explicit specs for EOFErrorslcg/better-eof-errorsLamont Granquist2016-01-261-3/+3
| | |
| * | adds EOFError message to handlersLamont Granquist2016-01-196-7/+51
| | | | | | | | | | | | | | | | | | i think this still misses the biggest EOFError culprit which is the node.save at the end, but we don't seem to have a node_save_failed event to hook.
* | | Merge pull request #4422 from chef/tm/apt_updateThom May2016-01-274-0/+113
|\ \ \ | | | | | | | | Add an apt_update resource
| * | | respond to review commentsThom May2016-01-222-2/+2
| | | |
| * | | Dependency inject file locationsThom May2016-01-211-16/+21
| | | |
| * | | ensure that periodic files are created firstThom May2016-01-201-8/+18
| | | |
| * | | Add periodic action as the defaultThom May2016-01-202-3/+27
| | | |
| * | | Add an apt_update resourceThom May2016-01-204-0/+74
| | | |
* | | | Enable Chef 12 mode for local mode by defaultdanielsdeleo2016-01-262-2/+26
| | | |
* | | | Explain the various ChefFS modesdanielsdeleo2016-01-261-3/+31
| | | |
* | | | Merge pull request #4287 from chef/jdm/1.3-fipsJay Mundrawala2016-01-269-5/+31
|\ \ \ \ | |_|_|/ |/| | | Default Chef with FIPS OpenSSL to use sign v1.3
| * | | Allow chef-client --fipsJay Mundrawala2016-01-251-0/+7
| | | |