Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

uamsclient (7) Versions 0.8.0

Installs UAMS Client - agent for SolarWinds Observability platform

Policyfile
Berkshelf
Knife
cookbook 'uamsclient', '~> 0.8.0', :supermarket
cookbook 'uamsclient', '~> 0.8.0'
knife supermarket install uamsclient
knife supermarket download uamsclient
README
Dependencies
Quality 33%

UAMS Client Cookbook

The uamsclient cookbook is used to deploy and configure the UAMS Client (SolarWinds Observability agent).

Setup

The uamsclient cookbook is compatible with Chef >= 16.0. It might work on older versions, but it's not guaranteed.

Installation

Chef Supermarket

This cookbook is available in Chef Supermarket -> direct link and is available for any common Chef usage pattern.

Manual installation/configuration for private/managed Chef server

  1. Clone the repository.
  2. Set the required attributes (attributes/default.rb / role / environment / use wrapper cookbook).
  3. Upload the cookbook(s) to the Chef server: knife cookbook upload ...
  4. Add the uamsclient::uamsclient recipe (or/and wrapper recipe) to the run_list.
  5. Run chef-client on the node (or wait for scheduled execution).

Managed Locally Agents

The variable ['uamsclient']['uams_managed_locally'] is used to set the Agent as managed locally by a configuration file. It is designed to allow configuration of the UAMS Agent locally, without the necessity of adding integrations manually from the SWO page.

If the UAMS Agent is installed as a managed locally agent, it will wait for the local configuration file to be accessible. The default local configuration locations are:
- Linux - /opt/solarwinds/uamsclient/var/local_config.yaml
- Windows - C:\ProgramData\SolarWinds\UAMSClient\local_config.yaml

Chef will automatically copy the file to the needed location.
The default template of the local config file is located at templates/default/local_config.yaml.erb.
You can specify a template for each host using paths for each host as described in the Chef documentation.

An additional optional configuration file credentials_config.yaml can be used to define credentials providers. This file can be used in conjunction with local_config.yaml to retrieve a credential from a defined credential provider.

The default template of the credentials configuration file is located at templates/default/credentials_config.yaml.erb.

Chef will automatically copy both files (credentials_config.yaml and local_config.yaml) to the needed location.

You can use Chef template syntax to fill the templates with appropriate variables.
To assign values to variables in the template, you can fill the attribute file and dictionary ['uamsclient']['local_config'] and ['uamsclient']['credentials_config'] as in the example below.
```

Template variables for local config

default['uamsclient']['local_config']['mysql_host'] = 'mysql_test'
default['uamsclient']['local_config']['user'] = 'user_test'

Template variables for credentials config

default['uamsclient']['credentials_config']['aws_access_key_id'] = 'your_access_key_id'
default['uamsclient']['credentials_config']['aws_secret_access_key'] = 'your_secret_access_key'
```
To learn more about building the appropriate local config and credentials config, check out the SolarWinds Observability documentation. You can find information about deploying different plugins, integrations, and supported credential providers.

Attributes

Attribute Description
node['uamsclient']['uams_access_token'] required Access token from SolarWinds Observability
node['uamsclient']['swo_url'] required SWO_URL copied from SolarWinds Observability
node['uamsclient']['local_pkg_path'] required on Windows Overrides the path where the installation package is stored temporarily
node['uamsclient']['uams_metadata'] Specifies the role for the client - in most cases, the default value is valid
node['uamsclient']['uams_https_proxy'] Specifies the HTTPS proxy used by the UAMS Client and its plugins
node['uamsclient']['uams_override_hostname'] Optional variable to set a custom Agent name. By default, the Agent name is set to the hostname.
node['uamsclient']['remove_installer'] If the installer package should be removed after the installation (default: true)
node['uamsclient']['uams_managed_locally'] Variable is used to set the Agent as managed locally by a configuration file (default: false)

Remember that the uams_https_proxy attribute sets the HTTPS proxy only for the connections established by the UAMS Client and its plugins. To use an HTTPS proxy during installation, set up the HTTPS proxy on your machine so that Chef will be able to use it.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

uamsclient_wrap Applicable Versions

Collaborator Number Metric
            

0.8.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.8.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Cookstyle Metric
            

0.8.0 passed this metric

No Binaries Metric
            

0.8.0 passed this metric

Testing File Metric
            

0.8.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.8.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number