Skip to content

Instantly share code, notes, and snippets.

----------
ID: clientaliveinterval
Function: file.line
Name: /etc/ssh/sshd_config
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/state.py", line 1733, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1652, in wrapper
return f(*args, **kwargs)
Higher state (base.hq.pckg1)
pckg1:
pkg.installed
Lower state (base.hq.services.someservice)
# Ensure service is enabled and running
someservice:
service.running:
From CLI works
salt-call grains.item id
local:
----------
id:
minionid.example.com
Python 2.6.9 (unknown, Sep 1 2016, 23:34:36)