-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
37 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,9 @@ chmod -R 0755 %{buildroot}/var/chef/cookbooks/webui | |
install -D -m 0644 README.md %{buildroot}/var/chef/cookbooks/webui/README.md | ||
|
||
%pre | ||
if [ -d /var/chef/cookbooks/webui ]; then | ||
rm -rf /var/chef/cookbooks/webui | ||
fi | ||
|
||
%post | ||
case "$1" in | ||
|
@@ -37,6 +40,12 @@ case "$1" in | |
;; | ||
esac | ||
|
||
%postun | ||
# Deletes directory when uninstall the package | ||
if [ "$1" = 0 ] && [ -d /var/chef/cookbooks/webui ]; then | ||
rm -rf /var/chef/cookbooks/webui | ||
fi | ||
|
||
%files | ||
%defattr(0755,root,root) | ||
/var/chef/cookbooks/webui | ||
|
@@ -47,14 +56,20 @@ esac | |
%doc | ||
|
||
%changelog | ||
* Thu Jan 18 2024 Miguel Negrón <[email protected]> - 0.1.7-1 | ||
* Thu Oct 10 2024 Miguel Negrón <[email protected]> | ||
- Add pre and postun | ||
|
||
* Thu Jan 18 2024 Miguel Negrón <[email protected]> | ||
- Fix multidatasource and location druid datastore name | ||
* Thu Nov 16 2023 Miguel Negrón <[email protected]> - 0.1.6-1 | ||
|
||
* Thu Nov 16 2023 Miguel Negrón <[email protected]> | ||
- Add optional audits for webui | ||
* Fri Sep 22 2023 Miguel Negrón <[email protected]> - 0.1.5-1 | ||
* Fri May 05 2023 Luis J. Blanco Mier <[email protected]> - 0.1.4 | ||
|
||
* Fri May 05 2023 Luis J. Blanco Mier <[email protected]> | ||
- default dashboard | ||
* Fri Jan 07 2022 David Vanhoucke <[email protected]> - 0.0.10-1 | ||
|
||
* Fri Jan 07 2022 David Vanhoucke <[email protected]> | ||
- change register to consul | ||
* Tue Nov 08 2016 Your name <[email protected]> - 1.0.0-1 | ||
|
||
* Tue Nov 08 2016 Your name <[email protected]> | ||
- first spec version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
maintainer_email '[email protected]' | ||
license 'AGPL-3.0' | ||
description 'Installs/Configures cookbook-webui' | ||
version '0.4.1' | ||
version '0.4.2' |