-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
bugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behavior
Milestone
Description
What happened?
Correct PowerShell command gets an error (against Windows Server 2022).
sf-expand-standalone:
cmd.run:
- name: |
powershell -NoProfile -ExecutionPolicy Bypass -Command {
if (-not (Get-ChildItem -Path '{{ path }}' -Recurse -Filter 'CreateServiceFabricCluster.ps1' -ErrorAction SilentlyContinue)) {
Expand-Archive -Path '{{ path }}\\sf-standalone.zip' -DestinationPath '{{ path }}' -Force;
}
}
errores with "Missing closing '}' in statement block or type definition."
Type of salt install
Official deb
Major version
3007.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
windows-2022
salt --versions-report output
Salt Version:
Salt: 3007.8
Python Version:
Python: 3.10.18 (main, Sep 5 2025, 22:48:51) [GCC 11.2.0]
Dependency Versions:
cffi: 2.0.0
cherrypy: unknown
cryptography: 42.0.5
dateutil: 2.8.2
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.6
libgit2: 1.9.0
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.7
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 24.0
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.19.1
pygit2: 1.17.0
python-gnupg: 0.5.2
PyYAML: 6.0.1
PyZMQ: 25.1.2
relenv: 0.20.6
smmap: Not Installed
timelib: 0.3.0
Tornado: 6.4.2
ZMQ: 4.3.4
Salt Package Information:
Package Type: onedir
System Versions:
dist: debian 13.1 trixie
locale: utf-8
machine: x86_64
release: 6.7.4-200.fc39.x86_64
system: Linux
version: Debian GNU/Linux 13.1 trixieReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behavior