| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Do the shell_out deprecations for Chef-15.
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Whoever wrote the what-to-do-in-Chef-15 notes did a pretty decent job of it, but
the specs for the timeouts could have used a pointer into the code where
the TODOs were located, I got lost there for a few minutes...
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
|
|
| |
These will now load and cookbook resources will not.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
| |
We are seeing some failures when running the functional tests on our new
Anka-based macOS testers. This small tweaks to the `Chef::Config` used
in the specs fix the issues.
Signed-off-by: Seth Chisamore <schisamo@chef.io>
|
|
|
|
| |
Signed-off-by: Josh Barker <josh.barker.developer@gmail.com>
|
|
|
|
| |
Signed-off-by: Anton Kvashenkin <anton.jugatsu@gmail.com>
|
|\
| |
| | |
File provider: fix sticky bits management / preservation
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Looks to be an at least 5 year old bug here dealing with how POSIX
strips sticky bits off of files on a chown/chgrp.
closes #7711
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \
| |/
|/| |
Node Attributes: Build ImmutableMash properly in deep_merge!
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
closes #7738
The root cause here is that there's a difference between doing
Chef::Node::VividMash.new( <another VividMash> )
And:
Chef::Node::ImmutableMash.new( <a VividMash> )
The former short circuits and does no work in convert_value. The
latter will not short circuit and does the proper work to dup
and convert the value argument.
Since we build an ImmutableMash now, we do not need to wrap it
with the extra immutablize() call.
This should be perf neutral or very, very slightly better perf.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
|
|
| |
These aren't options. These are properties.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Adding this resource to core Chef with permission from @dragonsmith
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\
| |
| | |
Change the allow_downgrade pseudo-default in the package provider superclass to true
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
| |
| |
| | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|/
|
|
|
|
|
| |
we know this may produce incorrect comparisons in some cases, but
we never want it to fail.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
| |
to_hash on a lot of these objects should go away, but even eliminating
all our calls to to_hash on these objects internally is difficult.
(e.g. converting the knife ui code to call #to_h means we wind up
calling nil#to_h which "helpfully" becomes '{}' which is hilarious and
i don't know why someone thought that was a good idea).
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem is described in detail here:
https://github.com/rspec/rspec-expectations/issues/1068#issuecomment-424580564
Note that this is self-inflicted damage and our pattern of having #to_hash
on objects be called by #to_json and to produce a serialized 'flavor' of
the object breaks what ruby's semantics are supposed to be and those
should all be `#to_h` methods, and we should deprecate `#to_hash` but I
imagine that will be a reasonably large breaking change (Although
hopefully most of the use by users will be Node#to_hash which is
entirely correct usage since that thing is actually a kind of glorified
Hash-like monster).
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\
| |
| |
| |
| | |
MsysTechnologiesllc/vasundhara/MSYS-888_Add_full_name_property_to_user_resource_for_windows
Adds full_name property to user resource for Windows.
|
| |
| |
| |
| | |
Signed-off-by: vasu1105 <vasundhara.jagdale@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
|/
|
|
|
|
|
| |
pick 3cf01debd fix for global options property
pick af5cddaca added global_options property
pick 7cc82d185 functional test added
pick 3684cdb58 add suse rspec testing
|
|
|
|
|
|
| |
This way we're not polluting the git resource with the subversion properties. Cleans up our docs generation a bit. I added some property descriptions while I was in there.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Vincent AUBERT <vincentaubert88@gmail.com>
|
| |\
| | |
| | | |
Fix remote_directory does not obey removal of file specificity
|
| | |
| | |
| | |
| | | |
Signed-off-by: Scott McGillivray <scott.mcgillivray@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
It's PowerShell not Powershell. Our docs site had already been updated.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \ \
| |/ /
| | |
| | | |
feature/windows_ad_join
|
| |\ \
| | | |
| | | | |
Add openssl_x509_crl resource and fix default modes in x509_certificate / x509_request
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Rename the fixes
Update the mode tests
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |/
| | |
| | |
| | |
| | |
| | | |
This is another great resource added to the openssl cookbook by @juju482 at Institut National de l'Audiovisuel
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
We were trying to parse out a readme file that doesn't exist and the license file which produced errors
We namespaced the task in a way we don't do anywhere else. This matches our other gems now
Tell people to use bundler in the errors instead of gem installing things
We required rubygems which is not necessary
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
not failing here hides issues caused by e.g. mknod not working properly.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |\
| | |
| | | |
support repeated options in systemd_unit
|
| | |
| | |
| | |
| | | |
Signed-off-by: David Bresson <dabresson@gmail.com>
|
| |\ \
| | |/
| |/|
| | |
| | | |
MsysTechnologiesllc/dh/MSYS-854_support_task_on_battery
Support for battery power options in windows_task resource
|
| | |
| | |
| | |
| | | |
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the defaults that should be lazied and fix the duplicate class name I was using.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
95% the same as the rsa public/private key tests
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Cron_d was the #1 requested resource that we already had written. Everyone uses it and we should ship it. It's not a replacement for the existing cron cookbook, but just a different way of managing cron. If people want to manage the whole file or individual snippets we'll give them the option, just as we've always done by having the core resource and this resource.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
MsysTechnologiesllc/ash/MSYS-880_Fix_issue_of_setting_comment_for_windows_user
Fix issue of setting comment for windows user
|