| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
a few cops we have enabled got a little more accurate/stricter
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
[Knife] Fix deprecation warning when creating data bag items
|
| |
| |
| |
| |
| |
| | |
Fixes chef/chef-vault#215
Signed-off-by: Thom May <thom@may.lt>
|
|/
|
|
|
|
|
|
|
|
|
| |
The `--config-option` CLI option allows setting any `Chef::Config`
setting on the command line, which allows applications to be used
without a configuration file even if a desired config option does not
have a corresponding CLI option. This CLI option was present in the help
output for knife but was not actually implemented. Moving the behavior
into chef-config allows us to use it for both `chef-client` and `knife`.
Signed-off-by: Daniel DeLeo <dan@chef.io>
|
|\
| |
| | |
Fixed double quotes issue in powershell_out
|
| |
| |
| |
| | |
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
|\ \
| | |
| | |
| | |
| | | |
phene/better-user-provider-comparison-of-home-paths
User Provider: Fix home folder comparison
|
| | |
| | |
| | |
| | |
| | |
| | | |
comparison of home paths to fix Issue #5444
Signed-off-by: Geoffrey Hichborn <geoff@socialcast.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| |
| |
| |
| | |
probably also our best documentation on how to write accumulators right
now
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
| |
Signed-off-by: Jeremy J. Miller <jm@chef.io>
|
|\
| |
| | |
Fix for "Chefspec template rendering fails when cookbook_name != directory name"
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Signed-off-by: Matt Wrock <matt@mattwrock.com>
|
|\ \
| | |
| | | |
Fix solaris handling for useradd -m/-M behavior
|
| | |
| | |
| | |
| | | |
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
MsysTechnologiesllc/nim/double_quotes_parsing_error
Handling double quotes in powershell_out
|
| | |
| | |
| | |
| | | |
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
|\ \ \
| | | |
| | | | |
Test apt_update on non-linux behavior
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Make sure on non-linux without running which we still end up with a no-op
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \
| | | | |
| | | | | |
Don't let knife cookbook delete tests print to stdout
|
| | | | | |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
Allow raw_key to override the configured signing_key
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Fixes: #5175
Signed-off-by: Thom May <thom@may.lt>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
MsysTechnologiesllc/ali/windows_registry_key_resource_delete_fix
Allow deletion of registry_key without the need for users to pass data key in values hash.
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
data key in values hash.
Signed-off-by: aliasgar16 <aliasgar.batterywala@msystechnologies.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
MsysTechnologiesllc/nim/dsc_failure_reported_warning
Invalid `dsc_scripts` should fail the run
|
| |/ / /
| | | |
| | | |
| | | | |
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Vasu1105 <vasundhara.jagdale@clogeny.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Reverted changes
Adding resource and provider for cab file support
Added method identifying package version for installation and removal of package
Updated code to idetitfy installed version
refactored some code
Refactored code for parsing dism get package output
Fixed rubocop issue, working on specs
created spec files
Working on unit specs
Added unit specs and working on functional specs
Working on functional specs and fixed rubocop errors
Fixed failing unit test cases
Resolved rubucop style error
Removed functional specs
Fixed error and working on functional specs
Added missing functional spec file
|
|\ \ \
| | | |
| | | | |
Revert --local filter for gems installed from paths
|
| | | | |
|
|\ \ \ \ |
|
| |\ \ \ \
| | |/ / /
| |/| | | |
Chef 12 Attribute Regression
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
slightly more succinct and strict about types, also trying to keep
the attributes tests associated with attributes even though we mix
them all up like crazy anyway...
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
VividMash, unlike Mash, does not recursively convert values inside
arrays, just the array itself.
As such, hashes inside arrays are not converted to *Mash, introducing
a behaviour that differs from Chef 11, e.g.
having this attr defined
node['foo'] = [ { 'attr' => 'value' } ]
in Chef 11 `node[:foo][0][:attr]` returns `'value'` while in Chef 12 it
returns `nil`
This commit fixes VividMash so arrays are recursively converted and the
behaviour restored.
Plus, immutablize merge_all result, so to be sure that hashes contained
in Arrays are properly immutablized as well, so not existing attributes
are not automatically vivified (thus returning an empty VividMash
instead of nil)
This problem was first reported in chef/chef#2871.
Signed-off-by: Giacomo Bagnoli <gbagnoli@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Handling Errno::ETIMEDOUT
* spec for Errno::ETIMEDOUT
* rubocop fix
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Modified ifconfig resource's functional spec to handle persistent stateless network interface names on Ubuntu platform.
* Implemented the review comments.
|
| |\ \ \ \
| | | | | |
| | | | | | |
ignore unknown metadata fields in metadata.rb
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
we expect this to be forward compat, so that all this turns into is a nag message to upgrade
which is probably better just not to display
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
if we're just using chef-zero there's no metadata.json file so
chef-client doesn't do json parsing (which ignores unknown metadata
fields already) but parses metadata.json which explodes.
i believe since TK goes through berks it renders the rb to json before
copying to the virt so we don't see this in TK or in running chef-client
from a real server.
this only affects the chef-client -z or chef-zolo mode of operation (and
probably legacy chef-solo)
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* fix chef-solo spec timeouts
caused by a race condition (not actually fixed) where the pid
can be read by the process which lost the race to lock it before the
pid has been written by the process which got the lock.
the result is a message like:
"WARN: Chef client is running, will wait for it to finish and then run."
without any numerical pid.
i'm not super concerned with fixing the race, this will unbreak a lot
of red travis failures though.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* revert some debugging
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |\ \ \ \
| | |/ / /
| |/| | | |
fix method_access and array handling in node presenter
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
we want attributes before methods
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|