Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-29 11:35:09 +0000
committerGitHub <noreply@github.com>2021-04-29 11:35:09 +0000
commit6e646ebebff43186703ba073319843e97f3d05bc (patch)
tree0733535d0cafbb9def793a7014a3af02fd3d9cf9 /profiles
parentc930ff826e9f679d39d5574c804a39d7c7727d2a (diff)
parent9e8446a96abbd406fa8c037d008d0ada593de227 (diff)
Merge pull request #388 from dylanmtaylor/patch-7
Add Tomcat application profile
Diffstat (limited to 'profiles')
-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')