Created
September 26, 2017 16:45
-
-
Save cig0/b29f4d38f12fcb94c947733383bca6d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bob@postgres:/etc/salt$ sudo salt-call state.sls postgres.python | |
[INFO ] Loading fresh modules for state activity | |
[INFO ] Fetching file from saltenv 'base', ** done ** 'postgres/python.sls' | |
[INFO ] Fetching file from saltenv 'base', ** done ** 'postgres/map.jinja' | |
[INFO ] Fetching file from saltenv 'base', ** done ** 'postgres/defaults.yaml' | |
[INFO ] Fetching file from saltenv 'base', ** done ** 'postgres/osmap.yaml' | |
[INFO ] Fetching file from saltenv 'base', ** done ** 'postgres/repo.yaml' | |
[CRITICAL] Rendering SLS "base:postgres.python" failed: Jinja variable 'salt' is undefined | |
/var/cache/salt/minion/files/base/postgres/repo.yaml(6): | |
--- | |
# This file allows to get PostgreSQL version and upstream repo settings | |
# early from Pillar to set correct lookup dictionaty items | |
{% import_yaml "postgres/defaults.yaml" as defaults %} | |
use_upstream_repo: {{ salt['pillar.get']('postgres:use_upstream_repo', <====================== | |
defaults.postgres.use_upstream_repo) }} | |
version: {{ salt['pillar.get']('postgres:version', | |
defaults.postgres.version) }} | |
# vim: ft=sls | |
--- | |
local: | |
Data failed to compile: | |
---------- | |
Rendering SLS "base:postgres.python" failed: Jinja variable 'salt' is undefined | |
/var/cache/salt/minion/files/base/postgres/repo.yaml(6): | |
--- | |
# This file allows to get PostgreSQL version and upstream repo settings | |
# early from Pillar to set correct lookup dictionaty items | |
{% import_yaml "postgres/defaults.yaml" as defaults %} | |
use_upstream_repo: {{ salt['pillar.get']('postgres:use_upstream_repo', <====================== | |
defaults.postgres.use_upstream_repo) }} | |
version: {{ salt['pillar.get']('postgres:version', | |
defaults.postgres.version) }} | |
# vim: ft=sls | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment