Skip to content

Commit

Permalink
Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Oct 10, 2024
2 parents 3497bea + 4c27640 commit d247916
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
cookbook-rb-dswatcher CHANGELOG
===============

## 0.0.7

- Miguel Negrón
- [e21c03f] Add pre and postun to clean the cookbook
- [762cf62] Improvement/fix lint (#6)
- [cddfd05] Merge pull request #3 from redBorder/bugfix/#15368_fix_register_and_deregister
- [0f218f6] Merge with development
- [28826a5] Update README.md
- [bd97889] Update rpm.yml
- [f86e4da] Update metadata.rb
- nilsver
- [9741b93] Release 0.0.6
- Miguel Negrón
- [762cf62] Improvement/fix lint (#6)
- [cddfd05] Merge pull request #3 from redBorder/bugfix/#15368_fix_register_and_deregister
- [28826a5] Update README.md
- [bd97889] Update rpm.yml
- [f86e4da] Update metadata.rb
- Miguel Negrón
- [0f218f6] Merge with development
- Luis Blanco
- [a465447] fix curl

## 0.0.6

- Miguel Negrón
Expand Down
14 changes: 13 additions & 1 deletion packaging/rpm/cookbook-rb-dswatcher.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ chmod -R 0755 %{buildroot}%{cookbook_path}
install -D -m 0644 README.md %{buildroot}%{cookbook_path}/README.md

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

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

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

%files
%defattr(0755,root,root)
%{cookbook_path}
Expand All @@ -47,5 +56,8 @@ esac
%doc

%changelog
* Tue Oct 5 2021 David Vanhoucke <dvanhoucke@redborder.com> - 1.0.0-1
* Thu Oct 10 2024 Miguel Negrón <manegron@redborder.com>
- Add pre and postun

* Tue Oct 5 2021 David Vanhoucke <dvanhoucke@redborder.com>
- first spec version
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 'git@redborder.com'
license 'AGPL-3.0'
description 'Installs/Configures cookbook-dswatcher'
version '0.0.6'
version '0.0.7'

0 comments on commit d247916

Please sign in to comment.