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
8e27f19b
Commit
8e27f19b
authored
Jun 23, 2020
by
Jaymz Julian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add provides
parent
1b62841b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
libraries/domain.rb
libraries/domain.rb
+1
-0
libraries/rule.rb
libraries/rule.rb
+2
-0
libraries/user.rb
libraries/user.rb
+1
-1
No files found.
libraries/domain.rb
View file @
8e27f19b
...
...
@@ -3,6 +3,7 @@ require 'chef/resource'
class
Chef
class
Resource
class
UlimitDomain
<
Chef
::
Resource
provides
:ulimit_domain
property
:domain
,
String
property
:domain_name
,
String
,
name_property:
true
property
:filename
,
String
...
...
libraries/rule.rb
View file @
8e27f19b
...
...
@@ -3,6 +3,8 @@ require 'chef/resource'
class
Chef
class
Resource
class
UlimitRule
<
Chef
::
Resource
provides
:ulimit_rule
property
:type
,
[
Symbol
,
String
],
required:
true
property
:item
,
[
Symbol
,
String
],
required:
true
property
:value
,
[
String
,
Numeric
],
required:
true
...
...
libraries/user.rb
View file @
8e27f19b
...
...
@@ -3,7 +3,7 @@ require 'chef/resource'
class
Chef
class
Resource
class
UlimitUser
<
Chef
::
Resource
resource_name
:user_ulimit
provides
:user_ulimit
property
:username
,
String
,
name_property:
true
property
:filename
,
String
,
default:
lazy
{
|
r
|
r
.
username
==
'*'
?
'00_all_limits'
:
"
#{
r
.
username
}
_limits"
}
...
...
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