summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* auto-fixing some easy copschefstyle/fixesLamont Granquist2016-02-0318-21/+21
| | | | | | | | | | | | | 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.
* Allow multiple property_types in `is`jk/property-is-multiple-typesJohn Keiser2016-02-032-24/+96
|
* Merge pull request #4516 from chef/invalidMatt Wrock2016-02-037-94/+40
|\ | | | | 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-037-94/+40
| | | | | | | | API instead of retyping them with our fingers
* | Merge pull request #4481 from chef/jdm/fips-58Jay Mundrawala2016-02-039-16/+123
|\ \ | |/ |/| Allow use of command line fips switch for knife
| * Refactor chef-config fips configjdm/fips-58Jay Mundrawala2016-01-283-12/+19
| | | | | | | | | | | | | | | | This refactor allows for better mocking in the tests. Before, when init_openssl was called, classes would get monkey patched. While this may not cause problems now, some day in the future, somebody would have been like "WTF is going on".
| * Allow use of command line fips switch for knifeJay Mundrawala2016-01-287-8/+108
| | | | | | | | | | | | | | | | | | | | | | | | 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 #4517 from chef/lcg/add-pryLamont Granquist2016-02-023-9/+9
|\ \ | | | | | | add pry, pry-byebug, pry-remote to omnibus-chef
| * | add pry, pry-byebug, pry-remote to omnibus-chefLamont Granquist2016-02-023-9/+9
|/ / | | | | | | | | removes pry as a dep of chef directly because it was never a dep of chef.
* | Merge pull request #4518 from coderanger/copyright-2016Noah Kantrowitz2016-02-021279-2372/+2372
|\ \ | | | | | | Copyright and author line update
| * | Some more author domain stragglers.Noah Kantrowitz2016-02-0220-21/+21
| | |
| * | Update for chef.io domain in copyright lines too.Noah Kantrowitz2016-02-0210-11/+11
| | |
| * | Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-02803-1018/+1018
| | | | | | | | | 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-02753-759/+759
| | | | | | | | | 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-0216-16/+16
| | |
| * | Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021262-1317/+1317
| | | | | | | | | 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"
* | | Merge pull request #4511 from natewalck/osx-profiles-fixPhil Dibowitz2016-02-022-5/+8
|\ \ \ | |/ / |/| | Fix osx_profile coverage failure and update spec
| * | Bad test lead to a provider coverage failure for brand new machines with no ↵Nate Walck2016-02-022-5/+8
| | | | | | | | | | | | profiles installed
* | | Use progress formatter for appveyorJay Mundrawala2016-02-021-0/+1
| | |
* | | Merge pull request #4514 from chef/lcg/fix-rbxLamont Granquist2016-02-021-1/+1
|\ \ \ | |/ / |/| | rbx can't install ruby-prof
| * | rbx can't install ruby-profLamont Granquist2016-02-021-1/+1
|/ /
* | Merge pull request #4510 from chef/jdm/win-evt-fastJay Mundrawala2016-02-021-4/+9
|\ \ | | | | | | Make windows event log tests faster
| * | Make windows event log tests fasterJay Mundrawala2016-02-021-4/+9
| | | | | | | | | | | | | | | Using SecureRandom is slow if it is not initialized. Random is good enough for this test.
* | | Bump cheffish dep to 2.0jk/cheffish-2John Keiser2016-02-021-1/+1
|/ /
* | Merge pull request #4509 from chef/jdm/all-ohai-systemJay Mundrawala2016-02-0212-42/+13
|\ \ | | | | | | Modified all windows paths to not reload anything from ohai
| * | Mark windows_service_spec as brokenJay Mundrawala2016-02-021-1/+2
| | | | | | | | | | | | | | | This test is causing the rspec tests in appveyor to exit with 116
| * | Use documentation rspec formatterJay Mundrawala2016-02-021-1/+0
| | | | | | | | | | | | | | | Something is causing the 64bit tests to fail, this should help narrow it down
| * | Use OHAI_SYSTEM where possibleJay Mundrawala2016-02-0210-40/+11
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rerunning ohai wastes a lot of time. This should get us back to within our time limits in appveyor even with the perf regression in Ohai. Don't rerun ohai for unit/regsitry_helper_spec Ohai is slow. We don't need to rerun this, it's already run in our spec_helper. Don't keep rerunning ohai for reboot_pending_spec Running Ohai is slow. This should know almost 2 mins off the runtime of the tests. Don't need to run ohai for registry_spec crypto_spec does not need its own ohai cmdlet_spec does not need its own ohai functional registry_helper_spec does not need its own ohai Use spec ohai system for knife configure_spec Use OHAI_SYSTEM for dsc_script_spec use OHAI_SYSTEM for dsc_resource_spec
* | Merge pull request #4500 from chef/wix_usersMatt Wrock2016-02-012-0/+22
|\ \ | | | | | | explicitly specify user permissions during msi install of chef directory
| * | explicitly specify user permissions during msi install of chef directoryMatt Wrock2016-02-012-0/+22
| | |
* | | Merge pull request #4505 from chef/jdm/ohai-func-specJay Mundrawala2016-02-011-3/+1
|\ \ \ | | | | | | | | Don't rerun ohai for ohai_spec when not needed
| * | | Don't rerun ohai for ohai_spec when not neededjdm/ohai-func-specJay Mundrawala2016-02-011-3/+1
|/ / / | | | | | | | | | Running ohai is slow
* | | Add --profile to all rspec rake tasksjk/rspec-profileJohn Keiser2016-02-011-2/+6
| | |
* | | Add missing acl_entry backwards compatibility "require"John Keiser2016-02-012-0/+39
| | |
* | | 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-012-2/+22
|/ / /
* | | Merge branch 'jk/policies-acls'John Keiser2016-02-0111-8/+131
|\ \ \
| * | | Remove branch pin from .travis.ymljk/policies-aclsJohn Keiser2016-02-012-2/+10
| | | |
| * | | Don't pin chef-zero to a minor version, pin to majorJohn Keiser2016-02-011-1/+1
| | | |
| * | | Fix /acls/data_bags local mode pathJohn Keiser2016-02-013-3/+7
| | | |
| * | | Adjust tests for ACLsJohn Keiser2016-02-015-2/+60
| | | |
| * | | Add ACLs for policies, policy_groups and cookbook_artifactsJohn Keiser2016-02-014-4/+57
|/ / /
* | | Merge pull request #4494 from chef/salam/acceptance-fixSalim Alam2016-01-291-1/+0
|\ \ \ | | | | | | | | Remove local chef
| * | | Remove local chefsalam/acceptance-fixSalim Alam2016-01-291-1/+0
| |/ /
* | | Merge pull request #4495 from chef/revert-4477-jdm/disable-poiseNoah Kantrowitz2016-01-291-0/+3
|\ \ \ | | | | | | | | Revert "Remove poise from the test matrix"
| * | | Revert "Remove poise from the test matrix"Noah Kantrowitz2016-01-291-0/+3
|/ / /
* | | Allow all Chef Zero 4.x after 4.4fix-chef-zero-constraintsdanielsdeleo2016-01-291-1/+1
|/ / | | | | | | | | | | | | | | | | We require 4.4+ to support policyfile APIs with ChefFS and local mode, but we don't want to be pessimistic about minor versions, only major. It looks like the minor version pessimism was accidentally introduced here: https://github.com/chef/chef/commit/6e4d70826d8ee6977348bd071d0ce543686b89f6
* | Merge pull request #4489 from chef/lcg/add-spec-helperLamont Granquist2016-01-291-1/+2
|\ \ | | | | | | add spec helper