| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit allows a default choice to be provided for a ui.confirm
prompt. "-y" flag still takes precedence, and the "default" for the
default is the previous behavior ("Y/N", no default choice).
Testing done:
bundle exec rake spec - passes
bundle exec rspec spec/unit/knife/core - passes
|
|
|
|
|
|
| |
hash_only_merge dups its inputs and then passes it to
hash_only_merge!. Unfortunately, dup does not make a deep copy,
leading hash_only_merge to mutate deeply nested structures.
|
| |
|
| |
|
|\
| |
| | |
CHEF-5064: ensure Chef::REST does not modify options in-place
|
| | |
|
|\ \
| | |
| | | |
CHEF-3714: add a file_edited? method
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Implement a method in Chef::Util::FileEdit that returns if a file was edited
This commit contains the method originally written by rhafer@suse.com and
a unit test.
|
|\ \ \
| |/ /
|/| | |
[CHEF-5037] default to IPS packages on Solaris 5.11+
|
| | | |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Bryan McLellan <btm@opscode.com>
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
- This is to fix Travis builds for 1.8.7 which has brought back the dependencies in different orders
- I can replicate Travis behavior on my Mac where sometimes the tests pass and sometimes the pass fail before this fix
|
| | |
| | |
| | |
| | | |
called
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Debian allows a colon in package versions to handle cases where the upstream
version of a release may be newer than a prior release, but not numerically
sort as higher.
H/T to Eric Herot <eric@where.com> for the original patch
|
| | |
| | |
| | |
| | | |
overwrite it in subclasses. Added custom_exception_message to subversion resource to filter out password if any
|
|\ \ \
| | | |
| | | | |
CHEF-4990 Fix provider for the state of 'maintenance' Solaris services.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
CHEF-4962, knife ssh will use a cloud attribute for port if available.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
The Azure cloud can have multiple nodes behind a single ip/fqdn
with different ssh ports for each. knife ssh should be able to
run on a search of nodes and use the correct ssh port for each.
|
|\ \ \ \
| | | | |
| | | | | |
Update to allow boolean and numeric attributes
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Include 'ibm_powerkvm' in provider mappings.
Fixes CHEF-5135
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The default log level for Chef 10 was "info" but on Chef 11 it is "auto"
which does not work on Chef 10. This prevents you from bootstrapping a
Chef 10 node from a Chef 11 workstation. We can leave out log_level and
Chef will use the built in defaults.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Don't honor splay setting when sent USR1 signal.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also make test more likely to halt when failing.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
consistent with knife client bulk delete.
|
|/ / / / / |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes CHEF-4367.
When attempting to load a recipe belonging to a cookbook that is not in
the run_list or any dependencies of cookbooks in the run_list, chef
will now produce an error like this:
Chef::Exceptions::MissingCookbookDependency
-------------------------------------------
Recipe `ancient::aliens` is not in the run_list, and cookbook 'ancient'
is not a dependency of any cookbook in the run_list. To load thisrecipe,
first add a dependency on cookbook 'ancient' in the cookbook you're
including it from in that cookbook's metadata.
This error will occur when chef-solo users use `include_recipe` without
specifying the dependency in metadata; prior to this patch, chef would
typically fail reading an undefined attribute, which commonly would
result in a NoMethodError for nil.
|
| | | | | |
|
|\ \ \ \ \ |
|
| | | | | | |
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
To remain consistent with the way the user provider works, coerce both
new_resource and current_resource GIDs to strings for comparison. This
allows users to write their resources like:
group "zone" do
gid 233
end
or
group "zone" do
gid "233"
end
Without this change, every time Chef runs when a string GID is
specified, it will modify the group, which is not desirable.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Conflicts:
spec/unit/provider/ohai_spec.rb
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
v11 version of #1267
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
CHEF-5030: improve debian ifconfig provider code
|
| | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
- dynamically create directory resource to create /etc/network/interfaces.d
- better idempotency and accuracy in what we report to the user
- dependency injection in tests that uses real tempfiles instead of mocking File class, etc
|