Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bolt task to return unit state in a more parsable way #426

Merged
merged 1 commit into from Mar 8, 2024

Conversation

rwaffen
Copy link
Sponsor Member

@rwaffen rwaffen commented Mar 8, 2024

bolt task run systemd::systemctl_show unit_name=puppet.service -t controller-0

Started on controller-0...
Finished on controller-0:
  {
    "MainPID": "686",
    "LoadState": "loaded",
    "ActiveState": "active",
    "SubState": "running",
    "UnitFileState": "enabled"
  }

.gitignore Show resolved Hide resolved
bolt-project.yaml Outdated Show resolved Hide resolved
@rwaffen rwaffen force-pushed the add_task_systemctl_show branch 2 times, most recently from f7d0fc3 to 2180dce Compare March 8, 2024 12:14
tasks/systemctl_show.rb Outdated Show resolved Hide resolved
@rwaffen rwaffen force-pushed the add_task_systemctl_show branch 2 times, most recently from 46c1991 to 6a58d80 Compare March 8, 2024 12:25
@bastelfreak bastelfreak merged commit 225d7ed into voxpupuli:master Mar 8, 2024
33 of 35 checks passed
@bastelfreak bastelfreak added the enhancement New feature or request label Mar 8, 2024
@rwaffen rwaffen deleted the add_task_systemctl_show branch March 8, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants