On Grip, a vhosts command offered to read /etc/vhosts.
This is a feature in the users wishlist, as they allow them
to know what IPv6 to use and the associated PTR record.
Differential D816
Provide vhosts list on Eglide dereckson on Jan 10 2017, 22:26. Authored by Tags None Referenced Files
Subscribers None
Details
On Grip, a vhosts command offered to read /etc/vhosts. This is a feature in the users wishlist, as they allow them vhosts
Diff Detail
Event TimelineComment Actions First pass (diff 1) $ salt eglide state.apply roles/shellserver/vhosts eglide: ---------- ID: /etc/vhosts Function: file.managed Result: True Comment: File /etc/vhosts updated Started: 22:28:04.598809 Duration: 808.422 ms Changes: ---------- diff: New file mode: 0644 ---------- ID: /usr/local/bin/vhosts Function: file.managed Result: True Comment: File /usr/local/bin/vhosts updated Started: 22:28:05.408354 Duration: 701.863 ms Changes: ---------- diff: New file mode: 0644 Summary for eglide ------------ Succeeded: 2 (changed=2) Failed: 0 ------------ Total states run: 2 Total run time: 1.510 s $ ssh eglide vhosts bash: /usr/local/bin/vhosts: Permission denied With chmod fix (diff 3) $ salt eglide state.apply roles/shellserver/vhosts eglide: ---------- ID: /etc/vhosts Function: file.managed Result: True Comment: File /etc/vhosts is in the correct state Started: 22:32:21.386389 Duration: 523.813 ms Changes: ---------- ID: /usr/local/bin/vhosts Function: file.managed Result: True Comment: File /usr/local/bin/vhosts updated Started: 22:32:21.911321 Duration: 416.34 ms Changes: ---------- mode: 0755 Summary for eglide ------------ Succeeded: 2 (changed=1) Failed: 0 ------------ Total states run: 2 Total run time: 940.153 ms $ ssh eglide vhosts […] |