From f624613ab12f4333b8539eaa70c1d17329cbd84d Mon Sep 17 00:00:00 2001 From: Kenny Do Date: Thu, 9 Jan 2014 06:39:36 -0800 Subject: [PATCH] special-cased the Ubuntu samba service name --- samba/map.jinja | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/samba/map.jinja b/samba/map.jinja index 090a903..fd6694a 100644 --- a/samba/map.jinja +++ b/samba/map.jinja @@ -13,4 +13,8 @@ 'config': '/etc/samba/smb.conf', 'config_src': 'salt://samba/files/smb.conf', }, -}, merge=salt['pillar.get']('samba:lookup')) %} +}, merge=salt['grains.filter_by']({ + 'Ubuntu': { + 'service': 'smbd', + }, +}, grain='os', merge=salt['pillar.get']('samba:lookup'))) %}