From abe9b91e66d0ea610f3167c1e47927a982293cf0 Mon Sep 17 00:00:00 2001 From: "Matthew X. Economou" Date: Tue, 29 Mar 2016 13:36:46 -0400 Subject: [PATCH] Replace reference to slspath with the complete URL of the source file Without this change, importing map.jinja in config files (as opposed to SLS files) causes a rendering error because `slspath` isn't defined. The `salt_settings.key_url` variable gets used only in `salt/pkgrepo/debian/init.sls`. --- salt/map.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/map.jinja b/salt/map.jinja index 2753a7d..368b5e6 100644 --- a/salt/map.jinja +++ b/salt/map.jinja @@ -11,7 +11,7 @@ that differ from whats in defaults.yaml {% set os_family_map = salt['grains.filter_by']({ 'Debian': { 'pkgrepo': 'deb http://debian.saltstack.com/debian ' + salt['grains.get']('oscodename') + '-saltstack main', - 'key_url': 'salt://' + slspath + '/saltstack.gpg', + 'key_url': 'salt://salt/pkgrepo/debian/saltstack.gpg', 'libgit2': 'libgit2-22', 'gitfs': { 'pygit2': {