chef-load

devoptimist/chef-load/linux

Terraform Module HCL LINUX
Install
module "chef-load" {
source = "devoptimist/chef-load/linux"
version = "0.13.0"
}
plain text: /constructs/tfmod-devoptimist-chef-load-linux/install.txt
⭐ Source on GitHub 📦 Registry page
README

Overview This module will deploy a chef load instance to a server, and if configured correctly start running a load test as soon as the service is up. Supported platform families: RHEL DEBIAN * SUSE Usage ``hcl module "deploy_chef_load" { source = "devoptimist/chef-load/linux" version = "0.0.1" ips = ["172.16.0.23"] instance_count = 1 ssh_user_name = "ec2-user" ssh_user_private_key = "~/.ssh/id_rsa" } `` Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|----------| |ips|A list of ip addresses where we will install hab and run chef-load|list|[]|no| |instance_count|The number of instances being created|number|0|no| |ssh_user_name|The ssh user name used to access the ip addresses provided|string||yes| |ssh_user_pass|The ssh user password used to

Inputs (24)
NameTypeDescriptionDefault
chef_server_hoststringThe hostname of ip address of the chef-server to test required
ipslistA list of ip addresses where we will install hab and run services required
chef_server_client_namestringThe name of an admin user in the org that was specified required
chef_server_client_keystringThe content of the clients private key required
instance_countnumberThe number of instances that will have chef-solo run on them required
chef_server_orgstringThe organization to use on the chef server required
chef_server_client_key_pathstringThe path to write the client key out to on the chef-load server"/tmp/client.pem"
ssh_user_nameslist(string)A list of ssh user names used to access the ip addresses provided[]
ssh_user_private_keyslist(string)A list of user keys used to access the ip addresses (either user_pass/s or user_[]
log_filestringThe path to the log file"/tmp/chef-load.log"
num_actionsnumberDuring the same interval of time, it is also possible to load a number of Chef a30
intervalnumberchef-load will evenly distribute the number of nodes across the desired interval30
ssh_user_namestringThe ssh user name used to access the ip addresses provided""
ssh_user_passstringThe ssh password used to access the ip addresses (either user_pass or user_priva""
servicesmapA map of other habitat services to load along side this one{}
ssh_user_private_keystringThe user key used to access the ip addresses (either user_pass or user_private_k""
hab_sup_peerslistA list of peers for the supervisor to connect to[]
channelstringThe habitat builder channel to pull from"stable"
service_groupstringThe service group name to use for this service"default"
node_name_prefixstringThe prefix to give each node"chef-load"
chef_environmentstringThe environment to use for each node"_default"
ssh_user_passeslist(string)A list of ssh passwords used to access the ip addresses (either user_pass or use[]
num_nodesnumberThe number of chef client nodes to simulate30
ohai_json_filestringThe path to the file to use for ohai data. The devoptimist/chef-load hab package"/hab/svc/chef-load/static/sample-data/e
Details
FrameworkTerraform Module
LanguageHCL
Version0.13.0
Cloud LINUX
★ Stars0
Forks1
Total downloads783
Inputs24
Namespacedevoptimist
Updated