Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications/tomcat.py
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-04-29 07:09:46 -0400
committerGitHub <noreply@github.com>2021-04-29 07:09:46 -0400
commit9e8446a96abbd406fa8c037d008d0ada593de227 (patch)
tree9acf02a08ee291776d0660c4feef7c9c888c64f4 /profiles/applications/tomcat.py
parentaa0f4327260ab39077999859c593ed6d5c12822c (diff)
Add Tomcat application profile
Using Tomcat 10 as that is the latest release
Diffstat (limited to 'profiles/applications/tomcat.py')
-rw-r--r--profiles/applications/tomcat.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/profiles/applications/tomcat.py b/profiles/applications/tomcat.py
new file mode 100644
index 00000000..9c521390
--- /dev/null
+++ b/profiles/applications/tomcat.py
@@ -0,0 +1,12 @@
+import archinstall
+
+# This is using Tomcat 10 as that is the latest release at the time of implementation.
+# This should probably be updated to use newer releases as they come out.
+
+# Define the package list in order for lib to source
+# which packages will be installed by this profile
+__packages__ = ["tomcat10"]
+
+installation.add_additional_packages(__packages__)
+
+installation.enable_service('tomcat10')