Puppet Class: seed_stack::mc2

Defined in:
manifests/mc2.pp

Overview

Class: seed_stack::mc2

Runs a Mission Control container in Marathon.

Parameters:

  • infr_domain (Any)
  • hub_domain (Any)
  • marathon_host (Any) (defaults to: 'marathon.service.consul')


5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/mc2.pp', line 5

class seed_stack::mc2(
  $infr_domain,
  $hub_domain,
  $marathon_host = 'marathon.service.consul',
) {
  file { '/etc/marathon-apps': ensure => 'directory' }
  ->
  file { '/etc/marathon-apps/mc2.marathon.json':
    content => template('seed_stack/mc2.marathon.json.erb'),
  }

  class { 'xylem::config::marathon_sync':
    group_json_files => ['/etc/marathon-apps/mc2.marathon.json'],
  }
}