Skip to content

Commit

Permalink
Merge pull request #6 from redBorder/development
Browse files Browse the repository at this point in the history
Release 1.0.0
  • Loading branch information
manegron authored Oct 10, 2024
2 parents 632eb7f + 1a7aaae commit 84d7632
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
cookbook-rb-common CHANGELOG
===============

## 1.0.0

- Miguel Negron
- [20db73c] We dont need ulimit command with file is ok
- [052984f] pass lint
- [6b32abb] Use resources instead of node
- [42cc99e] Bump version
- [07e3131] Use default values
- [b2636e5] Bump version
- [31f48c6] Swap order on change limits
- [671a35f] Bump version
- [f744111] bugfix/#18983_rlimit_nginx_problem
- Miguel Negrón
- [9055703] Update README.md
- [d2f8e42] Update rpm.yml
- [a433f03] Update metadata.rb

## 0.3.0

- Miguel Negron
Expand Down
2 changes: 1 addition & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
maintainer_email '[email protected]'
license 'AGPL-3.0'
description 'Redborder common system settings'
version '0.3.0'
version '1.0.0'
10 changes: 0 additions & 10 deletions resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@
hard = new_resource.hard
soft = new_resource.soft

# hard
execute "ulimit -Hn #{hard}" do
not_if "ulimit -Hn | grep #{hard}"
end

# soft
execute "ulimit -Sn #{soft}" do
not_if "ulimit -Sn | grep #{soft}"
end

template '/etc/security/limits.d/10-nofile.conf' do
source '10-nofile.conf.erb'
cookbook 'rb-common'
Expand Down

0 comments on commit 84d7632

Please sign in to comment.