| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This is a pretty critical bit of data and we're using it for decisions
in the timezone resource now.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
Chef-15: switch default of allow_downgrade to true
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
|
|
|
|
| |
This reverts a change which was working around problems caused by
unforked interval runs. Fixes issues with chefspec, should make
it faster and reduce warning spam.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
windows_workgroup: Coerce the provided reboot property and add more tests
|
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of converting the passed in reboot property when we use it coerce it when it's passed in. This allows us to easily test the conversion and it makes it so the docs don't include the legacy values.
I also added moved command generation into a method and added tests for that.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Convert service resource to use properties
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
No need to configure the provider mapping for this spec
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Might as well test this
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also expand the testing a bit while I'm here.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| | | |
| | | | |
Fully convert remote_directory to use properties
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Also add descriptions, default_descriptions, and expand the tests a bit.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| |/ /
|/| | |
windows_certificate: Add testing of the defaults and allowed properties
|
| |/
| |
| |
| |
| |
| | |
These should have been tested when I merged this in. It's easy stuff to verify with unit tests.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Don't set chef_gem_compile_time config in the chef_gem spec
|
| |/
| |
| |
| |
| |
| |
| | |
We removed this config in Chef 13. There's no need to set it in the spec
anymore.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| |/
|/| |
use --no-tty during apt-keys fro gpg - fixes #7913
|
| |
| |
| |
| | |
Signed-off-by: em <eugen.mayer@kontextwork.de>
|
| |
| |
| |
| | |
Signed-off-by: em <eugen.mayer@kontextwork.de>
|
| |
| |
| |
| | |
Signed-off-by: Eugen Mayer <eugen.mayer@kontextwork.de>
|
|/
|
|
|
|
|
|
| |
property
This eliminates the need for setting the subresource variable and also allows us to auto-generate docs that are aware of the default.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Remove the config to turn it off
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
|
| |
Changes to consistently uses the "NIL" object internally to mean "not present"
instead of abusing nil for that purpose.
So now "nil means nil" and we can deep merge that so it will effectively
override lower precedence levels if you write a nil.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
| |
rely on killing the thread to terminate the server, and rely on
thread#join to correctly signal to the main thread that the
server thread is dead, don't leak the server object out of the
helper.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| | |
add tests for yum version with package_source bug
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \
| |/
|/| |
Remove Chef provisioning lazy loading
|
| |
| |
| |
| |
| |
| | |
Remove the lazy loading of chef provisioning resources
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
Otherwise it won't compare to the PS output
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow ports to be an integer
Allow ports to be a comma separated list or an array
Workaround a bug in PowerShell where arrays that are converted to json turn into hashes with the count and the value
The quotes around the port are removed because you can't pass '80,8080' in the cmdlet. It has to be a bare 80,8080
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Fully remove knife cookbook create command
|
| | |
| | |
| | |
| | |
| | |
| | | |
We already removed all functionality and replaced it with an error message. This prevents the command from showing up in help.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| | | |
| | | | |
Add windows_firewall_rule
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tor Magnus Rakvåg <tor.magnus@outlook.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |_|/
|/| |
| | |
| | |
| | |
| | | |
We shipped Chef 12 server on 2014-11-25. We've maintained backwards compatibility here by shipping double plugins, constantly checking for Chef 11 and then rewriting passed args. We deprecated it with Chef 14. This fully removes support. chef-client will continue to work on chef 11, but users cannot be managed with knife from a workstation running the latest version of Chef/ChefDK.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| |_|/
|/| | |
Chef 15 node attribute array fixes
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Doing something like:
```
node.default["foo"] = []
node.default["foo"] << { "bar" => "baz }
```
Would result in a Hash instead of a VividMash inserted into the
AttrArray, so that:
```
node.default["foo"][0]["bar"] # gives the correct result
node.default["foo"][0][:bar] # does not work due to the sub-Hash not
# converting keys
```
This fixes that behavior, but is likely a breaking change to someone
who expects to ingest hashes with symbol keys and get back out symbol
keys, they will now get converted to strings. This breaking change
is fully 100% intentional. This makes the node attribute structure
more consistent and predictable.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \
| | |
| | | |
Remove knife cookbook test feature
|
| | |
| | |
| | |
| | |
| | |
| | | |
We deprecated this during the Chef 13 cycle. It's time to fully remove it.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
MsysTechnologiesllc/Kapil/MSYS-913_add_description_property
Added property `description` on windows_task resource
|
| | |
| | |
| | |
| | | |
Signed-off-by: kapil chouhan <kapil.chouhan@msystechnologies.com>
|
|\ \ \
| |_|/
|/| | |
Remove the deprecated ohai_name property from the ohai resource
|
| | |
| | |
| | |
| | |
| | |
| | | |
This did nothing and we deprecated it already.
Signed-off-by: Tim Smith <tsmith@chef.io>
|