Skip to content

Commit

Permalink
Release new version
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Oct 10, 2024
2 parents 6c0afb8 + 9182142 commit 6a0573f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 10 deletions.
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
cookbook-rb-ips CHANGELOG
===============

## 1.0.1

- Miguel Negrón
- [575337d] Add pre and postun to clean the cookbook

## 1.0.0

- Miguel Negrón
Expand All @@ -10,7 +15,7 @@ cookbook-rb-ips CHANGELOG
- [215b2b1] Merge pull request #34 from redBorder/development
- [81600e3] Improvement/fix lint (#33)
- [a6be77f] Merge pull request #32 from redBorder/development
- Miguel Negron
- Miguel Negrón
- [e1b75f2] Pass lint
- [e3047de] Change the way to check if cloud
- [34179ba] Add comment to system health
Expand Down Expand Up @@ -133,7 +138,7 @@ cookbook-rb-ips CHANGELOG

## 0.3.2

- Miguel Negron
- Miguel Negrón
- [1766bbe] Change configuration call for GeoIP

## 0.3.1
Expand Down Expand Up @@ -164,7 +169,7 @@ cookbook-rb-ips CHANGELOG

## 0.1.11

- Miguel Negron
- Miguel Negrón
- [9d042ae] Call rb_get_sensor_rules_cloud.rb using rvm


Expand All @@ -184,5 +189,5 @@ cookbook-rb-ips CHANGELOG

0.0.1
-----
- [Miguel Negrón <manegron@redborder.com>]
- [Miguel Negrón <Miguel Negrón@redborder.com>]
- Initial release of ips
26 changes: 21 additions & 5 deletions packaging/rpm/cookbook-rb-ips.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ chmod -R 0755 %{buildroot}/var/chef/cookbooks/rb-ips
install -D -m 0644 README.md %{buildroot}/var/chef/cookbooks/rb-ips/README.md

%pre
if [ -d /var/chef/cookbooks/rb-ips ]; then
rm -rf /var/chef/cookbooks/rb-ips
fi

%post
case "$1" in
Expand All @@ -36,6 +39,12 @@ case "$1" in
;;
esac

%postun
# Deletes directory when uninstall the package
if [ "$1" = 0 ] && [ -d /var/chef/cookbooks/rb-ips ]; then
rm -rf /var/chef/cookbooks/rb-ips
fi

%files
%defattr(0755,root,root)
/var/chef/cookbooks/rb-ips
Expand All @@ -45,13 +54,20 @@ esac
%doc

%changelog
* Wed Jan 23 2024 David Vanhoucke <[email protected]> - 0.1.6
* Thu Oct 10 2024 Miguel Negrón <[email protected]>
- Add pre and postun

* Wed Jan 23 2024 David Vanhoucke <[email protected]>
- Fix redborder-monitor
* Thu Jan 18 2024 Miguel Negrón <[email protected]> - 0.1.5

* Thu Jan 18 2024 Miguel Negrón <[email protected]>
- Add journalctld configuration
* Thu Dec 14 2023 Miguel Álvarez <[email protected]> - 0.1.4

* Thu Dec 14 2023 Miguel Álvarez <[email protected]>
- Add cgroups
* Fri Dec 01 2023 David Vanhoucke <[email protected]> - 0.1.3

* Fri Dec 01 2023 David Vanhoucke <[email protected]>
- Add selinux
* Tue Mar 22 2022 Miguel Negron <[email protected]> - 0.0.1

* Tue Mar 22 2022 Miguel Negron <[email protected]>
- Initial release of ips
2 changes: 1 addition & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
maintainer_email '[email protected]'
license 'AGPL-3.0'
description 'Installs/Configures redborder ips'
version '1.0.0'
version '1.0.1'

depends 'rb-common'
depends 'geoip'
Expand Down

0 comments on commit 6a0573f

Please sign in to comment.