Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure Artifacts #344

Merged
merged 1 commit into from
Feb 12, 2019
Merged

Restructure Artifacts #344

merged 1 commit into from
Feb 12, 2019

Conversation

bndabbs
Copy link
Contributor

@bndabbs bndabbs commented Jan 29, 2019

TLDR:

  • Move /opt/rocknsm/rock/playbooks to /usr/share/rock/playbooks
  • Move /opt/rocknsm/rock/playbooks/roles to /usr/share/rock/roles
  • Move /opt/rocknsm/rock/playbooks/inventory/hosts.ini to /etc/rocknsm/hosts.ini
  • Move /opt/rocknsm/rock/bin/ to /usr/local/bin/ See: Update rock.spec  #350
  • Move /opt/rocknsm/rock/playbooks/{handlers,templates,files} to appropriate roles
  • Switch to using upstream OpenSSL modules in Ansible (Adds dependency for Ansible > 2.7)

@bndabbs bndabbs added this to the 2.3 milestone Jan 29, 2019
@bndabbs bndabbs self-assigned this Jan 29, 2019
Move roles, inventory, config to new top-level paths

Update paths in ansible.cfg

Update paths and ansible version in spec file

Update file paths

Remove deprecated management wrappers

Rename sensor-common to common

Move old gitkeep file

Update bin path and make sure it's created

Move ansible.cfg to /etc/rock

We can't depend on ansible upgrades not clobbering things in
/etc/ansible

Move ansible.cfg to playbooks so ansible won't clobber it

Fix file paths

Move kibana profile.d to kibana role and cleanup nginx bits

Move files and templates into roles and cleanup orphans

Update paths in specfile and create config skeleton

Update openssl provider to ownca

We are now using the upstream openssl_certificate module and the syntax
changed slightly from what we had used previously.

Re-add default index template

This was accidentally removed during a cleanup

Bump rock version to 2.3
Copy link
Member

@dcode dcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dcode dcode merged commit 9999811 into rocknsm:devel Feb 12, 2019
@dcode dcode mentioned this pull request Feb 22, 2019
dcode added a commit that referenced this pull request Feb 22, 2019
* New: Add ability to do multi-host deployment of sensor + data tiers (#339, [bndabbs@gmail.com](mailto:bndabbs@gmail.com))
* New: Integrate Docket into Kibana by default ([derek@rocknsm.io](mailto:derek@rocknsm.io))
* New: Improvements and additional Kibana dashboards (spartan782)
* Fixes: issue with Bro failing when monitor interface is down (#343, [bndabbs@gmail.com](mailto:bndabbs@gmail.com))
* Fixes: issue with services starting that shouldn’t (#346, [therealneu5ron@gmail.com](mailto:therealneu5ron@gmail.com))
* Fixes: race condition on loading dashboards into Kibana (#356, [derek@rocknsm.io](mailto:derek@rocknsm.io))
* Fixes: configuration for Docket allowing serving from non-root URI (#361, [derek@rocknsm.io](mailto:derek@rocknsm.io))
* Change: bro log retention value to one week rather than forever (#345, [sean.cochran@gmail.com](mailto:sean.cochran@gmail.com))
* Change: Greatly improve documentation  (#338, [sean.cochran@gmail.com](mailto:sean.cochran@gmail.com))
* Change: Reorganize README (#308, [bradford.dabbs@elastic.co](mailto:bradford.dabbs@elastic.co))
* Change: Move ECS to rock-dashboards repo (#305, [derek@rocknsm.io](mailto:derek@rocknsm.io))
* Change: Move RockNSM install paths to filesystem heirarchy standard locations (#344, [bndabbs@gmail.com](mailto:bndabbs@gmail.com))
@taosecurity
Copy link

/usr/local/bin is empty
/usr/sbin is the home for deploy_rock.sh on 2.3

@bndabbs
Copy link
Contributor Author

bndabbs commented Feb 27, 2019

@taosecurity we moved it to /usr/sbin/ in #350, so that it would be in the $PATH for sudo. Sorry for the confusion there.

@taosecurity
Copy link

Ah thank you @bndabbs !

@bndabbs bndabbs deleted the restructure branch March 21, 2019 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants