chore: update template
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"template": "https://github.com/lkubb/salt-template-formula",
|
||||
"commit": "a63c03d95375f235c2d4a6159a26ae48d4fdc40b",
|
||||
"commit": "480ee76119cf46d599a1ef29b9e0472958c827c6",
|
||||
"checkout": null,
|
||||
"context": {
|
||||
"cookiecutter": {
|
||||
|
||||
@@ -318,7 +318,7 @@ class StateRegistry:
|
||||
# given package.init, package.install and package.clean,
|
||||
# only dump init and clean
|
||||
parent = self.lookup(state_id[:-1], tree=True)
|
||||
if len(parent) == 3 and "init" in parent and "clean" in parent:
|
||||
if len(list(x for x, y in parent.items() if not isinstance(y, dict))) == 3 and "init" in parent and "clean" in parent:
|
||||
continue
|
||||
yield self.states[state_id]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user