Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
salt-formulas
fbk-formulas
sanoid
Commits
1b1ff414
Commit
1b1ff414
authored
Aug 06, 2020
by
mvivaldi
Browse files
service added
parent
686af9d4
Changes
4
Hide whitespace changes
Inline
Side-by-side
sanoid/init.sls
View file @
1b1ff414
include:
- .install
- .config
\ No newline at end of file
- .config
- .service
\ No newline at end of file
sanoid/osmap.yaml
View file @
1b1ff414
# os_family: Debian
Ubuntu
:
source
:
https://idrepo.fbk.eu/pkgs/sanoid_2.0.3_all.deb
timerservice
:
sanoid.timer
pruneservice
:
sanoid-prune.service
# os_family: RedHat
Fedora
:
{}
CentOS
:
{}
...
...
sanoid/service/enableservice.sls
0 → 100644
View file @
1b1ff414
{#- Get the `tplroot` from `tpldir` #}
{%- set sanoidroot = slspath.split('/')[0] %}
{%- from sanoidroot ~ "/map.jinja" import sanoid with context %}
{{ sanoid.timerservice }}
service.running:
- enable: True
{{ sanoid.pruneservice }}
service.running:
- enable: True
\ No newline at end of file
sanoid/service/init.sls
0 → 100644
View file @
1b1ff414
include:
- .enableservice
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment