cluster_name = 'dcos'

name "#{cluster_name}-boot"
description "#{cluster_name} cluster bootstrap node"

run_list(
  "role[#{cluster_name}]",
  'role[docker4dcos]',
  'recipe[dcos-grid::bootstrap]',
)

#env_run_lists

default_attributes(
)

override_attributes(
  'docker-grid' => {
    'engine' => {
      # deactivates it for bootstrap setup
      'userns-remap' => '',
    },
  },
)
