Fix Strelka Rule updates, repo fix

This commit is contained in:
Mike Reeves
2021-02-24 11:30:43 -05:00
parent 54367db99b
commit 1d45472b48
5 changed files with 51 additions and 27 deletions

View File

@@ -1,12 +0,0 @@
#!/bin/bash
VERSION=HH1.1.4
TARBALL=/nsm/docker-registry/docker/so-dockers-$VERSION.tar
# See if the tarball is there. If so do soemthing otherwise peace out.
if [ -f "$TARBALL" ]; then
cd /nsm/docker-registry/docker
tar xvf so-dockers-$VERSION.tar
fi
exit 0

View File

@@ -29,17 +29,6 @@ dockerregistryconf:
- name: /opt/so/conf/docker-registry/etc/config.yml
- source: salt://registry/etc/config.yml
# Copy the registry script
#dockerregistrybuild:
# file.managed:
# - name: /opt/so/conf/docker-registry/so-buildregistry
# - source: salt://registry/bin/so-buildregistry
# - mode: 755
#dockerexpandregistry:
# cmd.run:
# - name: /opt/so/conf/docker-registry/so-buildregistry
# Install the registry container
so-dockerregistry:
docker_container.running: