diff --git a/pillar.example b/pillar.example index 1baebc6..19dfaea 100644 --- a/pillar.example +++ b/pillar.example @@ -4,7 +4,7 @@ salt: - git - roots gitfs_remotes: - - git://github.com/saltstack-formulas/salt-formula.git + - git://github.com/saltstack-formulas/salt-formula.git: - base: develop file_roots: base: diff --git a/salt/files/master.d/_defaults.conf b/salt/files/master.d/_defaults.conf index c578eb9..1c9c489 100644 --- a/salt/files/master.d/_defaults.conf +++ b/salt/files/master.d/_defaults.conf @@ -486,7 +486,7 @@ fileserver_backend: {% if 'gitfs_remotes' in master -%} gitfs_remotes: {%- for remote in master['gitfs_remotes'] %} -{% if remote is iterable %} +{% if remote is iterable and remote is not string %} {%- for repo, children in remote.iteritems() -%} - {{ repo }}: {%- for child in children %}