| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
|
|
|
|
|
| |
We'll continue to use the resource name to name the apt_update resource, but all the other actions will use the name property as the user would expect.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
|
|
|
|
|
|
| |
Provide the user with feedback if it's invalid or missing.
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
|
|
|
| |
I'm guessing open-uri doesn't handle local file paths well with `open`?
Either way this fixes the issue.
Signed-off-by: tyler-ball <tyleraball@gmail.com>
|
| |
|
|\
| |
| |
| |
| | |
MsysTechnologiesllc/vasundhara/MSYS_752_windows_task_rewrite
[MSYS-752] windows task rewrite using win32-taskscheduler
|
| |
| |
| |
| | |
Signed-off-by: vasu1105 <vasundhara.jagdale@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: vasu1105 <vasundhara.jagdale@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: vasu1105 <vasundhara.jagdale@msystechnologies.com>
|
| |
| |
| |
| | |
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
|
| | |
|
|\ \
| | |
| | | |
Allow specifying `ignore_failure :quiet` to disable the error spew
|
| | |
| | |
| | |
| | |
| | |
| | | |
Some day I will remember which is which on string styles.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Don't always request lazy files
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Thom May <thom@chef.io>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Convert some of remote_directory to use properties
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Source was building off name not path, which means the name _property never actually worked. I modified an existing test to check this.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This isn't all of it, but it's a start
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Convert properties in subversion to use property
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Retained the False = nil behavior which is actually tested in the specs already.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Convert :key property in registry_key to use property
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Convert this to a true property. It required updating the specs a tiny bit since key gets returned as a state value now (as it should).
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Set desired_state: false on several properties
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
These are not state attributes, but we're treating them like state attributes.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This was accidentally renamed from owner to user. While I'm here add all the descriptions.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add descriptions to more resources
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Just stick the descriptions on a single line so that we utilize large monitors.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Allow build_essential resource to be used without setting a name
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is the same as apt_update. It seems odd to use this resource with a name like this:
```ruby
build_essential "build-essential"
```
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
rhsm_register: skip the registration check if force is specified
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Thanks @donwlewis for pointing this out here: https://github.com/chef-partners/redhat-subscription-manager-cookbook/pull/43
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
these get monkeypatched in by gems which are included in ChefDK
and cause those tests to break.
kind of unpleasant workflow, but this is doing its job correctly.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|\ \ \ \
| | | | |
| | | | | |
sysctl: Fix ignore_error being ignored
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This avoids Chef reporting that the value has changed from false to true. It's not a state property so we don't want that.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
What we're doing here is loading values. Just state that.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove the raise that wasn't needed since we pass -e
Remove the .to_s on the shell_out value since stdout is already a string
Fail hard if we can't shellout for some reason by using shell_out! not
shell_out
Don't create an object out of the shellout result since we don't need
that
Kill the method entirely since it's now only a single line
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This came into the sysctl cookbook https://github.com/sous-chefs/sysctl/pull/127
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \
| |/ / /
|/| | | |
prune remotes with git fetch, fixes #3929
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Roland Moriz <roland@moriz.de>
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
RoboticCheese/roboticcheese/package-locking-nomethoderror
Fix NoMethodError when (un)locking single packages in apt and zypper
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These resources don't coerce `package_name` to an array so would raise an
exception when trying to call `name.all?` when `package_name`, and thus `name`,
was a string.
Signed-off-by: Jonathan Hartman <j@hartman.io>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
CLI help text now includes :trace log level
|