summaryrefslogtreecommitdiff
path: root/lib/chef/provider/env.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use double quotes by defaultThom May2016-01-141-3/+3
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* really fix copslcg/really-fix-copsLamont Granquist2016-01-121-10/+10
|
* chefstyle: fix Lint/StringConversionInInterpolationLamont Granquist2016-01-121-3/+3
| | | | useless use of `"#{foo.to_s}"`
* provider_resolver migration from provider_mappingLamont Granquist2015-03-041-0/+2
| | | | | | | | - move macosx providers to dynamic resolution - move windows providers to dynamic resolution - move openbsd/netbsd providers to dynamic resolution - move all cron providers to dynamic resolution - move mdadm to static mapping
* fix Lint/BlockAlignmentlcg/unreachable-codeLamont Granquist2015-02-181-2/+2
|
* Keep order of env providedAlex Slynko2015-01-251-6/+6
|
* Sytle cleanupjdmundrawala/env-splitJay Mundrawala2014-10-231-1/+1
|
* Aliased compare_value to requires_modify_or_create?Jay Mundrawala2014-10-231-0/+2
|
* Renamed compare_value in env providerJay Mundrawala2014-10-231-3/+3
|
* delete_element should return false if the key needs to be deletedJay Mundrawala2014-10-231-1/+1
|
* Got rid of repeated codeJay Mundrawala2014-10-231-9/+15
|
* Modified env resource to break values up by delimiter before comparing.Jay Mundrawala2014-10-231-6/+13
| | | | | | | | | | | | | For example, if someone were to do before this patch, ```ruby windows_path 'C:\foo;C:\bar' do action :create ... end ``` the path would grow each time this recipe was executed. This is because compare_path would break up the current path with ;, but would not do the same for the value being added.
* Don't modify variable passed to env resource when updatingPierre Ynard2014-07-021-1/+1
| | | | | | | When using a delimiter, the passed value is prepended to the given environment variable. Unfortunately this has the side effect of modifying the variable passed to the resource. Oftentimes this is an attribute, used somewhere else after that, with the wrong, modified value.
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+152
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!