Ref T1273
Details
Details
- Reviewers
dereckson - Maniphest Tasks
- T1273: Check Salt highstate against Ysul
- Commits
- rOPS866436e489cd: Set hostnames for Ysul and Equatower
salt-call --local state.apply roles/core/hostname
Diff Detail
Diff Detail
- Repository
- rOPS Nasqueron Operations
- Lint
Lint Passed - Unit
No Test Coverage - Branch
- hostname
- Build Status
Buildable 1688 Build 1936: arc lint + arc unit
Event Timeline
Comment Actions
Ysul
$ salt-call --local state.apply roles/core/hostname local: ---------- ID: hostname Function: file.managed Name: /etc/hostname Result: True Comment: File /etc/hostname updated Started: 12:22:19.073128 Duration: 32.849 ms Changes: ---------- diff: New file ---------- ID: after_hostname_change Function: cmd.run Name: hostname `cat /etc/hostname` Result: True Comment: Command "hostname `cat /etc/hostname`" run Started: 12:22:19.109831 Duration: 77.982 ms Changes: ---------- pid: 83739 retcode: 0 stderr: stdout: Summary for local ------------ Succeeded: 2 (changed=2) Failed: 0 ------------ Total states run: 2 Total run time: 110.831 ms $ salt-call --local state.apply roles/core/hostname local: ---------- ID: hostname Function: file.managed Name: /etc/hostname Result: True Comment: File /etc/hostname is in the correct state Started: 12:22:32.416941 Duration: 27.992 ms Changes: ---------- ID: after_hostname_change Function: cmd.run Name: hostname `cat /etc/hostname` Result: True Comment: State was not run because none of the onchanges reqs changed Changes: Summary for local ------------ Succeeded: 2 Failed: 0 ------------ Total states run: 2 Total run time: 27.992 ms $ cat /etc/hostname ysul.nasqueron.org