Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

example42/puppet-unicorn

Repository files navigation

Deprecation notice

This module was designed for Puppet versions 2 and 3. It should work also on Puppet 4 but doesn't use any of its features.

The current Puppet 3 compatible codebase is no longer actively maintained by example42.

Still, Pull Requests that fix bugs or introduce backwards compatible features will be accepted.

Puppet module: unicorn

This is a Puppet module for unicorn It provides only package installation and management

Based on Example42 layouts by Alessandro Franceschi / Lab42

Inspired by the following Unicorn modules:

https://github.com/viniciusteles/puppet-unicorn

https://github.com/ssvarma/puppetlabs_unicorn/

https://github.com/deck/puppet-unicorn

Official site: http://www.example42.com

Official git repository: http://github.com/example42/puppet-unicorn

Released under the terms of Apache 2 License.

This module requires the presence of Example42 Puppi module in your modulepath.

USAGE - Basic management

  • Install unicorn with default settings

      class { 'unicorn': }
    
  • Install a specific version of unicorn package

      class { 'unicorn':
        version => '1.0.1',
      }
    
  • Remove unicorn resources

      class { 'unicorn':
        absent => true
      }
    
  • Module dry-run: Do not make any change on all the resources provided by the module

      class { 'unicorn':
        noops => true
      }
    
  • Automatically include a custom subclass

      class { 'unicorn':
        my_class => 'example42::my_unicorn',
      }
    

TESTING

Build Status