diff --git a/salt/renderers/pyobjects.py b/salt/renderers/pyobjects.py index 95b74baa90..0b3f99d3a2 100644 --- a/salt/renderers/pyobjects.py +++ b/salt/renderers/pyobjects.py @@ -306,6 +306,8 @@ def load_states(): # TODO: some way to lazily do this? This requires loading *all* state modules for key, func in lazy_states.iteritems(): + if '.' not in key: + continue mod_name, func_name = key.split('.', 1) if mod_name not in states: states[mod_name] = {}