Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
deb-icinga2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
packaging
deb-icinga2
Commits
574c3708
Commit
574c3708
authored
5 years ago
by
Markus Frosch
Browse files
Options
Downloads
Patches
Plain Diff
testing: Use meta package for MySQL by default
parent
45202c88
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/start_test.sh
+11
-3
11 additions, 3 deletions
testing/start_test.sh
with
11 additions
and
3 deletions
testing/start_test.sh
+
11
−
3
View file @
574c3708
...
...
@@ -11,8 +11,16 @@ if [ -d archive ]; then
sudo
apt-get update
fi
sudo
DEBIAN_FRONTEND
=
noninteractive apt-get
install
--allow-unauthenticated
-y
icinga2 icinga2-ido-mysql mysql-server
sudo
bash
-xe
<<
ROOTSHELL
export DEBIAN_FRONTEND=noninteractive
sudo
icinga2 feature list
if ! apt-get install -y default-mysql-server; then
# Fallback to non-metapackage on older distributions
apt-get install -y mysql-server
fi
sudo
icinga2 daemon
-C
apt-get install --allow-unauthenticated -y icinga2 icinga2-ido-mysql
icinga2 feature list
icinga2 daemon -C
ROOTSHELL
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment