| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- This makes converting core resources to properties safer
- This makes it easier to apply wrapping properties to subresources
property :foo, String, default: "foo"
This is where the change lies, and writing a nil here will now actually
write a "foo" to the variable.
property :foo, [ String, nil ], default: "foo"
This is unchanged. Writing nil writes nil.
property :foo, String
Technically this is changed, since it writes the default value, but
since nil.equal?(nil) in a very deep way no behavior changes.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|\
| |
| | |
remove dead code from property declaration
|
|/
|
|
|
|
|
|
|
|
|
| |
this is effectively dead because of forcing new_resource.thingy
i stuck a hard `raise` in here and we have no tests around this any
more.
the conditional also just makes my head hurt looking at it.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|\
| |
| | |
rubocop fixes from engine bump to 0.54.0
|
| |
| |
| |
| |
| |
| | |
some cops got a little stricter.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | |
|
|\ \
| | |
| | | |
Save the node's UUID as an attribute
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We generate the UUID as part of the data collector report, but we didn't
make that available to the node or the chef server otherwise.
Signed-off-by: Thom May <thom@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Support installing removed windows features from source
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
This issue was reported on the cookbook after refactoring the resource. The issue is that we have a method to determine the features to install given a list of features we want to install. It wasn't taking into account that a removed feature can be installed if the user specifies a source. Now it properly takes that into account and should build the correct array of features to install. It also builds the install command in a cleaner way that avoids funky extra spaces at the end of the command.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Pagefile sizes are in megabytes not bytes
|
|/ /
| |
| |
| |
| |
| | |
@s1mark reported this in the Windows cookbook
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| | |
| | | |
memoize some work in the package class
|
| | |
| | |
| | |
| | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Add missing installed logic for macos in build_essential
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add the missing installed? check that makes this fast. Also use tail
instead of head in the execute so we install the latest not the oldest
xcode release if more than 1 is available on the system (upgrades).
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Add dmg_package, homebrew_cask, and homebrew_tap resources
|
| | |
| | |
| | |
| | |
| | |
| | | |
This converts the Chef resources to shell_out and adds new properties for dealing with edge case installations. It also adds validation messaging / testing and lazy evals the stuff that uses the mixin.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
We need the username about a billion times in both providers. The current helper grabs the UID.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ /
| |
| |
| |
| |
| | |
Pull in resources from the dmg and homebrew cookbooks
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Remove Chef 12-isms from the apt_repository resource
|
|/ /
| |
| |
| |
| |
| | |
We set a lot of nil defaults and did coersions here that are no longer necessary. Since we did accept nil in a lot of these properties at one point we need to keep it so I wrote a note to future me about that. I also added some specs for the remaining coersion and the defaults.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Fail with a warning if users specify apt/yum/zypper repos with slashes
|
| | |
| | |
| | |
| | |
| | |
| | | |
We can't write out a filename like foo/bar.repo so we should properly warn the user if they try to give us that. There's probably other things, but this one makes particular sense for apt since people want to use the slash in PPA repo names.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| | | |
| | | | |
Add more resource descriptions and convert more resources to use properties
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
More minor cleanup
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \
| | | |
| | | | |
Don't try to install old GCC packages on Amazon Linux 2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's enough different and we're starting to get a good number of users on the new version.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
This worked until Amazon released 2.0
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Remove Bundle Audit
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Thom May <thom@chef.io>
|
|\ \ \
| |/ /
|/| | |
Detect new "automatically" installed string in Zypper
|
| | |
| | |
| | |
| | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This resolves issue #6836 which explains the issue in great detail.
TLDR: Packages that are installed as deps on another package have a
different string when you get info on them now. This updates the regex
to detect both. Based on the zypper changelog I believe this was
introduced in 1.13.17.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \
| | |
| | | |
Add the ability to inject log objects
|