Cookbook to automate the installation of looker on-premise as per official documentation provided by looker found here.
Ubuntu 14.04
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 |
NOTE: node['looker']['startup_script_url'] and node['looker']['jar_file_url'] must be set in order for this cookbook to run.
Include looker
in your node's run_list
:
{
"run_list": [
"recipe[looker::default]"
]
}
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
Author:: James Awesome (awesome@shopkeep.com)