Closed remichristiaan closed 6 years ago
can you give me the output of
salt '*' pillar.item ufw
But i think the issue is with the custom _states and _modules, these should be under the namespace ufw
instead of common.ufw
,
Yesterday I continued configuring other formulas and restarted the salt-master several times (again) ... do not know if that did the trick, but this morning applying highstate worked :)
I ran salt '*' pillar.item ufw
:
minion-01:
----------
ufw:
minion-02:
----------
ufw:
minion-03:
----------
ufw:
----------
applications:
----------
OpenSSH:
----------
comment:
Allow access to the SSH server
enabled:
True
Saltmaster:
----------
comment:
Limit access to the salt master
limit:
True
enabled:
True
settings:
----------
ipv6:
False
loglevel:
low
minion-04:
----------
Then I ran: salt 'minion-2*' state.apply test=True
without any failures and sub sequentially could roll it out on all minions.
I'll try to trace what differs from yesterday afternoon, but I suspect caching of some sort.
Thanks for the salt '*' pillar.item [item]
command.
I ran into this problem, even though it had been working fine before, and I hadn't made any changes to the master.
The ufw pillar was populated, but for some reason the state and execution modules were not getting picked up.
To solve it I ran the following command on the master:
salt '*' saltutil.sync_states
Hi, I ran in the same problem. Minion on 20.04 LTS and last version of salt.
I have already tried with the tips below but it's still broke. I have troubles when i try to use ufw.
Any suggestion?
Hi, similar Issue here on ubuntu 20.04 masterless setup including ufw-formula via gitfs. Any known progress?
Hi,
I ran into a problem getting ufw-formula to work on my configuration. Hope someone can shed light on this matter.
When I run: salt-call state.apply common.ufw test=True (on the minion)
I get the following result:
Left out the succeeded ones
I've configured ufw-formula the same way as I did with e.g. users-formula and openssh-formula:
/srv/salt/common/init.sls
/srv/salt/common/ufw.sls
/srv/pillar/common/init.sls
/srv/pillar/common/ufw.sls
The ufw-formula was git cloned to my formula directory, registered with the master (which was restarted several times).
Your assistance in this matter is greatly appreciated.