Method: Beaker::DSL::InstallUtils::AIODefaults#add_platform_aio_defaults
- Defined in:
- lib/beaker/dsl/install_utils/aio_defaults.rb
#add_platform_aio_defaults(host, platform) ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/beaker/dsl/install_utils/aio_defaults.rb', line 34 def add_platform_aio_defaults(host, platform) AIO_DEFAULTS[platform].each_pair do |key, val| host[key] = val end # add group and type here for backwards compatability if host['platform'] =~ /windows/ host['group'] = 'Administrators' else host['group'] = 'puppet' end end |