summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | |
* | | | Apply a named_run_list in policy builder via configurationdanielsdeleo2015-09-212-22/+120
|/ / /
* | | Remove dependency on master of ohai and friendsjk/no-more-masterJohn Keiser2015-09-181-5/+0
| | |
* | | Remove Win32 after testsClaire McQuin2015-09-181-4/+25
| | |
* | | Don't add win_evt logger when on nano.Claire McQuin2015-09-183-9/+93
| | |
* | | Add `setup_chef_class` to Policyfile policy builderdanielsdeleo2015-09-173-1/+87
| | | | | | | | | | | | Also, mark internal public API as @private
* | | Update code comment to reflect realitydanielsdeleo2015-09-171-3/+1
| | |
* | | Document policy builder API on the dynamic builderdanielsdeleo2015-09-171-0/+56
| | |
* | | Use Forwardable to delegate in PolicyBuilder::Dynamicdanielsdeleo2015-09-171-32/+13
| | |
* | | Add policyfile attrs to knife "fuzzy" searchdanielsdeleo2015-09-171-1/+1
| | |
* | | Detect when user wants policyfile compat modedanielsdeleo2015-09-172-1/+21
| | |
* | | Add default policyfile settings to configdanielsdeleo2015-09-171-0/+27
| | |
* | | Show policyfile attributes in node presenterdanielsdeleo2015-09-171-1/+24
| | |
* | | Populate node policyfile attrs from JSONdanielsdeleo2015-09-172-0/+12
| | |
* | | Set the precedence of policyfile attrs and propagate them everywheredanielsdeleo2015-09-172-0/+201
| | |
* | | Add policyfile attrs to node create/savedanielsdeleo2015-09-172-2/+138
| | |
* | | Add policyfile attrs to node JSON when presentdanielsdeleo2015-09-172-0/+38
| | |
* | | Use the dynamic policy builder everywheredanielsdeleo2015-09-1710-111/+91
| | |
* | | Add Dynamic PolicyBuilder to switch on policyfile modedanielsdeleo2015-09-173-0/+348
| | | | | | | | | | | | | | | | | | Now we need to switch PolicyBuilder implementations based on several factors instead of just a single config settings, including content of the node fetched from the Chef Server.
* | | Add policy_name and policy_group attrs to Node classdanielsdeleo2015-09-172-0/+121
| | |