Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

salt.master does not work with salt-ssh #334

Closed
johnkeates opened this issue Sep 11, 2017 · 2 comments
Closed

salt.master does not work with salt-ssh #334

johnkeates opened this issue Sep 11, 2017 · 2 comments
Labels

Comments

@johnkeates
Copy link

Running:
salt-ssh host.example.net state.apply salt.master

Results in:

        ID: salt-master
   Function: file.recurse
       Name: /etc/salt/master.d
     Result: False
    Comment: #### /etc/salt/master.d/f_defaults.conf ####
             Unable to manage file: Jinja error: salt/formulas.jinja
             Traceback (most recent call last):
               File "/var/tmp/.root_5ec184_salt/py2/salt/utils/templates.py", line 410, in render_jinja_tmpl
                 output = template.render(**decoded_context)
               File "/var/tmp/.root_5ec184_salt/py2/jinja2/environment.py", line 1008, in render
                 return self.environment.handle_exception(exc_info, True)
               File "/var/tmp/.root_5ec184_salt/py2/jinja2/environment.py", line 780, in handle_exception
                 reraise(exc_type, exc_value, tb)
               File "<template>", line 17, in top-level template code
               File "/var/tmp/.root_5ec184_salt/py2/salt/utils/jinja.py", line 145, in get_source
                 raise TemplateNotFound(template)
             TemplateNotFound: salt/formulas.jinja
             
             ; line 17
             
             ---
             [...]
             {{ configname }}: {{ cfg_salt[configname]|json }}
             {%- else -%}
             #{{ configname }}: {{ default_value|json }}
             {%- endif -%}
             {%- endmacro -%}
             {%- from "salt/formulas.jinja" import file_roots, formulas with context -%}    <======================
             ##### Primary configuration settings #####
             ##########################################
             # This configuration file is used to manage the behavior of the Salt Master.
             # Values that are commented out but have an empty line after the comment are
             # defaults that do not need to be set in the config. If there is no blank line
             [...]
             ---
    Started: 18:22:42.998310
   Duration: 297.709 ms
    Changes:  

Using: salt-ssh 2017.7.1 (Nitrogen)

@johnkeates
Copy link
Author

Two years ago, this was reported to salt: saltstack/salt#21370

@aboe76 aboe76 added the bug label Jan 26, 2019
@aboe76
Copy link
Member

aboe76 commented Jan 30, 2019

no more info added closing

@aboe76 aboe76 closed this as completed Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants