Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56332323
notifications.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
notifications.sls
View Options
# -------------------------------------------------------------
# Salt — Provision dev software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Created: 2018-02-20
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
from
"map.jinja"
import
dirs
,
packages_prefixes
with context
%}
# -------------------------------------------------------------
# Software
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{{
dirs.bin
}}
/notifications
:
file.managed
:
-
source
:
salt://software/notifications-cli-client/notifications
-
mode
:
755
# -------------------------------------------------------------
# Dependencies
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
notifications_dependencies
:
pkg.installed
:
-
pkgs
:
-
{{
packages_prefixes.python3
}}
pika
# -------------------------------------------------------------
# Configuration
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# TODO: switch group to nasquenautes when deployed on devservers
/usr/local/etc/notifications.conf
:
file.managed
:
-
source
:
salt://roles/devserver/userland-software/files/notifications.conf
-
group
:
wheel
-
mode
:
640
-
template
:
jinja
-
context
:
host
:
{{
pillar
[
"nasqueron_services"
][
"docker"
][
"notifications"
]
}}
password
:
{{
salt
[
'credentials.get_password'
](
"nasqueron/notifications/notifications-cli/"
+
grains
[
"id"
])
}}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 7, 03:19 (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3906419
Default Alt Text
notifications.sls (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment