Skip to content

Commit

Permalink
fix(osfamilymap): fix no grains.init on *BSD
Browse files Browse the repository at this point in the history
Fixes #38.
  • Loading branch information
myii committed Jun 24, 2021
1 parent 8b7a927 commit 53b5b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nfs/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Suse:
Gentoo:
pkgs_server: ['net-fs/nfs-utils']
pkgs_client: ['net-fs/nfs-utils']
service_name: {{ 'nfs-server' if grains.init == 'systemd' else 'nfs' }}
service_name: {{ 'nfs-server' if grains.get('init', '') == 'systemd' else 'nfs' }}

0 comments on commit 53b5b39

Please sign in to comment.