cookbook 'databricks', '= 0.1.0'
databricks (2) Versions 0.1.0 Follow0
Installs/Configures Databricks resources
cookbook 'databricks', '= 0.1.0', :supermarket
knife supermarket install databricks
knife supermarket download databricks
The following gems are installed automatically by your Chef client when using this cookbook, as part of its main dependencies:
databricksto access the Databricks REST API.
The following platforms are supported and tested with Test Kitchen:
TODO: Compile the exact list when Test Kitchen will be fully configured.
- Chef 15+
This cookbook is resource-based. Use the resources described above in wrapper cookbooks or recipes.
Each resource uses attributes
token to know the Databricks host to target, and the token used in the REST API queries.
If you want to group all resources accessed under the same host and token, you can use the
on_databricks helper that provides a scope to define such resources.
Then resources defined in such a scope will use the given host and token as default values.
on_databricks('https://my-databricks.net', 'my-token') do
databricks_file '/FileStore/txt/test.txt' do
databricks_job 'Test job' do
A standard PR-based development workflow is applied to this repository, using a single master release branch and linear strategy.
If you want to contribute to the code, please create a fork of the repository in your Github's user space, then push a branch with your modifications on your fork and create a PR from it to the master branch on the main repository.
Lint testing can be done using Chef's
/opt/chef-workstation/bin/delivery local lint
Unit testing can be done using Chefspec.
Unit testing needs webmock to run, so you will have to install it as part of your Chef workstation's gems:
/opt/chef-workstation/embedded/bin/gem install webmock
Then unit tests can be run like this:
/opt/chef-workstation/bin/chef exec rspec
This cookbook has no specified dependencies.
There are no cookbooks that are contingent upon this one.
This file is used to list changes made in each version of the databricks cookbook.
Initial release. Supports files, jobs and instance pools.