name 'dcos0'
description 'dcos0 cluster'

run_list(
)

#env_run_lists

default_attributes(
)

override_attributes(
  'dcos-grid' => {
    'dcos_release_url' => 'https://downloads.dcos.io/dcos/stable/dcos_generate_config.sh',
    #'dcos_release_url' => 'https://downloads.dcos.io/dcos/EarlyAccess/dcos_generate_config.sh',
    'docker-engine' => {
      'version_on_centos' => '1.11.2-1',
      'version_on_ubuntu' => '1.11.2-0',
    },
    'bootstrap' => {
      'ip' => '192.168.56.100',
      'port' => '8080',
      'config' => {
        'cluster_name' => 'dcos0',
        'master_list' => [
          '192.168.56.101',
          #'192.168.56.102',
          #'192.168.56.103',
        ],
        'resolvers' => [
          '8.8.8.8',
          '8.8.4.4',
          #{
          #  'invalid_name' => 'dummy',
          #},
        ],
        'telemetry_enabled' => 'false',
        #'invalid_key' => 'dummy',
=begin
        'dcos_overlay_network' => {
          'vtep_subnet' => '44.128.0.0/20',
          'vtep_mac_oui' => '70:B3:D5:00:00:00',
          'overlays' => [
            {
              'name' => 'dcos',
              'subnet' => '9.0.0.0/8',
              'prefix' => '26',
            },
          ],
        },
=end
      },
      'ip-detect' => {
        # the first detected interface's ip is adopted.
        'interface' => 'eth1,eth0,enp0s8,enp0s3',
      },
    },
    'node' => {
      'auto_setup' => false,
    },
  },
)
