Checking your deployments
If necessary, you can retrieve information about file sync deployments by calling
the status/v1/services/file-sync-storage-service
endpoint.
File sync is part of Code Manager, and you usually don't need to directly configure or trigger file sync.
File sync endpoint documentation is for informational purposes only. Directly accessing the file sync API is unsupported and not recommended.
To call the status/v1/services/file-sync-storage-service
endpoint,
use this curl
command:
curl --insecure "https://$(puppet config print server):8140/status/v1/services/file-sync-storage-service?level=debug"
For general information about forming curl commands, authentication in commands, and Windows modifications, go to Using example commands.
A successful request returns a JSON-formatted list of:
- All clients that file sync is aware of.
- When those clients last checked in.
- Which commit the clients currently have deployed.
python -m
json.tool
To check if a specific commit was deployed, review the latest_commit
in the response. The latest_commit
SHA, in this endpoint's
response, is specific to file sync. This SHA does not correspond to a commit from
your control repository.