lib/cloudstrap/bootstrap_agent.rb in cloudstrap-0.38.5.pre vs lib/cloudstrap/bootstrap_agent.rb in cloudstrap-0.38.17.pre
- old
+ new
@@ -390,15 +390,15 @@
Contract None => Bool
def configure_hdp
bootstrap_properties
.define('Provider', 'AWS')
.define('KeepTerraform', 'true')
- .define('NodeCount', '3')
- .define('MasterCount', '1')
- .define('GlusterNodeCount', '2')
- .define('AWS.NodeInstanceType', 'm4.xlarge')
- .define('AWS.MasterInstanceType', 't2.medium')
- .define('AWS.GlusterFSInstanceType', 't2.medium')
+ .define('AWS.NodeInstanceType', config.node_instance_type)
+ .define('AWS.MasterInstanceType', config.master_instance_type)
+ .define('AWS.GlusterFSInstanceType', config.gluster_instance_type)
+ .define('NodeCount', config.node_count)
+ .define('MasterCount', config.master_count)
+ .define('GlusterNodeCount', config.gluster_count)
.define('AWS.Region', config.region)
.define('AWS.AvailabilityZones', public_availability_zone)
.define('AWS.PublicSubnetIDsAndAZ', [public_subnet, public_availability_zone].join(':'))
.define('AWS.PrivateSubnetIDsAndAZ', [private_subnet, private_availability_zone].join(':'))
.define('AWS.Keypair', bootstrap_tag)