Chef Importer¶
-
class
rundeck_resources.chef_importer.
ChefImporter
(title, config, cache)[source]¶ A Chef node information importer
-
static
call_chef
(config)[source]¶ Method to query the chef server.
Parameters: config ( dict
) – The chef configuration.Return type: dict
Returns: The chef nodes information.
-
static
expand_paths
(config)[source]¶ Method to expand file paths for the user certificate and the chef ssl certificate.
Parameters: config ( dict
) – The chef configuration.Return type: dict
Returns: The chef configuration with expanded paths.
-
static
expand_ssl_cert_path
(ssl_cert_path)[source]¶ Method to return expanded and checked ssl_cert_path.
Parameters: user_cert_path – The chef server SSL certificate path. Return type: str
Returns: The check expanded chef server SSL certificate path.
-
static
expand_user_cert_path
(user_cert_path)[source]¶ Method to return expanded and checked user_cert_path.
Parameters: user_cert_path ( str
) – The user certificate path.Return type: str
Returns: The check expanded user certificate path.
-
static