summaryrefslogtreecommitdiff
path: root/lib/chef/config.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove encrypted_data_bag_secret distribution via Chef::Config and enable ↵Serdar Sutay2014-08-261-4/+2
| | | | distributing it via knife[:secret] and knife[:secret_file].
* Deprecate --distro and --template-file options in favor of --template.Serdar Sutay2014-08-261-0/+1
|
* Use path_join to create local-mode-cacheJohn Keiser2014-08-231-5/+5
| | | | Always give config_dir a value
* Enable client-side key generation by default (resolves ↵Claire McQuin2014-08-141-4/+4
| | | | https://github.com/opscode/chef/issues/1711)
* Merge pull request #1591 from onddo/CHEF-5356-gcm-2Claire McQuin2014-08-071-1/+2
|\ | | | | [CHEF-5356-gcm(2)] Encrypted data bags should use different HMAC key and include the IV in the HMAC
| * [CHEF-5356-gcm] docs updated to clarify ruby 2 requirementXabier de Zuazo2014-07-011-1/+1
| |
| * [CHEF-5356-gcm] Chef::Config: Added a comment about EncryptedDataBag version 3Xabier de Zuazo2014-07-011-1/+2
| |
* | make no_lazy_load the defaultLamont Granquist2014-07-261-0/+24
| | | | | | | | modernization of spec tests and additional specs added
* | change file_staging_uses_destdir default to trueLamont Granquist2014-07-261-1/+1
| |
* | Support --chef-zero-port=A-B,C,D-E syntax for finding portsJohn Keiser2014-07-071-1/+1
|/
* CHEF-5365 - if user home directory is not set via environment, then default ↵brettcave2014-06-131-2/+2
| | | | user_home to the current directory.
* Merge pull request #1436 from kramvan1/CHEF-3193Claire McQuin2014-06-101-0/+1
|\ | | | | CHEF-3193: LOCK_TIMEOUT in yum-dump.py should be configurable
| * CHEF-3193: LOCK_TIMEOUT in yum-dump.py should be configurableMark Vanderwiel2014-05-291-0/+1
| | | | | | | | | | | | Allow yum lock timeout from Chef Config yum_timeout. Issue: CHEF-3193
* | Delete duplicate :host defaultJohn Keiser2014-06-051-2/+1
| |
* | making the chef-zero host configurable for knife and chef-clientLuke Amdor2014-06-051-0/+1
| |
* | add comment denoting workaroundCHEF-Issues-1461Claire McQuin2014-06-031-0/+1
| |
* | fix spacingClaire McQuin2014-06-031-1/+1
| |
* | automatically enable verify_api_cert when in local-modeClaire McQuin2014-06-031-2/+3
| |
* | Merge pull request #1442 from opscode/CHEF-5259Claire McQuin2014-05-291-2/+20
|\ \ | |/ |/| Put cache at HOME/.chef if /var/chef can't be accessed.
| * log cache_path switch to infoClaire McQuin2014-05-221-1/+1
| |
| * update commentClaire McQuin2014-05-221-1/+1
| |
| * change backup cache location to user's .chefClaire McQuin2014-05-221-1/+1
| |
| * Put cache at HOME/.chef.d if /var/chef can't be accessed.Claire McQuin2014-05-221-2/+20
| |
* | Add "knife serve" to serve up chef repo in chef-zeroJohn Keiser2014-05-261-0/+1
|/
* Change attribute whitelist filter syntax to match OhaiClaire McQuin2014-05-151-23/+3
|
* add whitelist config options for attributes saved by the nodeClaire McQuin2014-05-151-0/+29
|
* Decrease number of default threadsClaire McQuin2014-05-151-2/+5
|
* Add config option for parallel cookbook sync.Claire McQuin2014-05-131-0/+3
|
* add option to abandon chef run if blocked by another for too longClaire McQuin2014-05-051-0/+5
|
* comment: add hook to avoid twiddling global state in rspecClaire McQuin2014-04-301-0/+2
|
* collect :user_home at correct time, for windowsClaire McQuin2014-04-301-3/+10
|
* Fix warnings caused by reloading Configdanielsdeleo2014-04-241-5/+17
|
* Fix constant redefinition warnings in config testsdanielsdeleo2014-04-241-1/+1
|
* Add optional client-side key generation when registeringdanielsdeleo2014-03-251-0/+11
|
* Allow policyfile feature to be enabled in configdanielsdeleo2014-01-221-0/+10
|
* CHEF-4725: Validate 'log_location' setting on log initializationNikhil Benesch2014-01-201-21/+3
| | | | | | | | | | | | | | Previously, a Mixlib::Config setter method verified that 'log_location' was set to a writeable file or a valid IO stream. Due to the way Mixlib::Config handles `default` and `merge!`, this setter method would not fire if the 'log_location' was left unconfigured or if it was set on the command line, resulting in inconsistent error handling. This commit moves the validation logic out of the configuration layer and into the log initializion layer. This ensures that error handling is consistent, regardless of where the 'log_location' setting is configured. Validation logic is also simplified, relying on the MonoLogger class to open and configure any necessary IO streams.
* add commentLamont Granquist2014-01-091-0/+4
|
* CHEF-4734: Stop enforcing group/owner regular expressionsLamont Granquist2014-01-091-2/+2
| | | | | | | | | | for unix: - user/group cannot start with '-', '+' or '~' - user/group cannot contain ':', ',' or non-space-whitespace or null byte - we already allowed spaces (i don't know why, but it was tested for) - this fixes UTF-8 chars as well windows: - AD users can be pulled in via LDAP
* Allow single letter usernames.Matthew M. Boedicker2013-11-061-1/+1
| | | | | On non-Windows platforms single letter usernames are valid, so make the valid user regex allow them.
* [CHEF-4363] Allow adding event_handlers via config fileRanjib Dey2013-11-061-0/+3
|
* Fix recursion in self.find_embedded_dir_in on windows.sersut2013-10-211-10/+7
|
* Merge branch 'auto-configure-windows-cacert'danielsdeleo2013-10-181-1/+30
| | | | Fixes CHEF-4649 https://tickets.opscode.com/browse/CHEF-4649
* Add a directory where trusted certs can be storeddanielsdeleo2013-10-171-1/+8
|
* Fix String element reference for ruby 1.8danielsdeleo2013-10-171-1/+1
|
* Add a root config_dir config optiondanielsdeleo2013-10-171-12/+36
| | | | | Also, refactor path joins in Config to a method that will support components containing a trailing separator or not.
* Add `verify_api_cert` setting in config.rbdanielsdeleo2013-10-161-0/+12
|
* Support evaluation of a string as configdanielsdeleo2013-10-161-0/+7
| | | | | This allows remote config files to be fetched to memory and evauated without requiring an intermediate tempfile.
* Add --config-file-jail to avoid loading user knife.rb in testsJohn Keiser2013-10-151-0/+9
|
* Set cache_path under the user's home dir rather than the local repo pathJohn Keiser2013-10-141-1/+7
|
* Pick up knife config instead of /etc/chef/client.rb if local mode is specifiedJohn Keiser2013-10-091-3/+2
|