Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/devserver/userland-software/psysh.sls b/roles/devserver/userland-software/psysh.sls
index db0c95d..95cf805 100644
--- a/roles/devserver/userland-software/psysh.sls
+++ b/roles/devserver/userland-software/psysh.sls
@@ -1,52 +1,53 @@
# -------------------------------------------------------------
# Salt — Provision dev software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2017-11-03
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{% from "map.jinja" import dirs with context %}
# -------------------------------------------------------------
# Prepare for installation
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/usr/local/share/psysh:
file.directory:
- dir_mode: 755
# -------------------------------------------------------------
# Fetch software and PHP manual
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
psysh_software:
archive.extracted:
- name: /opt/psysh
- enforce_toplevel: False
- source: https://github.com/bobthecow/psysh/releases/download/v0.8.13/psysh-v0.8.13.tar.gz
- source_hash: 4436931f4baeac0b6709d89efe5a517dbcdfb3335e90d9bf5deb83207f90e293
/usr/local/share/psysh/php_manual.sqlite:
file.managed:
- source: http://psysh.org/manual/en/php_manual.sqlite
- skip_verify: True
- require:
- file: /usr/local/share/psysh
# -------------------------------------------------------------
# Install binary
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
psysh_permissions:
file.managed:
- name: /opt/psysh/psysh
- mode: 755
+ - replace: False
- require:
- archive: psysh_software
{{ dirs.bin }}/psysh:
file.symlink:
- target: /opt/psysh/psysh
- require:
- file: psysh_permissions

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 25, 13:02 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260202
Default Alt Text
(1 KB)

Event Timeline