diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d4edf7..df0fcf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,25 @@ cookbook-rb-common CHANGELOG =============== +## 2.0.0 + + - Miguel Negron + - [43ddd82] remove files on update/uninstall + - [1a7aaae] Bump version + - [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 + ## 1.0.0 - Miguel Negron diff --git a/packaging/rpm/cookbook-rb-common.spec b/packaging/rpm/cookbook-rb-common.spec index 88744c8..b449422 100644 --- a/packaging/rpm/cookbook-rb-common.spec +++ b/packaging/rpm/cookbook-rb-common.spec @@ -36,6 +36,10 @@ case "$1" in ;; esac +%postun +# Deletes directory when uninstall/update the package +rm -rf /var/chef/cookbooks/rb-common + %files %defattr(0755,root,root) /var/chef/cookbooks/rb-common diff --git a/resources/metadata.rb b/resources/metadata.rb index 0580e0f..76ec6ec 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 '1.0.0' +version '2.0.0'