123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- # Policyfile.rb - Describe how you want Chef Infra Client to build your system.
- #
- # For more information on the Policyfile feature, visit
- # https://docs.chef.io/policyfile/
- # A name that describes what the system you're building with Chef does.
- name 'gateway'
- # Where to find external cookbooks:
- default_source :supermarket
- default_source :chef_repo, './cookbooks' do |s|
- s.preferred_for "gateway"
- end
- # run_list: chef-client will run these recipes in the order specified.
- run_list [
- 'gateway::default',
- ]
- # Kitchen-test suite
- named_run_list :complete, [
- 'resolver_config::_dokken',
- ] + run_list
- named_run_list :git, [
- 'resolver_config::_dokken',
- 'gateway::_git',
- ]
- named_run_list :apt, [
- 'resolver_config::_dokken',
- 'apt_repositories::_official',
- ]
- named_run_list :packages, @named_run_lists[:apt] + [
- 'gateway::_packages',
- ]
- # Specify a custom source for a single cookbook:
- # cookbook 'example_cookbook', path: '../cookbooks/example_cookbook'
- cookbook 'etckeeper', git: 'https://github.com/pioneerit/etckeeper-cookbook'
- cookbook 'git', git: 'https://github.com/jmauro/git', branch: 'config_file_scope'
- cookbook 'resolver', git: 'https://github.com/jmauro/resolver', branch: 'atomic_update'
- # Global attributes
|