Forge Home

urleater

Puppet module for urleater

9,633 downloads

9,426 latest version

1.4 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.4 (latest)
  • 0.0.3
released Jul 10th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'renanvicente-urleater', '0.0.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add renanvicente-urleater
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install renanvicente-urleater --version 0.0.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

renanvicente/urleater — version 0.0.4 Jul 10th 2014

Puppet module: urleater

This is a Puppet module for urleater based on the second generation layout ("NextGen") of Example42 Puppet Modules.

Made by Renan Vicente

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

Official git repository: http://github.com/renanvicente/puppet-urleater

Released under the terms of Apache 2 License.

This module requires functions provided by the Example42 Puppi module (you need it even if you don't use and install Puppi)

For detailed info about the logic and usage patterns of Example42 modules check the DOCS directory on Example42 main modules set.

Urleater is a script to get the urls that is enabled in Apache or Nginx.

Project Url:

Client: https://github.com/renanvicente/urleater-get Server: https://github.com/renanvicente/urleater-server

CHANGELOG

Version 0.0.4

  • Add git dependency

USAGE - Basic management

  • Install urleater with normal settings

      class { 'urleater':
        server => 'www.renanvicente.com',
        port   => '7777',
        customer => 'renanvicente',
       }
    
  • Install urleater with default settings

      class { 'urleater':
        server => 'www.renanvicente.com',
        port   => '7777',
       }
    
  • Install using a specific hostname to add in urleater-server

      class { 'urleater':
        server => 'www.renanvicente.com',
        port   => '7777',
        customer => 'renanvicente',
        hostname => 'host.renanvicente.com',
       }
    
  • Install using a specific directory to search for urls or more than one directory

      class { 'urleater':
        server => 'www.renanvicente.com',
        port   => '7777',
        customer => 'renanvicente',
        vhost_directory => ['/etc/nginx/conf.d','/etc/nginx/sites-enabled'],
       }
    
  • Install a specific version of urleater package

      class { 'urleater':
        server => 'www.renanvicente.com',
        port   => '7777',
        version => '1.0',
      }
    
  • Disable urleater service.

      class { 'urleater':
        disable => true
      }
    
  • Remove urleater package

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

      class { 'urleater':
        noops => true
      }
    

USAGE - Overrides and Customizations

  • Use custom template for main config file. Note that template and source arguments are alternative.

      class { 'urleater':
        template => 'urleater/urleater-get.conf.erb',
      }
    
  • Automatically include a custom subclass

      class { 'urleater':
        my_class => 'urleater::my_urleater',
      }
    

CONTINUOUS TESTING

Build Status