| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
make sure that if we have a metadata.rb that is not valid to read that
we never parse that and use compiled metadata.json instead.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
Signed-off-by: NimishaS <nimisha.sharad@msystechnologies.com>
|
|
|
|
|
|
| |
contain a common name. Stores the certificate under the URI host instead of the common name in that case
Signed-off-by: tyler-ball <tyleraball@gmail.com>
|
|
|
|
| |
Signed-off-by: Vasu1105 <vasundhara.jagdale@clogeny.com>
|
|
|
|
|
|
|
|
|
|
|
| |
- fixes *_unless behavior and set_unless_value_present hack from Chef 12
- simplifies rm_* code
- introduces functional read/write/unlink/exist? API
- deprecates method_missing access to attributes for Chef 13
- deprecates set/set_unless aliases for Chef 14
- removes MultiMash mess that I wrote for Chef 13
https://github.com/chef/chef/pull/5029 for more details
|
| |
|
| |
|
|
|
|
|
| |
client.d/*.rb will be read in sorted order. All directories will be
ignored.
|
|
|
|
|
| |
When knife finds a client.d/ directory, it will upload
all files nested under that directory.
|
| |
|
|
|
| |
Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
|
|
|
| |
Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
|
|\
| |
| | |
more rubocop fixes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
fixes:
Lint/UnreachableCode
Lint/NonLocalExitFromIterator
Lint/LiteralInCondition
Lint/EmptyEnsure
Lint/DefEndAlignment
Lint/CircularArgumentReference
|
|/
|
|
|
| |
This cookbook metadata uses the supports method, which currently parses versions
using the cookbook version parser, when it should be using the platform parser.
|
| |
|
|
|
|
|
|
|
|
| |
- multipackages dpkg_package
- fixes edge conditions in load-current-resource around purging/removing
packages that threw errors before
- fixes the ability to purge packages that have been removed
- adds a lot of functional tests for dpkg_package
|
|\
| |
| | |
Fixing Issue #2513 - the broken render of nested partial templates
|
| |
| |
| |
| |
| |
| | |
variables
Authors: Kaushik C <kaushik.chand@gmail.com>, Sam Dunne <sam@sam-dunne.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
adds:
- cookbook_name
- recipe_name
- recipe_line_string
- recipe_path
- recipe_line
- template_name
- template_path
accessible both as instance var (@-) and method (bare), like @node/node.
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
sure it didn't load by creating a global module inside the LWRP
and checking it outside
|
|
|
|
|
|
| |
I got confused running git on the tester with my last commit for #3101.
This should clean it up.
|
|\
| |
| | |
Reduce size of json nested entries
|
| |
| |
| |
| |
| |
| |
| |
| | |
On FreeBSD 10.1 i386 we're seeing rspec 3.2.2 raise SystemStackError if the expect line has
a nested hash of 255 levels. I'm going to guess we don't even need this many. I lowered this
test from 1000 to 300 arbitrarily some time ago.
Fixes #3101
|
|/
|
|
| |
also wire them up through the Chef class.
|
|
|
|
|
|
|
|
|
|
|
|
| |
broken by merging #2431. code was actually broken and the specs
were broken, not sure how it got into ready-to-merge in that state.
rolled back the FileUtils.rm_rf that was in the original patch since
it trashed my chef git repo and in light of:
https://github.com/ValveSoftware/steam-for-linux/issues/3671
i think the rm_rf is a bad idea.
|
|
|
|
| |
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
|
| |
|
| |
|
|
|
|
| |
Note -- This test fails
|
|\
| |
| | |
knife upload fails due to "wrong" ruby syntax in files/* file
|
| |
| |
| |
| |
| | |
Chef should not be concerned with Ruby syntax in files delivered through the
`cookbook_file` provider.
|
|\ \
| | |
| | | |
RFC 17 implementation
|
| |/
| |
| |
| |
| | |
Conflicts:
spec/unit/cookbook_version_spec.rb
|
|\ \
| | |
| | | |
[CHEF-672] load library folder recursively
|
| |/ |
|
|\ \
| | |
| | | |
Don't override LWRP resources or providers anymore in Chef 12.
|
| |/ |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
* Make the dscl user provider password handling idempotent.
* Refactor / modernize dscl user provider unit tests.
* Functional tests for dscl user provider.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://tickets.opscode.com/browse/CHEF-2923
When running `knife cookbook upload SPECIFIC_COOKBOOK`, errors in
metadata files for unrelated cookbooks should not be raised; however, we
must evaluate the metadata for all cookbooks in order to allow the
metadata `name` attribute to be different from the cookbook directory's
basename. Therefore, we must tolerate errors in metadata.rb and re-raise
them only when attempting to load the cookbook with the invalid
metadata.
|
|
|
|
| |
Fixes CHEF-3307
|
|
|
|
| |
templates directory are considered in syntax checks
|