-
-
Save dlashua/63cac5038fa998f027c3 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
# salt-ssh testminion state.sls salt.minion | |
testminion: | |
---------- | |
ID: salt-minion | |
Function: pkg.installed | |
Result: True | |
Comment: The following packages were installed/updated: salt-minion | |
Started: 19:09:15.257603 | |
Duration: 5379.158 ms | |
Changes: | |
---------- | |
salt-minion: | |
---------- | |
new: | |
2015.5.3+ds-1trusty1 | |
old: | |
---------- | |
ID: salt-minion | |
Function: file.recurse | |
Name: /etc/salt/minion.d | |
Result: False | |
Comment: #### /etc/salt/minion.d/f_defaults.conf #### | |
Unable to manage file: Jinja error: salt/formulas.jinja | |
Traceback (most recent call last): | |
File "/tmp/.ubuntu_2bf680__salt/salt/utils/templates.py", line 306, in render_jinja_tmpl | |
output = template.render(**decoded_context) | |
File "/tmp/.ubuntu_2bf680__salt/jinja2/environment.py", line 969, in render | |
return self.environment.handle_exception(exc_info, True) | |
File "/tmp/.ubuntu_2bf680__salt/jinja2/environment.py", line 742, in handle_exception | |
reraise(exc_type, exc_value, tb) | |
File "<template>", line 15, in top-level template code | |
File "/tmp/.ubuntu_2bf680__salt/salt/utils/jinja.py", line 143, in get_source | |
raise TemplateNotFound(template) | |
TemplateNotFound: salt/formulas.jinja | |
; line 15 | |
--- | |
[...] | |
{{ configname }}: {{ cfg_salt[configname] }} | |
{%- else -%} | |
#{{ configname }}: {{ default_value }} | |
{%- endif -%} | |
{%- endmacro -%} | |
{%- from 'salt/formulas.jinja' import file_roots, formulas with context -%} <====================== | |
##### Primary configuration settings ##### | |
########################################## | |
# minion includes | |
{{ get_config('default_include', 'minion.d/*.conf') }} | |
[...] | |
--- | |
Started: 19:09:20.638656 | |
Duration: 124.742 ms | |
Changes: | |
---------- | |
ID: remove-old-minion-conf-file | |
Function: file.absent | |
Name: /etc/salt/minion.d/_defaults.conf | |
Result: True | |
Comment: File /etc/salt/minion.d/_defaults.conf is not present | |
Started: 19:09:20.821858 | |
Duration: 0.376 ms | |
Changes: | |
---------- | |
ID: salt-minion | |
Function: service.running | |
Result: False | |
Comment: One or more requisite failed: salt.minion.salt-minion | |
Started: | |
Duration: | |
Changes: | |
Summary | |
------------ | |
Succeeded: 2 (changed=1) | |
Failed: 2 | |
------------ | |
Total states run: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment