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


hana-studio (5) Versions 1.0.1

Installs/Configures SAP HANA Studio

cookbook 'hana-studio', '= 1.0.1', :supermarket
cookbook 'hana-studio', '= 1.0.1'
knife supermarket install hana-studio
knife supermarket download hana-studio
Quality 33%

hana-studio Cookbook

This cookbook installs SAP HANA Studio onto a Windows instance. This is a BYOP
cookbook (Bring Your Own Package). You need to provide the
installer in a zipped package or provide a download location for SAPCAR if using
a SAR package. If zipped, that package should be of a standard layout:\SAP_HANA_STUDIO\hdbinst.exe.


This cookbooks supports the following windows versions, and has been tested on
SAP's internal cloud and AWS as noted below.

OS Internally Tested AWS EC2 Tested
Windows Server 2008
Windows Server 2008 R2
Windows Server 2012
Windows Server 2012 R2
Windows Server 2016 TP
Windows 10


Basic and Required

You must provide these values to the cookbook so that it can install the
client on your system. You may have specified these values as a part of
another cookbook.

Key Type Description Default
['sap']['hanastudio'] String Where can I find the package file containing the HANA Studio installer. nil

Advanced and Optional

These attributes are used to fine tune the installation.

Key Type Description Default
['sap']['sapcar'] String Where can I find the SAPCAR executable to extract sar files. (Required if using a SAR package) nil
['hana-studio']['install_dir'] String Where do you want the Studio to be installed? 'C:\Program Files\SAP\Hdbstudio'
['hana-studio']['features'] String Which features¹ do you want to include? (comma separated list) 'all'

¹NOTE: The available features may differ from one version to another. Some
common features include:
- admin
- appdev
- dbdev
- answers
- importmetadata

Please consult your package documentation for an accurate list of your package's
features, and their descriptions.




  • :install
  • :uninstall

Use the actions to install or remove an installation of the studio to or from
the specified location. uninstall removes the HANA studio exactly in the
path you specify.

hana_studio "C:\\Root\\Path\\To\\Install\\hana-studio\\" do
    installer "C:\\Path\\To\\Extracted\\Installer\\hdbinst.exe"
  features "comma,seperate,list,of,features"
  action :install
hana_studio "C:\\Root\\Path\\To\\Uninstall\\hana-studio\\" do
  action :uninstall



  • :extract
  • :cleanup

Use the actions to extract and then cleanup a remote zip package. This makes
use of the remote_file resource for the download.

hana_studio_remote_package 'c:\Path\to\extract\the\zip' do
    source 'http://zip,file/'
    creates ''
    action :extract



So you want to install the SAP HANA studio? In addition to the resources
provided above, you can use this cookbook's default recipe to install the SAP
HANA Studio. Here's how:
1. Depend on me (in your metadata.rb).
depends 'hana-studio'

  • Setup your installation (using attributes).

    • [REQUIRED]: You must provide the location of the packaged installer using the ['sap']['hanastudio'] attribute.
    • [OPTIONAL]: The location to download SAPCAR if using a sar package.
    • [OPTIONAL]: Change the default installation directory.
    • [OPTIONAL]: Use a custom list of comma separated features.
  • Include hana-studio in your node's run_list:
    "run_list": [

  • Enjoy SAP HANA Studio!


Contributions are welcomed!

  1. Fork the repo
  2. Create a feature branch (like add_component_x)
  3. Write your change
  4. Test your change
  5. Submit a Pull Request using Github

License and Authors



Copyright 2016, SAP

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

windows ~> 1.0

Contingent cookbooks

hana-client Applicable Versions

Collaborator Number Metric

1.0.1 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.1 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, and your repo must contain a file

Foodcritic Metric

1.0.1 failed this metric

FC066: Ensure chef_version is set in metadata: hana-studio/metadata.rb:1
FC069: Ensure standardized license defined in metadata: hana-studio/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

1.0.1 passed this metric

Testing File Metric

1.0.1 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, and your repo must contain a file

Version Tag Metric

1.0.1 passed this metric