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
8433c342
Commit
8433c342
authored
Jun 23, 2020
by
Jaymz Julian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make chef16 work
parent
e0386e03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
libraries/domain.rb
libraries/domain.rb
+5
-1
No files found.
libraries/domain.rb
View file @
8433c342
...
...
@@ -17,7 +17,11 @@ class Chef
urule
=
Chef
::
Resource
::
UlimitRule
.
new
(
"
#{
new_resource
.
name
}
:
#{
name
}
]"
,
nil
)
urule
.
domain
new_resource
urule
.
action
:nothing
urule
.
instance_eval
(
'anonymous'
,
&
block
)
begin
urule
.
instance_eval
(
&
block
)
rescue
urule
.
instance_eval
(
'"anonymous"'
,
&
block
)
end
unless
name
urule
.
name
"ulimit_rule[
#{
new_resource
.
name
}
:
#{
urule
.
item
}
-
#{
urule
.
type
}
-
#{
urule
.
value
}
]"
end
...
...
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