Last active
March 30, 2018 18:20
-
-
Save exarkun/6ec057774fe47a85fc8c6127f9353ff2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start storage: | |
cmd.run: | |
- name: "/srv/storage/virtualenv/bin/tahoe restart /srv/storage/node" | |
- runas: "storage" | |
- onchange: | |
# restart the storageserver whenever the configuration changes | |
- file: "configure storage node" | |
- require: | |
- id: "create storage node" | |
- id: "configure storage node" | |
- id: "permission storage" | |
- id: "engage storage" | |
start introducer: | |
cmd.run: | |
- name: "/srv/introducer/virtualenv/bin/tahoe restart /srv/introducer/node" | |
- runas: "introducer" | |
- onchanges: | |
# restart the introducer whenever the configuration changes | |
- file: "configure introducer" | |
- require: | |
- id: "configure introducer" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ID: configure storage node | |
Function: file.managed | |
Name: /srv/storage/node/tahoe.cfg | |
Result: True | |
Comment: File /srv/storage/node/tahoe.cfg is in the correct state | |
Started: 14:19:12.348512 | |
Duration: 44.632 ms | |
Changes: | |
---------- | |
ID: start storage | |
Function: cmd.run | |
Name: /srv/storage/virtualenv/bin/tahoe restart /srv/storage/node | |
Result: True | |
Comment: Command "/srv/storage/virtualenv/bin/tahoe restart /srv/storage/node" run | |
Started: 14:19:12.396972 | |
Duration: 1251.864 ms | |
Changes: | |
---------- | |
pid: | |
11751 | |
retcode: | |
0 | |
stderr: | |
stdout: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment