Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
salt-state
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FFFFM
salt-state
Commits
c6cc9744
Commit
c6cc9744
authored
6 years ago
by
skorpy
Browse files
Options
Downloads
Patches
Plain Diff
pretix: init
parent
e7b15945
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#20624
passed
6 years ago
Stage: highstate
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pretix/init.sls
+8
-0
8 additions, 0 deletions
pretix/init.sls
prometheus/files/prometheus.yml.j2
+6
-0
6 additions, 0 deletions
prometheus/files/prometheus.yml.j2
top.sls
+3
-0
3 additions, 0 deletions
top.sls
with
17 additions
and
0 deletions
pretix/init.sls
0 → 100644
+
8
−
0
View file @
c6cc9744
include:
- docker
- letsencrypt
- nginx
prometheus_pretix_export:
grains.present:
- value: {{ pillar.get('pretix:domain', grains['fqdn']) }}:443
This diff is collapsed.
Click to expand it.
prometheus/files/prometheus.yml.j2
+
6
−
0
View file @
c6cc9744
...
...
@@ -77,3 +77,9 @@ scrape_configs:
- job_name: unbound
static_configs:
- targets: {{ unbound_targets|yaml }}
{% set pretix_targets = salt['prometheus.prometheus_targets_for_grain']('prometheus_pretix_export') %}
- job_name: pretix
scheme: https
static_configs:
- targets: {{ pretix_targets|yaml }}
This diff is collapsed.
Click to expand it.
top.sls
+
3
−
0
View file @
c6cc9744
...
...
@@ -70,6 +70,9 @@ base:
'roles:gluon-build':
- match: pillar
- gluon-build
'roles:pretix':
- match: pillar
- pretix
'salt.ffm.freifunk.net':
- salt.master
'edge-*-*.ffm.freifunk.net':
...
...
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