Skip to content
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.

Latest commit

 

History

History
35 lines (25 loc) · 845 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 845 Bytes

THIS REPOSITORY IS ARCHIVED

For the current Reggie salt formula, see https://github.com/magfest/reggie-formula

Magfest ubersystem puppet module

This module is the latest version that works with uber2.0 (post-Magfest 8.5)

Examples

Put this in your

class uber_server {
  include uber

  class { 'postgresql::server':
    ip_mask_deny_postgres_user => '0.0.0.0/32',
    ip_mask_allow_all_users    => '0.0.0.0/0',
    listen_addresses           => 'localhost',
    manage_firewall            => true,
  }

  class { 'nginx': }

  # look up info for what ubersystems we should create (if any)
  # in our hiera/nodes/{hostname}.yaml file
  $ubersystem_instances = hiera_hash('uber_instances', {})
  create_resources('uber::instance', $ubersystem_instances)
}


node 'whatever.magfest.org' inherits default  {
  include uber_server
}