You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This state uses a cmd.run which gets applied each time I do a state.apply. Is there a way to workaround this? This is a bit sad, because this will always result in a Changed=1
Summary for some host
-------------
Succeeded: 51 (changed=1)
Failed: 0
-------------
Total states run: 51
Total run time: 3.828 s
Can you explain me what the PR does? If I understand you correctly, you fix running samba.users from beeing run, when not in use. But I explicitly rund the state as I need a user to access a share.
Maybe we should take a look at #35 maybe I can solve this. I hate it when states get aplied again and again and this seems like the obvious solution.
My PR only stopsusers state being run when init metastate is run. The users state handles smbpasswd user management and winbind-ad state handles active directory user management, neither should run by default. But yes, It does not fix this issue.
It would be great if you want to fix the issue using whatever solution suits (i.e. #35). Thanks!!
samba-formula/samba/users/init.sls
Line 14 in 3897734
This state uses a cmd.run which gets applied each time I do a state.apply. Is there a way to workaround this? This is a bit sad, because this will always result in a
Changed=1
Could this be an alternative to
cmd.run
?https://docs.saltstack.com/en/latest/ref/states/all/salt.states.pdbedit.html#salt.states.pdbedit.managed
The text was updated successfully, but these errors were encountered: