Skip to content

Commit

Permalink
2.3 merge
Browse files Browse the repository at this point in the history
* New: Add ability to do multi-host deployment of sensor + data tiers (#339, [[email protected]](mailto:[email protected]))
* New: Integrate Docket into Kibana by default ([[email protected]](mailto:[email protected]))
* New: Improvements and additional Kibana dashboards (spartan782)
* Fixes: issue with Bro failing when monitor interface is down (#343, [[email protected]](mailto:[email protected]))
* Fixes: issue with services starting that shouldn’t (#346, [[email protected]](mailto:[email protected]))
* Fixes: race condition on loading dashboards into Kibana (#356, [[email protected]](mailto:[email protected]))
* Fixes: configuration for Docket allowing serving from non-root URI (#361, [[email protected]](mailto:[email protected]))
* Change: bro log retention value to one week rather than forever (#345, [[email protected]](mailto:[email protected]))
* Change: Greatly improve documentation  (#338, [[email protected]](mailto:[email protected]))
* Change: Reorganize README (#308, [[email protected]](mailto:[email protected]))
* Change: Move ECS to rock-dashboards repo (#305, [[email protected]](mailto:[email protected]))
* Change: Move RockNSM install paths to filesystem heirarchy standard locations (#344, [[email protected]](mailto:[email protected]))
  • Loading branch information
dcode authored Feb 22, 2019
2 parents 3370a6f + 8f2a28f commit f3ba006
Show file tree
Hide file tree
Showing 199 changed files with 1,894 additions and 6,041 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Vagrant.configure(2) do |config|
echo "tsflags=nodocs" | tee -a /etc/yum.conf
yum -y install epel-release
#sed -i 's/^mirrorlist/#mirrorlist/; s/^#baseurl/baseurl/' /etc/yum.repos.d/{CentOS-Base.repo,epel.repo}
yum -y install https://packagecloud.io/rocknsm/2_2/packages/el/7/rock-release-2.2.0-2.noarch.rpm/download.rpm
yum -y install https://packagecloud.io/rocknsm/2_3/packages/el/7/rock-release-2.3-1.noarch.rpm/download.rpm
yum -y update
yum -y install ansible vim git tmux tito
# Create virtual interface
Expand Down
401 changes: 0 additions & 401 deletions ansible.cfg

This file was deleted.

6 changes: 3 additions & 3 deletions bin/deploy_rock.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash
SCRIPT_PATH=$(dirname $(readlink -f $0))
TOPLEVEL=$(dirname ${SCRIPT_PATH})
ROCK_HOME=/usr/share/rock
VERBOSE_FLAGS=
if [ "x${DEBUG}" != "x" ]; then
VERBOSE_FLAGS="-vvv"
fi

cd ${TOPLEVEL}/playbooks
ansible-playbook "${TOPLEVEL}/playbooks/site.yml" ${VERBOSE_FLAGS}
cd ${ROCK_HOME}/playbooks
ansible-playbook "${ROCK_HOME}/playbooks/site.yml" ${VERBOSE_FLAGS}

if [ $? -eq 0 ]; then
cat << 'EOF'
Expand Down
10 changes: 5 additions & 5 deletions bin/generate_defaults.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#!/bin/bash

SCRIPT_PATH=$(dirname $(readlink -f $0))
TOPLEVEL=$(dirname ${SCRIPT_PATH})
ROCK_HOME=/usr/share/rock

cd ${TOPLEVEL}/playbooks
cd ${ROCK_HOME}/playbooks

# Check for /srv/rocknsm/repodata/repomd.xml.asc and set GPG checking bool:
if [[ -f /srv/rocknsm/repodata/repomd.xml.asc ]]; then
echo "Signing data for local repo found. Enabling GPG checking."
sed -i 's|rock_offline_gpgcheck: .*|rock_offline_gpgcheck: 1|' ${TOPLEVEL}/playbooks/group_vars/all.yml
sed -i 's|rock_offline_gpgcheck: .*|rock_offline_gpgcheck: 1|' ${ROCK_HOME}/playbooks/group_vars/all.yml
sed -i 's|rock_offline_gpgcheck: .*|rock_offline_gpgcheck: 1|' /etc/rocknsm/config.yml
else
echo "No signing data for local repo found. Disabling GPG checking."
sed -i 's|rock_offline_gpgcheck: .*|rock_offline_gpgcheck: 0|' ${TOPLEVEL}/playbooks/group_vars/all.yml
sed -i 's|rock_offline_gpgcheck: .*|rock_offline_gpgcheck: 0|' ${ROCK_HOME}/playbooks/group_vars/all.yml
sed -i 's|rock_offline_gpgcheck: .*|rock_offline_gpgcheck: 0|' /etc/rocknsm/config.yml
fi

ansible-playbook "${TOPLEVEL}/playbooks/generate-defaults.yml"
ansible-playbook "${ROCK_HOME}/playbooks/generate-defaults.yml"
retVal=$?
if [ $retVal -ne 0 ]; then
echo "Dumping default variables failed! Verify you can run sudo without a password." 1>&2
Expand Down
12 changes: 6 additions & 6 deletions bin/reset_data.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

SCRIPT_PATH=$(dirname $(readlink -f $0))
TOPLEVEL=$(dirname ${SCRIPT_PATH})
ROCK_HOME=/usr/share/rock
VERBOSE_FLAGS=
if [ "x${DEBUG}" != "x" ]; then
VERBOSE_FLAGS="-vvv"
Expand All @@ -15,9 +15,9 @@ then
echo "Stopping Rock Services"


cd ${TOPLEVEL}/playbooks
ansible-playbook "${TOPLEVEL}/playbooks/delete-data.yml" ${VERBOSE_FLAGS}
ansible-playbook "${TOPLEVEL}/playbooks/deploy-rock.yml" ${VERBOSE_FLAGS}
cd ${ROCK_HOME}/playbooks
ansible-playbook "${ROCK_HOME}/playbooks/delete-data.yml" ${VERBOSE_FLAGS}
ansible-playbook "${ROCK_HOME}/playbooks/deploy-rock.yml" ${VERBOSE_FLAGS}

/sbin/rock_start
fi
/usr/local/bin/rockctl start
fi
19 changes: 0 additions & 19 deletions book.json

This file was deleted.

Binary file removed docs/ascii_logo.monopic
Binary file not shown.
233 changes: 0 additions & 233 deletions docs/guide/README.adoc

This file was deleted.

4 changes: 0 additions & 4 deletions docs/guide/SUMMARY.adoc

This file was deleted.

Loading

0 comments on commit f3ba006

Please sign in to comment.