salt icon indicating copy to clipboard operation
salt copied to clipboard

Minion config ``test: True`` not respected

Open whiteinge opened this issue 13 years ago • 7 comments

The minion-side global config for test: True does not actually set test mode to true.

whiteinge avatar Jun 05 '13 18:06 whiteinge

Also add this to the minion settings docs.

whiteinge avatar Jun 05 '13 18:06 whiteinge

This is also is not being respected for CLI test=T Edit: Using latest release 0.15.3

jessecollier avatar Jun 05 '13 22:06 jessecollier

@jessecollier Did it used to work with test=T?

I've never had cause to try that, I just use test=True, which is working on the CLI.

basepi avatar Jun 05 '13 23:06 basepi

@basepi OOC, does test=False work?

whiteinge avatar Jun 05 '13 23:06 whiteinge

@basepi yes

test=True works on 0.15.3, test=T does not test=T and test=True on salt-call 0.13.1 works

jessecollier avatar Jun 05 '13 23:06 jessecollier

@basepi I think I found my issue with T vs True. In this commit, it was changed to a method checking for all versions of "true" https://github.com/saltstack/salt/commit/e8456ce22209c0d49ffd28ca768d34c1c19c6168#salt/modules/state.py

I can adjust my use

jessecollier avatar Jun 05 '13 23:06 jessecollier

@jessecollier Cool. Now we just need to get it working in the minion config. =\

basepi avatar Jun 06 '13 16:06 basepi