diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ee6403..4d4edf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/resources/metadata.rb b/resources/metadata.rb index a2423c4..0580e0f 100755 --- a/resources/metadata.rb +++ b/resources/metadata.rb @@ -3,4 +3,4 @@ maintainer_email 'git@redborder.com' license 'AGPL-3.0' description 'Redborder common system settings' -version '0.3.0' +version '1.0.0' diff --git a/resources/providers/config.rb b/resources/providers/config.rb index 6239fd5..712e210 100755 --- a/resources/providers/config.rb +++ b/resources/providers/config.rb @@ -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'