Skip to content

Latest commit

 

History

History
89 lines (72 loc) · 2.23 KB

README.md

File metadata and controls

89 lines (72 loc) · 2.23 KB

looker-cookbook

Cookbook to automate the installation of looker on-premise as per official documentation provided by looker found here.

Supported Platforms

Ubuntu 14.04

Attributes

Key Type Description Default
['looker']['home'] String The looker user's home directory '/home/looker'
['looker']['startup_script_url'] String http(s) url to download looker's startup script from. This attribute is required. ''
['looker']['jar_file_url'] String http(s) url to download looker's jar file from. This attribute is required. ''
['looker']['LOOKERARGS'] String LOOKERARGS in ['looker']['home']/looker/lookerstart.cfg ''
['looker']['JAVAARGS'] String JAVAARGS in ['looker']['home']/looker/lookerstart.cfg ''
['looker']['install_java'] Boolean Installs oracle java 7. By setting this to true you accept oracle download terms. See cookbook/java for details. true

Usage

NOTE: node['looker']['startup_script_url'] and node['looker']['jar_file_url'] must be set in order for this cookbook to run.

looker::default

Include looker in your node's run_list:

{
  "run_list": [
    "recipe[looker::default]"
  ]
}

Testing

NOTE: Ensure to override node['looker']['startup_script_url'] and node['looker']['jar_file_url'] via environment or via .kitchen.local.yml. If you are unsure of the URL's to use please speak to your looker account rep.

bundle install

# Rubocop, Foodcritic, Chefspec
bundle exec rake

# Test Kitchen
bundle exec kitchen test

License and Authors

Author:: James Awesome (awesome@shopkeep.com)