mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 19:52:51 +01:00
Master Module - Initial Skeleton
This commit is contained in:
@@ -3,4 +3,4 @@ static:
|
||||
ntpserver:
|
||||
homenet:
|
||||
proxy:
|
||||
masterupdate:
|
||||
masterupdate:
|
||||
|
||||
@@ -2,7 +2,9 @@ base:
|
||||
'G@role:so-sensor':
|
||||
- sensors.schedule
|
||||
- sensors.{{ grains.host }}
|
||||
- static
|
||||
|
||||
'G@role:so-master':
|
||||
- masters.schedule
|
||||
- masters.{{ grains.host }}
|
||||
- static
|
||||
|
||||
@@ -12,3 +12,17 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
{% set masterproxy = salt['pillar.get']('static:masterupdate', '0') %}
|
||||
|
||||
{% if masterproxy == 1 %}
|
||||
|
||||
# Create the config directory for apt-cacher-ng
|
||||
# Copy the config
|
||||
# Install the apt-cacher-ng container
|
||||
|
||||
# Create the config directory for the docker registry
|
||||
# Copy the config
|
||||
# Install the registry container
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user