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

chef360-node-enroll (1) Versions 1.0.0

Installs/Configures chef360-node-enroll

Policyfile
Berkshelf
Knife
cookbook 'chef360-node-enroll', '~> 1.0.0', :supermarket
cookbook 'chef360-node-enroll', '~> 1.0.0'
knife supermarket install chef360-node-enroll
knife supermarket download chef360-node-enroll
README
Dependencies
Changelog
Quality 33%

Overview

The node_management_enroll custom resource is designed to streamline the process of enrolling nodes into a Chef-360 platform. This resource automates the configuration and setup required to ensure nodes are properly registered and managed by the Chef platform's node management service.

Enrollment and Enrollment Levels

Enrollment is the process that enables Chef 360 to interact with and potentially manage your node. The enrollment status level determines the extent of management and control Chef 360 has over the node. This level indicates the type and degree of management capabilities available.

The node_management_enroll resource supports two levels of enrollment:

  1. Full Enrollment: Chef 360 has both Node Management and Habitat installed on the node, running as a Habitat supervised service. This level allows Chef 360 to manage skill credentials, settings, installation, upgrades, and removal.

  2. Partial Enrollment: Chef 360 has Node Management running on the node, but as a native service (not under the Habitat supervisor or package manager). This level allows for the detection of native skills and skill credential management but does not support skill installation, upgrades, or configuration. This is suitable for nodes that do not support Habitat but require a specific skill like Courier Runner.

Resource Parameters

Parameter Description Valid Value Default Value
chef_platform_url The fully qualified domain name (FQDN) URL for the Chef 360 platform. A FQDN which must be accessible from the client node. None
api_port The API port configured in the Chef 360 platform. A valid port number. 31000
access_key Access key for secure communication with Chef 360. Store securely (e.g., Encrypted Chef data bags, Vault). valid token None
secret_key Secret key for secure communication with Chef 360. Store securely (e.g., Encrypted Chef data bags, Vault). valid token None
cohort_id A UUID representing a cohort. It provides all required skills and settings to the assigned node. UUID None
hab_builder_url URL for the Chef Habitat builder in your organization. Valid URL https://bldr.habitat.sh
working_dir_path Temporary working directory path where all required builds are downloaded. Specify a valid path based on the OS. A valid directory with read and write permission. /tmp
upgrade_skills For partial enrollment. If true, checks for the latest skill version and installs it if found. 'true' or 'false' false

Example Usage

node_management_enroll 'Enroll Node' do
  chef_platform_url '<CHEF-360-FQDN>'
  enroll_type 'full/partial'
  api_port '<API_PORT>'
  access_key '<ACCESS_KEY>'
  secret_key '<SECRET_KEY>'
  cohort_id '<COHORT_ID>'
  hab_builder_url '<HABITAT_BUILDER_URL>'
  working_dir_path '<VALID_DIR_PATH>'
  upgrade_skills false
end

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

chef360-node-enroll CHANGELOG

This file is used to list changes made in each version of the chef360-node-enroll cookbook.

1.0.0

  • First Release

Collaborator Number Metric
            

1.0.0 failed this metric

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

Contributing File Metric
            

1.0.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
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.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
            

1.0.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