Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Create empty config context for chefdkchefdk-empty-config-context | danielsdeleo | 2015-09-25 | 2 | -0/+16 |
| | | | | | Allows `knife` and such to parse config files with `chefdk.settting` in them without error. | ||||
* | 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 |
| | | | | |||||
| * | | | Use let | Claire McQuin | 2015-09-21 | 2 | -345/+345 |
| | | | | |||||
| * | | | Safely clean up Win32 namespace after specs | Claire McQuin | 2015-09-21 | 4 | -21/+63 |
| | | | | |||||
* | | | | Update docfiles for policyfile/node integration1.4-stable1.2.4 | danielsdeleo | 2015-09-21 | 2 | -0/+65 |
| | | | | | | | | | | | | | | | | Also update for named run list support. | ||||
* | | | | Fix false positive in test, make test more strict. | danielsdeleo | 2015-09-21 | 1 | -1/+1 |
| | | | | |||||
* | | | | Configure named run list via command line or config file | danielsdeleo | 2015-09-21 | 3 | -0/+25 |
| | | | | |||||
* | | | | Apply a named_run_list in policy builder via configuration | danielsdeleo | 2015-09-21 | 2 | -22/+120 |
|/ / / | |||||
* | | | Remove dependency on master of ohai and friendsjk/no-more-master | John Keiser | 2015-09-18 | 1 | -5/+0 |
| | | | |||||
* | | | Remove Win32 after tests | Claire McQuin | 2015-09-18 | 1 | -4/+25 |
| | | | |||||
* | | | Don't add win_evt logger when on nano. | Claire McQuin | 2015-09-18 | 3 | -9/+93 |
| | | | |||||
* | | | Add `setup_chef_class` to Policyfile policy builder | danielsdeleo | 2015-09-17 | 3 | -1/+87 |
| | | | | | | | | | | | | Also, mark internal public API as @private | ||||
* | | | Update code comment to reflect reality | danielsdeleo | 2015-09-17 | 1 | -3/+1 |
| | | | |||||
* | | | Document policy builder API on the dynamic builder | danielsdeleo | 2015-09-17 | 1 | -0/+56 |
| | | | |||||
* | | | Use Forwardable to delegate in PolicyBuilder::Dynamic | danielsdeleo | 2015-09-17 | 1 | -32/+13 |
| | | | |||||
* | | | Add policyfile attrs to knife "fuzzy" search | danielsdeleo | 2015-09-17 | 1 | -1/+1 |
| | | | |||||
* | | | Detect when user wants policyfile compat mode | danielsdeleo | 2015-09-17 | 2 | -1/+21 |
| | | | |||||
* | | | Add default policyfile settings to config | danielsdeleo | 2015-09-17 | 1 | -0/+27 |
| | | | |||||
* | | | Show policyfile attributes in node presenter | danielsdeleo | 2015-09-17 | 1 | -1/+24 |
| | | | |||||
* | | | Populate node policyfile attrs from JSON | danielsdeleo | 2015-09-17 | 2 | -0/+12 |
| | | | |||||
* | | | Set the precedence of policyfile attrs and propagate them everywhere | danielsdeleo | 2015-09-17 | 2 | -0/+201 |
| | | | |||||
* | | | Add policyfile attrs to node create/save | danielsdeleo | 2015-09-17 | 2 | -2/+138 |
| | | | |||||
* | | | Add policyfile attrs to node JSON when present | danielsdeleo | 2015-09-17 | 2 | -0/+38 |
| | | | |||||
* | | | Use the dynamic policy builder everywhere | danielsdeleo | 2015-09-17 | 10 | -111/+91 |
| | | | |||||
* | | | Add Dynamic PolicyBuilder to switch on policyfile mode | danielsdeleo | 2015-09-17 | 3 | -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. |