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
e74b86ee
Unverified
Commit
e74b86ee
authored
Mar 13, 2020
by
Tim Smith
Committed by
GitHub
Mar 13, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #69 from bmhatfield/cleanup
Resolve failures in the upcoming Chef Infra Client 16 release
parents
551f7919
17dd1058
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
libraries/domain.rb
libraries/domain.rb
+2
-0
metadata.rb
metadata.rb
+1
-2
recipes/default.rb
recipes/default.rb
+2
-3
No files found.
libraries/domain.rb
View file @
e74b86ee
...
...
@@ -3,6 +3,8 @@ require 'chef/resource'
class
Chef
class
Resource
class
UlimitDomain
<
Chef
::
Resource
resource_name
:ulimit_domain
property
:domain
,
String
property
:domain_name
,
String
,
name_property:
true
property
:filename
,
String
...
...
metadata.rb
View file @
e74b86ee
...
...
@@ -3,7 +3,6 @@ maintainer 'Brian Hatfield'
maintainer_email
'bmhatfield@gmail.com'
license
'Apache-2.0'
description
'Resources for manaing ulimits'
long_description
IO
.
read
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'README.md'
))
version
'1.0.0'
%w(amazon centos redhat scientific oracle fedora debian ubuntu)
.
each
do
|
os
|
...
...
@@ -12,4 +11,4 @@ end
source_url
'https://github.com/bmhatfield/chef-ulimit'
issues_url
'https://github.com/bmhatfield/chef-ulimit/issues'
chef_version
'>= 12.7'
if
respond_to?
(
:chef_version
)
chef_version
'>= 12.7'
recipes/default.rb
View file @
e74b86ee
# Cookbook:: ulimit
# Recipe:: default
#
# Copyright 2012, Brightcove, Inc
# Copyright
::
2012, Brightcove, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
...
...
@@ -17,8 +17,7 @@
#
ulimit
=
node
[
'ulimit'
]
case
node
[
'platform_family'
]
when
'debian'
if
platform_family?
(
'debian'
)
template
'/etc/pam.d/su'
do
cookbook
ulimit
[
'pam_su_template_cookbook'
]
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