Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
mirror
chef-ulimit
Commits
6cda4439
Commit
6cda4439
authored
Feb 17, 2018
by
Tim Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove default actions that Chef now auto sets
Signed-off-by:
Tim Smith
<
tsmith@chef.io
>
parent
a380dbae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
resources/domain.rb
resources/domain.rb
+0
-2
resources/rule.rb
resources/rule.rb
+0
-2
No files found.
resources/domain.rb
View file @
6cda4439
...
...
@@ -29,8 +29,6 @@ def rule(name = nil, &block)
@subresource_rules
<<
[
name
,
block
]
end
default_action
:create
action
:create
do
seq
=
0
new_resource
.
subresource_rules
.
map
do
|
sub_resource
|
...
...
resources/rule.rb
View file @
6cda4439
...
...
@@ -9,8 +9,6 @@ load_current_value do
node
.
run_state
[
:ulimit
][
new_resource
.
domain
]
||=
Mash
.
new
end
default_action
:create
action
:create
do
new_resource
.
domain
new_resource
.
domain
.
domain_name
if
new_resource
.
domain
.
is_a?
(
Chef
::
Resource
)
node
.
run_state
[
:ulimit
]
||=
Mash
.
new
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment