Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3716776
D2869.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D2869.id.diff
View Options
diff --git a/roles/salt-primary/config/files/pillar-tower.conf b/roles/salt-primary/config/files/pillar-tower.conf
new file mode 100644
--- /dev/null
+++ b/roles/salt-primary/config/files/pillar-tower.conf
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------
+# SaltStack deployment
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/salt-primary/config/files/pillar-tower.conf
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+ext_pillar:
+ - tower: /opt/salt/nasqueron-operations/pillar/tower.sls
diff --git a/roles/salt-primary/config/init.sls b/roles/salt-primary/config/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/salt-primary/config/init.sls
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------
+# Salt — Salt configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import dirs with context %}
+
+# -------------------------------------------------------------
+# Providers
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+{{ dirs.etc }}/salt/master.d/pillar-tower.conf:
+ file.managed:
+ - source: salt://roles/salt-primary/config/files/pillar-tower.conf
+ - file_mode: 644
diff --git a/roles/salt-primary/init.sls b/roles/salt-primary/init.sls
--- a/roles/salt-primary/init.sls
+++ b/roles/salt-primary/init.sls
@@ -8,6 +8,7 @@
include:
- .software
+ - .config
- .account
- .cloud
- .staging
diff --git a/roles/salt-primary/software/init.sls b/roles/salt-primary/software/init.sls
--- a/roles/salt-primary/software/init.sls
+++ b/roles/salt-primary/software/init.sls
@@ -19,6 +19,8 @@
- {{ packages_prefixes.python3 }}python-jenkins
# For staging-commit-message
- {{ packages_prefixes.python3 }}gitpython
+ # Pillar
+ - {{ packages_prefixes.python3 }}salt-tower
# Utilities
- colordiff
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 19:53 (18 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2232226
Default Alt Text
D2869.id.diff (2 KB)
Attached To
Mode
D2869: Deploy Salt Tower on salt-primary role
Attached
Detach File
Event Timeline
Log In to Comment