Skip to content

Commit

Permalink
Merge pull request #30 from netmanagers/master
Browse files Browse the repository at this point in the history
Add osfingermap.yml
  • Loading branch information
aboe76 authored Sep 11, 2018
2 parents 7929554 + 4e2907b commit 095db72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nfs/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{% import_yaml 'nfs/defaults.yaml' as defaults %}
{% import_yaml 'nfs/osfamilymap.yaml' as osfamilymap %}
{% import_yaml 'nfs/osmap.yaml' as osmap %}
{% import_yaml 'nfs/osfingermap.yaml' as osfingermap %}

{% set nfs = salt['grains.filter_by'](
defaults,
Expand All @@ -14,7 +15,10 @@
merge = salt['grains.filter_by'](
osmap,
grain='os',
merge = salt['pillar.get']('nfs', {}),
merge = salt['grains.filter_by'](
osfingermap,
merge = salt['pillar.get']('nfs', {}),
),
),
),
base='nfs')
Expand Down
2 changes: 2 additions & 0 deletions nfs/osfingermap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Debian-8:
service_name: 'nfs-kernel-server'

0 comments on commit 095db72

Please sign in to comment.