Skip to content

Commit

Permalink
Add osfingermap.yml
Browse files Browse the repository at this point in the history
should fix #29
  • Loading branch information
javierbertoli committed May 3, 2018
1 parent 95ba36b commit 4e2907b
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 4e2907b

Please sign in to comment.