chef-load
devoptimist/chef-load/linux
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
| Name | Type | Description | Default |
|---|---|---|---|
| chef_server_host | string | The hostname of ip address of the chef-server to test | required |
| ips | list | A list of ip addresses where we will install hab and run services | required |
| chef_server_client_name | string | The name of an admin user in the org that was specified | required |
| chef_server_client_key | string | The content of the clients private key | required |
| instance_count | number | The number of instances that will have chef-solo run on them | required |
| chef_server_org | string | The organization to use on the chef server | required |
| chef_server_client_key_path | string | The path to write the client key out to on the chef-load server | "/tmp/client.pem" |
| ssh_user_names | list(string) | A list of ssh user names used to access the ip addresses provided | [] |
| ssh_user_private_keys | list(string) | A list of user keys used to access the ip addresses (either user_pass/s or user_ | [] |
| log_file | string | The path to the log file | "/tmp/chef-load.log" |
| num_actions | number | During the same interval of time, it is also possible to load a number of Chef a | 30 |
| interval | number | chef-load will evenly distribute the number of nodes across the desired interval | 30 |
| ssh_user_name | string | The ssh user name used to access the ip addresses provided | "" |
| ssh_user_pass | string | The ssh password used to access the ip addresses (either user_pass or user_priva | "" |
| services | map | A map of other habitat services to load along side this one | {} |
| ssh_user_private_key | string | The user key used to access the ip addresses (either user_pass or user_private_k | "" |
| hab_sup_peers | list | A list of peers for the supervisor to connect to | [] |
| channel | string | The habitat builder channel to pull from | "stable" |
| service_group | string | The service group name to use for this service | "default" |
| node_name_prefix | string | The prefix to give each node | "chef-load" |
| chef_environment | string | The environment to use for each node | "_default" |
| ssh_user_passes | list(string) | A list of ssh passwords used to access the ip addresses (either user_pass or use | [] |
| num_nodes | number | The number of chef client nodes to simulate | 30 |
| ohai_json_file | string | The path to the file to use for ohai data. The devoptimist/chef-load hab package | "/hab/svc/chef-load/static/sample-data/e |