Puppet Class: dcos

Inherits:
dcos::params
Inherited by:
dcos::agent
dcos::master
Defined in:
manifests/init.pp

Overview

Class: dcos

Manages DC/OS nodes, ensures compatibility between distributions

Parameters

Parameters:

  • bootstrap_url (Optional[String]) (defaults to: undef)

    Bootstrap node address for the advanced installation. See dcos.io/docs/1.10/installing/custom/advanced/

  • bootstrap_script (Optional[String]) (defaults to: $dcos::params::bootstrap_script)

    Script to be fetched from bootstrap node. Default: ‘dcos_install.sh`

  • download_dir (Optional[String]) (defaults to: $dcos::params::download_dir)

    Directory where ‘bootstrap_script` will be stored.

  • install_checksum (Optional[Hash]) (defaults to: $dcos::params::install_checksum)

    A hash with ‘bootstrap_script` checksums. E.g.: “` class{’::dcos’:

    bootstrap_url: 'http://localhost:9090',
    install_checksum => {
       type => 'sha1',
       hash => 'aaabbb...'
    },
    

    } “‘

  • zone (Optional[String]) (defaults to: undef)
  • region (Optional[String]) (defaults to: undef)


32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'manifests/init.pp', line 32

class dcos (
  Optional[String] $bootstrap_url    = undef,
  Optional[String] $bootstrap_script = $dcos::params::bootstrap_script,
  Optional[String] $download_dir     = $dcos::params::download_dir,
  Optional[Hash]   $install_checksum = $dcos::params::install_checksum,
  Optional[String] $region           = undef,
  Optional[String] $zone             = undef
) inherits dcos::params {
  contain dcos::install
  contain dcos::config

  Class['dcos::install']
  -> Class['dcos::config']
}