summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of state-keeping and reset in ServiceHelpersjk/systemctl-shenanigansJohn Keiser2015-09-282-32/+19
|
* Add test for nonzero systemctl exit codeJohn Keiser2015-09-287-771/+766
|
* Add system providers to the list of world-stubbed stuffJohn Keiser2015-09-284-63/+91
|
* Test more of provider resolution by mocking the filesystem and commandsJohn Keiser2015-09-282-6/+96
|
* return empty array if no services foundRanjib Dey2015-09-281-1/+1
|
* Merge branch 'ad/remote-dir-fix'John Keiser2015-09-282-1/+75
|\
| * Add spec for remote dir fixJohn Keiser2015-09-281-0/+74
| |
| * Updating to use count instead of split to sort files in remote_directoryandy-dufour2015-09-281-1/+1
| |
| * Fix for #3942 - change remote_directory resource file discovery to traverse ↵andy-dufour2015-09-281-1/+1
|/ | | | breadth first
* Create empty config context for chefdkdanielsdeleo2015-09-252-0/+16
| | | | | Allows `knife` and such to parse config files with `chefdk.settting` in them without error.
* Merge pull request #3971 from coderanger/fix-deprecationsNoah Kantrowitz2015-09-251-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 Kantrowitz2015-09-251-1/+1
| |
* | Use 2.0-compatible Hash rather than to_hJohn Keiser2015-09-251-1/+1
|/
* If both name_attribute and name_property are specified, raise an error.jk/property-default-nilJohn Keiser2015-09-252-28/+29
|
* Don't treat name_property/attribute as defaults if they are falseJohn Keiser2015-09-252-1/+46
|
* Fix up property deprecation textJohn Keiser2015-09-252-5/+5
|
* Find the spot the user called and use that as the deprecation locationJohn Keiser2015-09-256-9/+19
|
* Prefer name_property: true over default: nilJohn Keiser2015-09-252-13/+32
|
* Make race condition tests explicitjk/run-lockJohn Keiser2015-09-251-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-pathdanielsdeleo2015-09-242-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-warningdanielsdeleo2015-09-241-6/+4
| | | | Also, improve the language around unsupported features/options.
* Add policyfile attributes to client builderpolicyfile-bootstrap-integrationdanielsdeleo2015-09-242-0/+23
|
* Don't pass -E to chef-client unless given an environmentdanielsdeleo2015-09-242-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 bootstrapdanielsdeleo2015-09-242-3/+90
|
* Add policyfile support to bootstrap contextdanielsdeleo2015-09-242-1/+16
|
* Re-upgrade chef-zero to latestjk/latest-chef-zeroJohn Keiser2015-09-237-9/+20
|
* Run the chef service executable from the bin directoryjk/windows-serviceJohn Keiser2015-09-231-1/+1
| | | | we are currently running from instead of guessing where it is
* Merge branch 'jk/default-ignoring'John Keiser2015-09-223-6/+38
|\
| * Add deprecation warning for properties that specify default and name_propertyjk/default-ignoringJohn Keiser2015-09-223-13/+30
| |
| * Honor the ordering of whichever `name_attribute` or `default` comes firstJohn Keiser2015-09-222-2/+17
|/
* Merge pull request #3939 from chef/salam/lazy-msiSalim Alam2015-09-223-2/+67
|\ | | | | Lazy load MSI provider, add check for MSI support
| * Lazy load MSI provider, add check for MSI supportsalam/lazy-msiSalim Alam2015-09-223-2/+67
| |
* | Merge pull request #3857 from coderanger/gateway-keyNoah Kantrowitz2015-09-223-36/+82
|\ \ | | | | | | Refactor knife ssh options stuff
| * | Lots of tests leak the log level so just fix it here.Noah Kantrowitz2015-09-011-0/+11
| | |
| * | Don't leak log_level=debug out of the cookbook_delete_spec test.Noah Kantrowitz2015-09-011-7/+17
| | |
| * | Don't leak extra keys in the options.Noah Kantrowitz2015-09-011-5/+9
| | |
| * | Stub Net::SSH.configuration_for.Noah Kantrowitz2015-09-011-0/+5
| | |
| * | Missed a variable while moving code around.Noah Kantrowitz2015-09-011-1/+1
| | |
| * | Refactor knife ssh options stuff.Noah Kantrowitz2015-09-011-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_classJohn Keiser2015-09-225-38/+53
| | |
* | | Merge pull request #3860 from mwrock/mattmaintLamont Granquist2015-09-222-2/+10
|\ \ \ | |_|/ |/| | adding matt wrock as maintainer
| * | adding matt wrock as maintainerMatt Wrock2015-09-022-2/+10
| | |
* | | Merge pull request #3937 from chef/mcquin/remove-constClaire McQuin2015-09-224-394/+434
|\ \ \ | | | | | | | | Safely clean up Win32 namespace after specs
| * | | Remove pesky whitespacemcquin/remove-constClaire McQuin2015-09-212-2/+0
| | | |
| * | | Remove should from spec textClaire McQuin2015-09-211-28/+28
| | | |
| * | | Use letClaire McQuin2015-09-212-345/+345
| | | |
| * | | Safely clean up Win32 namespace after specsClaire McQuin2015-09-214-21/+63
| | | |
* | | | Update docfiles for policyfile/node integration1.4-stable1.2.4danielsdeleo2015-09-212-0/+65
| | | | | | | | | | | | | | | | Also update for named run list support.
* | | | Fix false positive in test, make test more strict.danielsdeleo2015-09-211-1/+1
| | | |
* | | | Configure named run list via command line or config filedanielsdeleo2015-09-213-0/+25
| | | |