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

hana-studio (5) Versions 2.0.2

Installs/Configures SAP HANA Studio

Policyfile
Berkshelf
Knife
cookbook 'hana-studio', '~> 2.0.2', :supermarket
cookbook 'hana-studio', '~> 2.0.2'
knife supermarket install hana-studio
knife supermarket download hana-studio
README
Dependencies
Changelog
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
download location for SAPCAR to extract your SAR package. You can also use a
zip file, so long as it conforms to the standard layout:
installer.zip\SAP_HANA_STUDIO\hdbinst.exe.

Supports

This cookbooks supports the following windows versions, having been tested on
the following GCP Public Images.

  • Windows Server 2012 R2
  • Windows Server 2012 R2 Core
  • Windows Server 2016
  • Windows Server 2016 Core
  • Windows Server 2019
  • Windows Server 2019 Core
  • Windows Server 2019 for Containers
  • Windows Server 2019 Core for Containers

Attributes

Basic and Required

When using the default recipe, you must provide these values to install
hana studio on your system.

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.

Custom Resources

If you would like greater control over the installation, you can use the following custom
resources in your cookbooks directly

hana_studio

Actions

  • :install
  • :uninstall

Use the actions to manage the presence of HANA Studio at
the specified location. uninstall removes the HANA studio exactly in the
path you specify.

Example

hana_studio "C:\\Root\\Path\\To\\Install\\hana-studio\\" do
  source    "" # location from which the package can be downloaded
  extractor "" # URL to download SAPCAR or nil if source is a zipfile
  features  "comma,seperated,list,of,features"
  action :install
end
hana_studio "C:\\Root\\Path\\To\\Uninstall\\hana-studio\\" do
  action :uninstall
end

hana_studio_remote_package

Actions

  • :extract

Use the actions to extract a remote package.

Example

hana_studio_remote_package 'c:\Path\to\extract\the\package' do
  source 'http://compressed.file/location.ext'
  creates 'file.name.created'
  extractor "" # URL to download SAPCAR or nil if source is a zipfile
  action :extract
end

License and Authors

Authors

License

Copyright 2020, 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

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

hana-studio CHANGELOG

This file is used to list changes made in each version of the hana-studio cookbook.

2.0.2

  • Dan-Joe - Small metadata fixes for compatible chef versions 15+
  • Dan-Joe - Updated with support for current chef versions.

1.0.1

  • Dan-Joe - Fix for issue with slashes in the path when running on chef-server.
  • Dan-Joe - Added issues and source urls in metadata.
  • Dan-Joe - Improvements for remote file resource OS agnosticity.

1.0.0

  • Dan-Joe - Initial public release of SAP's hana-studio cookbook.

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric
            

2.0.2 passed this metric

Contributing File Metric
            

2.0.2 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

Foodcritic Metric
            

2.0.2 failed this metric

FC091: Use property not attribute in custom resources: hana-studio/resources/default.rb:22
FC091: Use property not attribute in custom resources: hana-studio/resources/default.rb:23
FC091: Use property not attribute in custom resources: hana-studio/resources/default.rb:24
FC091: Use property not attribute in custom resources: hana-studio/resources/default.rb:25
FC091: Use property not attribute in custom resources: hana-studio/resources/remote_package.rb:21
FC091: Use property not attribute in custom resources: hana-studio/resources/remote_package.rb:22
FC091: Use property not attribute in custom resources: hana-studio/resources/remote_package.rb:23
FC091: Use property not attribute in custom resources: hana-studio/resources/remote_package.rb:24
FC091: Use property not attribute in custom resources: hana-studio/resources/sap_media.rb:22
FC091: Use property not attribute in custom resources: hana-studio/resources/sap_media.rb:23
FC091: Use property not attribute in custom resources: hana-studio/resources/sap_media.rb:24
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

2.0.2 passed this metric

Testing File Metric
            

2.0.2 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
            

2.0.2 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