name 'dcos0'
description 'dcos0 cluster'

run_list(
)

#env_run_lists

default_attributes(
)

override_attributes(
  'dcos-grid' => {
    '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',
        ],
      },
      'ip-detect' => {
        # the first detected interface's ip is adopted.
        'interface' => 'eth1,eth0,enp0s8,enp0s3',
      },
    },
    'node' => {
      'auto_setup' => false,
    },
  },
)
