mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 11:42:50 +01:00
Master Module - Initial Skeleton
This commit is contained in:
@@ -3,4 +3,4 @@ static:
|
|||||||
ntpserver:
|
ntpserver:
|
||||||
homenet:
|
homenet:
|
||||||
proxy:
|
proxy:
|
||||||
masterupdate:
|
masterupdate:
|
||||||
|
|||||||
@@ -2,7 +2,9 @@ base:
|
|||||||
'G@role:so-sensor':
|
'G@role:so-sensor':
|
||||||
- sensors.schedule
|
- sensors.schedule
|
||||||
- sensors.{{ grains.host }}
|
- sensors.{{ grains.host }}
|
||||||
|
- static
|
||||||
|
|
||||||
'G@role:so-master':
|
'G@role:so-master':
|
||||||
- masters.schedule
|
- masters.schedule
|
||||||
- masters.{{ grains.host }}
|
- masters.{{ grains.host }}
|
||||||
|
- static
|
||||||
|
|||||||
@@ -12,3 +12,17 @@
|
|||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# 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