added documentation for system requirements

This commit is contained in:
jainish shah
2018-01-29 11:20:25 -08:00
parent 55c49620f8
commit 67665b49b1
3 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
}, },
"ExtraJavaOptions":{ "ExtraJavaOptions":{
"Description": "Setting Java Memory Parameters for Artifactory", "Description": "Setting Java Memory Parameters for Artifactory. Learn about system requirements for Artifactory https://www.jfrog.com/confluence/display/RTF/System+Requirements#SystemRequirements-RecommendedHardware.",
"Default" : "-server -Xms2g -Xmx14g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=\\\\\\\"kill -9 %p\\\\\\\"", "Default" : "-server -Xms2g -Xmx14g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=\\\\\\\"kill -9 %p\\\\\\\"",
"Type" : "String" "Type" : "String"
}, },

View File

@@ -354,7 +354,7 @@ resource "aws_launch_configuration" "master" {
associate_public_ip_address = true associate_public_ip_address = true
user_data = "${template_file.init.rendered}" user_data = "${data.template_file.init.rendered}"
root_block_device { root_block_device {
volume_type = "gp2" volume_type = "gp2"
@@ -367,7 +367,7 @@ resource "aws_launch_configuration" "master" {
} }
} }
resource "template_file" "init" { data "template_file" "init" {
template = "${file("userdata.sh")}" template = "${file("userdata.sh")}"
vars = { vars = {
@@ -406,7 +406,7 @@ resource "aws_launch_configuration" "secondary" {
associate_public_ip_address = true associate_public_ip_address = true
user_data = "${template_file.secondary_init.rendered}" user_data = "${data.template_file.secondary_init.rendered}"
root_block_device { root_block_device {
volume_type = "gp2" volume_type = "gp2"
@@ -419,7 +419,7 @@ resource "aws_launch_configuration" "secondary" {
} }
} }
resource "template_file" "secondary_init" { data "template_file" "secondary_init" {
template = "${file("userdata_secondary.sh")}" template = "${file("userdata_secondary.sh")}"
vars = { vars = {

View File

@@ -47,7 +47,7 @@ variable "artifactory_instance_type" {
variable "extra_java_options" { variable "extra_java_options" {
default = "-server -Xms2g -Xmx14g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=\\\\\\\"kill -9 %p\\\\\\\"" default = "-server -Xms2g -Xmx14g -Xss256k -XX:+UseG1GC -XX:OnOutOfMemoryError=\\\\\\\"kill -9 %p\\\\\\\""
description = "Setting Java Memory Parameters for Artifactory" description = "Setting Java Memory Parameters for Artifactory. Learn about system requirements for Artifactory https://www.jfrog.com/confluence/display/RTF/System+Requirements#SystemRequirements-RecommendedHardware."
} }
variable "bucket_name" { variable "bucket_name" {