Automating Nexus Deployment: Cookbooks, Modules and Playbooks

Author, Ilkka Turunen

Sonatype Q&A

The first article in this two part series, Automating Nexus Management: Using the REST API in Nexus 2.x, examined the resources available for developers who want to use the Nexus 2.x REST API. In this installment we’ll focus on how to deploy Nexus itself using various cookbooks and modules for provisioning tools.

Are there any example cookbooks / modules / playbooks / docker images I can use?

Yes, plenty! Generally speaking, the best resource for these is the official Nexus Integration documentation in the free, Repository Management with Nexus book.

I’ve also highlighted a few key tools from this list for convenience.

Chef Cookbook

Last year, Riot games shared their Chef cookbook for Nexus:
https://github.com/RiotGamesCookbooks/nexus-cookbook

Puppet Module

Puppet Module for Sonatype Nexus
http://www.sonatype.org/nexus/2014/11/18/puppet-module-for-sonatype-nexus/

Ansible Playbook

The Ansible Playbook
https://github.com/jhinrichsen/ansible-nexus

Saltstack Formula

Again, some great stuff uncovered from github (use with caution and customise with care)
https://github.com/saltstack-formulas/nexus-formula

Docker Image

Docker example
https://registry.hub.docker.com/u/conceptnotfound/sonatype-nexus/

Official Sonatype Nexus Docker Image:

Nexus Docker Image
https://hub.docker.com/r/sonatype/nexus/

Vagrant Box

Vagran Box on GitHub
https://github.com/skempken/vagrant-nexus

The following two tabs change content below.
Ilkka Turunen is a Solutions Architect at Sonatype. He has worked with companies large and small as a infrastructure consultant and as a developer. Now he aims to show how the Nexus products can benefit teams large and small. He's based in London, UK and can best be found in a coffee shop near the silicon roundabout.
Authors

Related posts

One Comment;

*

Top