Description
Description
unable to set test=false on state.apply/state.highstate runs via slack_bolt_engine
Setup
Salt-master setup with slack_bolt_engine setup.
salt-minion with test: True
in its minion.conf
Steps to Reproduce the behavior
run state.apply or state.highstate.
confirm that results are running in test mode (changes should be marked as unchanged at the end of the reply)
!state.apply target=device_name test=true
!state.highstate test=true target=device_name
check response to make sure changes would be made
-------------
Succeeded: 37 (unchanged=1)
Failed: 0
-------------
now run the same commands with the intention to force changes (test=false)
!state.apply target=device_name test=false
!state.highstate test=false target=device_name
-------------
Succeeded: 37 (unchanged=1)
Failed: 0
-------------
Expected behavior
ability to force changes to be made (test=false)
the ability to set test=false is working as expected on the cli:
salt device_name state.apply test=false
-------------
Succeeded: 37 (changed=1)
Failed: 0
-------------
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Salt Version:
Salt: 3006.5
Python Version:
Python: 3.10.13 (main, Nov 15 2023, 04:34:27) [GCC 11.2.0]
Dependency Versions:
cffi: 1.14.6
cherrypy: unknown
dateutil: 2.8.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.2
libgit2: 1.7.1
looseversion: 1.0.2
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.2
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 22.0
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.9.8
pygit2: 1.13.1
python-gnupg: 0.4.8
PyYAML: 6.0.1
PyZMQ: 23.2.0
relenv: 0.14.2
smmap: Not Installed
timelib: 0.2.4
Tornado: 4.5.3
ZMQ: 4.3.4
System Versions:
dist: debian 11 bullseye
locale: utf-8
machine: x86_64
release: 5.10.0-26-amd64
system: Linux
version: Debian GNU/Linux 11 bullseye
Additional context
Add any other context about the problem here.