Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update cache_control_data_ specs to use sha256 for path namejdm/remote-file-sha2 | Jay Mundrawala | 2015-09-28 | 1 | -36/+62 |
| | |||||
* | allow generate_checksum to use StringIO | Jay Mundrawala | 2015-09-28 | 1 | -1/+5 |
| | |||||
* | Modify remote_file cache_control_data to use sha256 for its name | Jay Mundrawala | 2015-09-28 | 1 | -4/+37 |
| | | | | | | | | | | We want to support a fips mode, and doing MD5 with fips mode enabled is wrong/hard. In this case, the type of checksum does not matter, so let's just use sha256 since fips mode will be happy with that. For cases where the cache control data exists, we update it to provide a seamless upgrade. | ||||
* | Make service_providers return the providers | John Keiser | 2015-09-28 | 1 | -6/+10 |
| | |||||
* | Merge branch 'jk/systemctl-shenanigans' | John Keiser | 2015-09-28 | 6 | -684/+784 |
|\ | |||||
| * | Get rid of state-keeping and reset in ServiceHelpersjk/systemctl-shenanigans | John Keiser | 2015-09-28 | 2 | -32/+19 |
| | | |||||
| * | Add test for nonzero systemctl exit code | John Keiser | 2015-09-28 | 7 | -771/+766 |
| | | |||||
| * | Add system providers to the list of world-stubbed stuff | John Keiser | 2015-09-28 | 4 | -63/+91 |
| | | |||||
| * | Test more of provider resolution by mocking the filesystem and commands | John Keiser | 2015-09-28 | 2 | -6/+96 |
| | | |||||
| * | return empty array if no services found | Ranjib Dey | 2015-09-28 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'ad/remote-dir-fix' | John Keiser | 2015-09-28 | 2 | -1/+75 |
|\ | |||||
| * | Add spec for remote dir fix | John Keiser | 2015-09-28 | 1 | -0/+74 |
| | | |||||
| * | Updating to use count instead of split to sort files in remote_directory | andy-dufour | 2015-09-28 | 1 | -1/+1 |
| | | |||||
| * | Fix for #3942 - change remote_directory resource file discovery to traverse ↵ | andy-dufour | 2015-09-28 | 1 | -1/+1 |
|/ | | | | breadth first | ||||
* | Create empty config context for chefdk | danielsdeleo | 2015-09-25 | 2 | -0/+16 |
| | | | | | Allows `knife` and such to parse config files with `chefdk.settting` in them without error. | ||||
* | Merge pull request #3971 from coderanger/fix-deprecations | Noah Kantrowitz | 2015-09-25 | 1 | -1/+1 |
|\ | | | | | I think this was a bad search-and-replace, causes an infinite loop. | ||||
| * | I think this was a bad search-and-replace, causes an infinite loop. | Noah Kantrowitz | 2015-09-25 | 1 | -1/+1 |
| | | |||||
* | | Use 2.0-compatible Hash rather than to_h | John Keiser | 2015-09-25 | 1 | -1/+1 |
|/ | |||||
* | If both name_attribute and name_property are specified, raise an error.jk/property-default-nil | John Keiser | 2015-09-25 | 2 | -28/+29 |
| | |||||
* | Don't treat name_property/attribute as defaults if they are false | John Keiser | 2015-09-25 | 2 | -1/+46 |
| | |||||
* | Fix up property deprecation text | John Keiser | 2015-09-25 | 2 | -5/+5 |
| | |||||
* | Find the spot the user called and use that as the deprecation location | John Keiser | 2015-09-25 | 6 | -9/+19 |
| | |||||
* | Prefer name_property: true over default: nil | John Keiser | 2015-09-25 | 2 | -13/+32 |
| | |||||
* | Make race condition tests explicitjk/run-lock | John Keiser | 2015-09-25 | 1 | -100/+260 |
| | | | | Fixes issue where tests expected a file to have a PID, but sometimes it would race and be empty | ||||
* | Derive locations from expanded path to config filelocal-mode-cache-relative-path | danielsdeleo | 2015-09-24 | 2 | -4/+26 |
| | | | | | | | | | | This resolves an issue where running `chef-client -c client.rb -z` will attempt to create the local mode cache at the filesystem root with an error like: ``` ERROR: Permission denied @ dir_s_mkdir - /local-mode-cache ``` | ||||
* | Remove experimental feature warning for policyfilesremove-policyfile-warning | danielsdeleo | 2015-09-24 | 1 | -6/+4 |
| | | | | Also, improve the language around unsupported features/options. | ||||
* | Add policyfile attributes to client builderpolicyfile-bootstrap-integration | danielsdeleo | 2015-09-24 | 2 | -0/+23 |
| | |||||
* | Don't pass -E to chef-client unless given an environment | danielsdeleo | 2015-09-24 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | Chef::PolicyBuilder::Policyfile requires `Chef::Config[:environment]` to be nil or empty, in order to prevent confusion that could arise from using two conflicting features. Because `chef-client` merges CLI options to `Chef::Config` automatically, running `chef-cient -E _default` causes `Chef::Config[:environment]` to be non-nil, resulting in chef-client emitting this error when bootstrapping: ``` 192.168.99.143 Unexpected Error: 192.168.99.143 ----------------- 192.168.99.143 Chef::PolicyBuilder::Policyfile::UnsupportedFeature: Policyfile does not work with Chef Environments ``` For non-policyfile users, this should behave the same as before since Chef will just default to the `_default` environment (this gets set via Node#initialize) if none is specified. | ||||
* | Add --policy-name and --policy-group opts to knife bootstrap | danielsdeleo | 2015-09-24 | 2 | -3/+90 |
| | |||||
* | Add policyfile support to bootstrap context | danielsdeleo | 2015-09-24 | 2 | -1/+16 |
| | |||||
* | Re-upgrade chef-zero to latestjk/latest-chef-zero | John Keiser | 2015-09-23 | 7 | -9/+20 |
| | |||||
* | Run the chef service executable from the bin directoryjk/windows-service | John Keiser | 2015-09-23 | 1 | -1/+1 |
| | | | | we are currently running from instead of guessing where it is | ||||
* | Merge branch 'jk/default-ignoring' | John Keiser | 2015-09-22 | 3 | -6/+38 |
|\ | |||||
| * | Add deprecation warning for properties that specify default and name_propertyjk/default-ignoring | John Keiser | 2015-09-22 | 3 | -13/+30 |
| | | |||||
| * | Honor the ordering of whichever `name_attribute` or `default` comes first | John Keiser | 2015-09-22 | 2 | -2/+17 |
|/ | |||||
* | Merge pull request #3939 from chef/salam/lazy-msi | Salim Alam | 2015-09-22 | 3 | -2/+67 |
|\ | | | | | Lazy load MSI provider, add check for MSI support | ||||
| * | Lazy load MSI provider, add check for MSI supportsalam/lazy-msi | Salim Alam | 2015-09-22 | 3 | -2/+67 |
| | | |||||
* | | Merge pull request #3857 from coderanger/gateway-key | Noah Kantrowitz | 2015-09-22 | 3 | -36/+82 |
|\ \ | | | | | | | Refactor knife ssh options stuff | ||||
| * | | Lots of tests leak the log level so just fix it here. | Noah Kantrowitz | 2015-09-01 | 1 | -0/+11 |
| | | | |||||
| * | | Don't leak log_level=debug out of the cookbook_delete_spec test. | Noah Kantrowitz | 2015-09-01 | 1 | -7/+17 |
| | | | |||||
| * | | Don't leak extra keys in the options. | Noah Kantrowitz | 2015-09-01 | 1 | -5/+9 |
| | | | |||||
| * | | Stub Net::SSH.configuration_for. | Noah Kantrowitz | 2015-09-01 | 1 | -0/+5 |
| | | | |||||
| * | | Missed a variable while moving code around. | Noah Kantrowitz | 2015-09-01 | 1 | -1/+1 |
| | | | |||||
| * | | Refactor knife ssh options stuff. | Noah Kantrowitz | 2015-09-01 | 1 | -29/+45 |
| | | | | | | | | | | | | This allows most config options to work with the SSH gateway too. The most important of these is the identity file stuffs. | ||||
* | | | Rename action_provider_class to less-wordy action_classjk/declare_action_class | John Keiser | 2015-09-22 | 5 | -38/+53 |
| | | | |||||
* | | | Merge pull request #3860 from mwrock/mattmaint | Lamont Granquist | 2015-09-22 | 2 | -2/+10 |
|\ \ \ | |_|/ |/| | | adding matt wrock as maintainer | ||||
| * | | adding matt wrock as maintainer | Matt Wrock | 2015-09-02 | 2 | -2/+10 |
| | | | |||||
* | | | Merge pull request #3937 from chef/mcquin/remove-const | Claire McQuin | 2015-09-22 | 4 | -394/+434 |
|\ \ \ | | | | | | | | | Safely clean up Win32 namespace after specs | ||||
| * | | | Remove pesky whitespacemcquin/remove-const | Claire McQuin | 2015-09-21 | 2 | -2/+0 |
| | | | | |||||
| * | | | Remove should from spec text | Claire McQuin | 2015-09-21 | 1 | -28/+28 |
| | | | |