Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11722743
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/roles/devserver/userland-software/doc.sls b/roles/devserver/userland-software/doc.sls
new file mode 100644
index 0000000..b785a0d
--- /dev/null
+++ b/roles/devserver/userland-software/doc.sls
@@ -0,0 +1,56 @@
+# -------------------------------------------------------------
+# Salt — Provision dev software
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import dirs with context %}
+
+# -------------------------------------------------------------
+# Documentation
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+devserver_software_documentation:
+ pkg.installed:
+ - pkgs:
+ - graphviz
+
+/opt/plantuml.jar:
+ file.managed:
+ - source: https://github.com/plantuml/plantuml/releases/download/v1.2022.3/plantuml-1.2022.3.jar
+ - source_hash: cb92c5ca56321911f174ac49c7e6dbfda57cf0b27bca684fda69ecb979803465
+ - mode: 644
+
+{{ dirs.bin }}/plantuml:
+ file.managed:
+ - contents: |
+ #!/usr/bin/env sh
+ java -jar /opt/plantuml.jar "$@"
+ - mode: 755
+ - require:
+ - file: /opt/plantuml.jar
+
+/opt/phpDocumentor.phar:
+ file.managed:
+ - source: https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.3.1/phpDocumentor.phar
+ - source_hash: 4a93d278fd4581f17760903134d85fcde3d40d93f739c8c648f3ed02c9c3e7bb
+ - mode: 755
+
+{{ dirs.bin }}/phpdoc:
+ file.symlink:
+ - target: /opt/phpDocumentor.phar
+ - require:
+ - file: /opt/phpDocumentor.phar
+
+/opt/doctum.phar:
+ file.managed:
+ - source: https://github.com/code-lts/doctum/releases/download/v5.5.1/doctum.phar
+ - source_hash: https://github.com/code-lts/doctum/releases/download/v5.5.1/doctum.phar.sha256
+ - mode: 755
+
+{{ dirs.bin }}/doctum:
+ file.symlink:
+ - target: /opt/doctum.phar
+ - require:
+ - file: /opt/doctum.phar
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Sep 18, 05:14 (15 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2990025
Default Alt Text
(1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment