Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3770225
init.sls
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1020 B
Referenced Files
None
Subscribers
None
init.sls
View Options
# -------------------------------------------------------------
# Salt — Provision a salt primary server
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
{%
from
"map.jinja"
import
dirs
with context
%}
# -------------------------------------------------------------
# Salt configuration
#
# When reactor is available, symlink it.
#
# As Salt primary server will fail if a configuration file
# is not readable, it is necessary to remove the symlink when
# the reactor config does not exist.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{%
if
salt
[
"slsutil.file_exists"
](
"reactor/reactor.conf"
)
%}
{{
dirs.etc
}}
/salt/master.d/reactor.conf
:
file.symlink
:
-
target
:
/opt/salt/nasqueron-operations/reactor/reactor.conf
{%
else
%}
{{
dirs.etc
}}
/salt/master.d/reactor.conf
:
file.absent
{%
endif
%}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 19:27 (7 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260853
Default Alt Text
init.sls (1020 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment