Change environment in foreman for sal

i want to go in foreman to change the environment of some machine and it s
dont work

the test i make is : i want to change the marcel machine from acceptation
to laboratoire

foreman group: name=acceptation
salt evironment=acceptation

foreman group: name=laboratoire
salt evironment=laboratoire

top.sls
base:
roger.claude:
- ntp
acceptation:
marcel.claude:
- ntp
laboratoire::
gaetan.claude:
- ntp