Coder Social home page Coder Social logo

puppet-salus's Introduction

puppet-salus

Manage the installation and configuration of our Let's Encrypt tool salus

Installation

Module expects PHP curl and json extensions to be installed already.

Certificates and keys are named {stack-env}.crt and {stack-env}.key. Any nginx template will need to use this naming convention.

In your PuppetFile add

mod 'silverstripe-salus',
	:git => '[email protected]:silverstripeltd/puppet-salus.git'

Configuration

By default, sets up cron job in /etc/cron.d to run every 4 hours, on the hour eg. 00:00, 04:00, 08:00 ...

class { salus:
    $environment, # Prodduction/Staging
    $cert_email, # Defaults to account_email
    $account_email, # Registered with Let's Encrypt
    $renew_days_expire,
    $dash_api_url,
    $dash_api_email,
    $dash_api_token,
    $aws_keyid,
    $aws_secret,
    $aws_trust_zoneid,
    $local_cert_store, # Where salus will store locally store certs
    $post_nginx, # If true salus will test nginx config
    $nginx_config_test_cmd,
    $nginx_reload_cmd,
    $nginx_sites_config, # nginx vhost conf files
    $force_renew, # Only set to true if using staging env
    $raygun_api_key,
    $download_link, # URL to download salus binary
    $cron_minute, # Default 0 min
    $cron_hour, # Default */4
}

puppet-salus's People

Contributors

indygriffiths avatar brettt89 avatar ichaber avatar mcjoppy avatar

Watchers

Simon Gow avatar She Ba avatar James Cloos avatar Matt Peel avatar  avatar Steve Boyd avatar Pearl Hanify avatar Amol Wankhede avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.