cluster_name = 'kube'

name "#{cluster_name}"
description "#{cluster_name} cluster"

run_list(
)

#env_run_lists

default_attributes(
)

override_attributes(
  'docker-grid' => {
    #'install_flavor' => 'dockerproject',
    'install_flavor' => 'os-repository',
    'engine' => {
      'version_on_centos' => '1.12.5-14',  # docker package
      #'version_on_centos' => '1.11.2-1',  # docker-engine package
      'version_on_ubuntu' => '1.12.3-0ubuntu4~16.04.2',  # docker.io package
      #'version_on_ubuntu' => '1.11.2-0',  # docker-engine package
      'storage-driver_on_centos' => 'overlay',
      'storage-driver_on_ubuntu' => 'overlay',  # default: aufs
      #'userns-remap' => 'default',
      'daemon_extra_options' => '-H fd:// --bip=192.168.128.1/24 --fixed-cidr=192.168.128.0/24',
      # for docker >= 1.10, docker-engine >= 1.12 (on rhel family)
      # '-H fd://' option automatically removed by this cookbook.
      # See https://github.com/docker/docker/issues/22847
    },
  },
)
