| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: mwrock <matt@mattwrock.com>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
More stuff from the docs side
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
We have some extra conditionals that aren't getting us anything
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
|
| |
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
|
| |
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
|
| |
Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
Signed-off-by: Lance Albertson <lance@osuosl.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the example:
```
execute 'test_rule' do
command 'command_to_run
--option value
--option value
--source \#{node[:name_of_node][:ipsec][:local][:subnet]}
-j test_rule'
action :nothing
end
```
that example command would not run correctly because the variable #{node{node[:name_of_node][:ipsec][:local][:subnet]}
would not be evaluated.
changing to double quotes fixes the example.
Obvious fix.
|
|
|
|
|
|
|
| |
Introcduced 12 years ago, probably just cruft that never got cleaned up:
https://github.com/chef/chef/commit/f826880c267755005fccb93bdac6105a3a8e24b2
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
|
|
| |
In execute remove some complex examples that weren't adding much. Also cleanup some of the ruby code so that it would pass cookstyle. Also improve the dist values we use, random formatting, and how we specify notes so they get parsed out correctly.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
| |
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
| |
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
|
|
|
|
|
|
| |
Get us closer to automated documentation.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This should just be done on the resource instead of hacking it into the provider
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
| |
1) make sure they all have desired state false
2) Fix some indentation
3) Fix portage_package to have a type of String/Integer to match package
4) Add the String type to paludis_package to match the package default
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
| |
Legally incredibly dubious, particularly since we don't follow it
strictly as policy, and we have git history instead, which does it right.
This is just a waste of time and a cargo cult.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
| |
name_property implies identity if there is no other identity property
this has been the behavior for a very long time, dunno why #4282 was
never closed.
closes #4282
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
Use the helpers we now ship to simplify platform detection.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
| |
These are the ones that off of the top of my head it should be perfectly
safe to turn on `unifed_mode` with minimal auditing.
Most of these are so old that they do not use any sub-resources at all.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
| |
exposed by Style/SymbolProc mangling some bad code.
no idea how this ever worked.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this is using:
Layout/AlignArguments:
Enabled: true
EnforcedStyle: with_fixed_indentation
the default style can use really excessive whitespace. on starting
lines which are already long, it fully indents across to where the
arguments start and then begins the line there.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
| |
This gives a speed boost since rubygems does not have to scan through
every gem in the gemset in order to find the file.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Bryan McLellan <btm@chef.io>
|
|
|
|
| |
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
|
|
|
|
|
|
| |
A pile of misc yard I added as I was reading things.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
We were still calling things attributes when they're actually properties. This fixes some documentation and error messages.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Thanks @tyler-ball
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Mostly cleaning up how we describe name properties, but also copying over some edits that happened on the docs site.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Filling in more of the missing resource descriptions using the descriptions straight from the docs site.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|