| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We also now set chef_environment the same as policy group when that's
appropriate
Signed-off-by: Thom May <thom@chef.io>
|
|\
| |
| | |
Switch to a smaller gem to install in kitchen runs
|
| |
| |
| |
| |
| |
| |
| | |
aws-sdk is 132 gems now. It takes *forever* to install on some platforms
like CentOS 6. Use a simple gem.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| |/
|/| |
Rename bff provider to match its resource
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |
| |
| |
| |
| |
| | |
We have the bff resource and the aix provider. Rename the provider to to bff as well.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
|
|\ \
| | |
| | | |
Convert more set_or_returns to proper properties
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We're not longer initializing user to nil and instead we're letting
property handle it. This user => nil statement isn't the actual test
here, but was just a workaround for the funky behavior.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Just modernizing our resources so we can start to add descriptions to them for the documentation
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Remove explicit setting of @provider and depend on ProviderResolver
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the
best of my knowledge, is covered under an appropriate open
source license and I have the right under that license to
submit that work with modifications, whether created in whole
or in part by me, under the same open source license (unless
I am permitted to submit under a different license), as
Indicated in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including
all personal information I submit with it, including my
sign-off) is maintained indefinitely and may be redistributed
consistent with this project or the open source license(s)
involved.
Signed-off-by: Jason Barnett <jason.w.barnett@gmail.com>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
remove deprecated property namespace collisions
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
require writing `new_resource.my_property` instead of just
`my_property` in provider code.
a surprise in this code was that methods directly on the
resource are all injected into the provider, and we never
deprecated that, because we didn't know about it.
that makes `action_class {}` helpers unnecessary, but causes
additional namespace pollution, but at least the methods declared
in the resource will lose to DSL methods (i.e. `def execute`
will not work).
but that also means that resources which are injected into the DSL
which overwrite resource methods in other cookbooks may break
their use in that cookbooks providers/action_classes.
we should probably deprecate that as well, but we didn't and
people probably found this behavior and used it.
i cleaned it up a bit and removed the methods on Chef::Resource
directly which polluted the provider class with all kinds of
bizzare crap methods (not_if and only_if were getting injected
into the provider, etc).
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Added source_file to FromFile
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
This new field tracks the file from which the object was loaded.
Signed-off-by: Zeal Jagannatha <zealjagannatha@gmail.com>
|
| | | | | |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | | |
Avoid compile time error in apt_repository
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
TIL
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
My previous PR to apt_repository introduced a bug where gpg keys couldn't validate. This converts a raise to an execute so it all happens during converge.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| |/ /
|/| |
| | |
| | | |
Signed-off-by: Brad <bradarv90@gmail.com>
|
| | | |
|
|\ \ \
| | | |
| | | | |
Remove support for Windows 2003
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Windows 2003 is fully end of life at this point and hasn't been supported by Chef for quite a while. EXTENDED support for Windows 2003 ended July 14, 2015. We avoid a good number of WMI queries by removing this support entirely.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
add a utility to dump info about resources
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Thom May <thom@chef.io>
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Don't use supervisor process for one-shot / command-line runs
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
the option doesn't even exist due to it being omitted at class-parsing time.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
also more broadly applies the integration tests to legacy mode which was
the original intent of the chef-solo tests in client_spec.rb here
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
without --interval we default to --no-fork, with --interval we default
to running --fork. --once and --daemonize are handled before this code
so they will also DTRT.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
Add attribute hoisting into core
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
code removed
Signed-off-by: Jon Cowie <jonlives@gmail.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Jon Cowie <jonlives@gmail.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit implements RFC-105 and adds specs to verify attribute hoisting is working correctly in conjunction with existing attributes.
Signed-off-by: Jon Cowie <jonlives@gmail.com>
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add more description fields, style fixes, add missing requires
|
| |\ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
osx_profile: set identity on the property not using identity_attr
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
windows_service: Set identity on the properly not using identity_attr
|