-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6842 from OpenNMS/jira/NMS-16213-post-install-text
NMS-16213: add pointer to contact page and email
- Loading branch information
Showing
8 changed files
with
95 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -248,6 +248,16 @@ public void execute() throws OnmsUpgradeException { | |
} | ||
} | ||
} | ||
log("\n*** Thanks for using OpenNMS!\n"); | ||
log("***\n"); | ||
log("*** Consider joining our active and supportive online community through\n"); | ||
log("***\n"); | ||
log("*** https://www.opennms.com/participate/\n"); | ||
log("***\n"); | ||
log("*** To connect with users, testers, experts, and contributors.\n"); | ||
log("***\n"); | ||
log("*** Or email us directly at [email protected] to learn more.\n"); | ||
|
||
log("\nUpgrade completed successfully!\n"); | ||
Logging.setContextMap(mdc); | ||
} | ||
|
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 |
---|---|---|
|
@@ -29,10 +29,20 @@ case "$1" in | |
/usr/share/opennms/bin/update-package-permissions opennms-server | ||
|
||
echo "" | ||
echo " *** Thanks for using OpenNMS!" | ||
echo " ***" | ||
echo " *** Consider joining our active and supportive online community through" | ||
echo " ***" | ||
echo " *** https://www.opennms.com/participate/" | ||
echo " ***" | ||
echo " *** To connect with users, testers, experts, and contributors." | ||
echo " ***" | ||
echo " *** Or email us directly at [email protected] to learn more." | ||
echo " ***" | ||
echo " *** Installation complete. You must still run the installer at" | ||
echo " *** \$OPENNMS_HOME/bin/install to be sure your database is up" | ||
echo " *** to date before you start OpenNMS. See the install guide and" | ||
echo " *** release notes for details at https://docs.opennms.com." | ||
echo " *** release notes for details at: https://docs.opennms.com" | ||
echo "" | ||
;; | ||
abort-upgrade|abort-remove|abort-deconfigure) | ||
|
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 |
---|---|---|
|
@@ -35,4 +35,17 @@ rm -rf "${MINIONHOME}/.m2" | |
|
||
#DEBHELPER# | ||
|
||
echo "" | ||
echo " *** Thanks for using OpenNMS!" | ||
echo " ***" | ||
echo " *** Consider joining our active and supportive online community through" | ||
echo " ***" | ||
echo " *** https://www.opennms.com/participate/" | ||
echo " ***" | ||
echo " *** To connect with users, testers, experts, and contributors." | ||
echo " ***" | ||
echo " *** Or email us directly at [email protected] to learn more." | ||
echo " ***" | ||
echo "" | ||
|
||
exit 0 |
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 |
---|---|---|
|
@@ -33,4 +33,17 @@ rm -rf "${SENTINELHOME}/.m2" | |
|
||
#DEBHELPER# | ||
|
||
echo "" | ||
echo " *** Thanks for using OpenNMS!” | ||
echo " ***” | ||
echo " *** Consider joining our active and supportive online community through” | ||
echo " ***” | ||
echo " *** https://www.opennms.com/participate/” | ||
echo " ***” | ||
echo " *** To connect with users, testers, experts, and contributors.” | ||
echo " ***” | ||
echo " *** Or email us directly at [email protected] to learn more.” | ||
echo " ***” | ||
echo "" | ||
|
||
exit 0 |
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 |
---|---|---|
|
@@ -280,6 +280,16 @@ public void install(final String[] argv) throws Exception { | |
resetWebAppAdminPassword(); | ||
} | ||
|
||
System.out.println(); | ||
System.out.println("*** Thanks for using OpenNMS!"); | ||
System.out.println("***"); | ||
System.out.println("*** Consider joining our active and supportive online community through"); | ||
System.out.println("***"); | ||
System.out.println("*** https://www.opennms.com/participate/"); | ||
System.out.println("***"); | ||
System.out.println("*** To connect with users, testers, experts, and contributors."); | ||
System.out.println("***"); | ||
System.out.println("*** Or email us directly at [email protected] to learn more."); | ||
System.out.println(); | ||
System.out.println("Installer completed successfully!"); | ||
|
||
|
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 |
---|---|---|
|
@@ -286,6 +286,19 @@ rm -rf "${ROOT_INST}/repositories/.local" | |
|
||
"${ROOT_INST}/bin/update-package-permissions" "%{name}" | ||
|
||
echo "" | ||
echo " *** Thanks for using OpenNMS!” | ||
echo " ***” | ||
echo " *** Consider joining our active and supportive online community through” | ||
echo " ***” | ||
echo " *** https://www.opennms.com/participate/” | ||
echo " ***” | ||
echo " *** To connect with users, testers, experts, and contributors.” | ||
echo " ***” | ||
echo " *** Or email us directly at [email protected] to learn more.” | ||
echo " ***” | ||
echo "" | ||
|
||
### PRE-UN-INSTALLATION ### | ||
|
||
%preun -p /bin/bash | ||
|
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 |
---|---|---|
|
@@ -940,10 +940,20 @@ fi | |
"${ROOT_INST}/bin/ensure-user-ping.sh" || echo "WARNING: Unable to enable ping by the opennms user. Try running /usr/share/opennms/bin/ensure-user-ping.sh manually." | ||
|
||
echo "" | ||
echo " *** Installation complete. You must still run the installer at" | ||
echo " *** Thanks for using OpenNMS!” | ||
echo " ***” | ||
echo " *** Consider joining our active and supportive online community through” | ||
echo " ***” | ||
echo " *** https://www.opennms.com/participate/” | ||
echo " ***” | ||
echo " *** To connect with users, testers, experts, and contributors.” | ||
echo " ***” | ||
echo " *** Or email us directly at [email protected] to learn more.” | ||
echo " ***” | ||
echo " *** Installation is complete. You must still run the installer at" | ||
echo " *** \$OPENNMS_HOME/bin/install -dis to be sure your database is up" | ||
echo " *** to date before you start OpenNMS. See the install guide and" | ||
echo " *** release notes for details at https://docs.opennms.com." | ||
echo " *** release notes for details at: https://docs.opennms.com" | ||
echo "" | ||
|
||
%postun -p /bin/bash core | ||
|
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 |
---|---|---|
|
@@ -222,6 +222,19 @@ fi | |
|
||
"${ROOT_INST}/bin/update-package-permissions" "%{name}" | ||
|
||
echo "" | ||
echo " *** Thanks for using OpenNMS!” | ||
echo " ***” | ||
echo " *** Consider joining our active and supportive online community through” | ||
echo " ***” | ||
echo " *** https://www.opennms.com/participate/” | ||
echo " ***” | ||
echo " *** To connect with users, testers, experts, and contributors.” | ||
echo " ***” | ||
echo " *** Or email us directly at [email protected] to learn more.” | ||
echo " ***” | ||
echo "" | ||
|
||
%preun -p /bin/bash | ||
ROOT_INST="${RPM_INSTALL_PREFIX0}" | ||
[ -z "${ROOT_INST}" ] && ROOT_INST="%{sentinelinstprefix}" | ||
|