This repository has been archived by the owner on May 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #608 from caskdata/feature/import-cdap-fix
Feature/import cdap fix
- Loading branch information
Showing
34 changed files
with
438 additions
and
65 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...ins/automators/chef_solo_automator/chef_solo_automator/cookbooks/cdap/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "cdap", | ||
"description": "Installs/Configures Cask DAP (CDAP)", | ||
"long_description": "# cdap cookbook\n\n# Requirements\n\n* Oracle Java JDK 6+ (provided by `java` cookbook)\n* Hadoop 2.0+ HDFS, YARN, ZooKeeper, and HBase (provided by `hadoop` cookbook)\n* Node.JS 0.8.16+ (provided by `nodejs` cookbook, tested with `1.3.0` and `2.1.0`)\n\n# Usage\n\n# Attributes\n\n* `['cdap']['conf_dir']` - The directory used inside `/etc/cdap` and used via the alternatives system. Default `conf.chef`\n* `['cdap']['repo']['url']` - Specifies URL for fetching packages\n* `['cdap']['repo']['components']` - Repository components to use for APT repositories\n\n# Recipes\n\n* `config` - Configures all services\n* `default` - Installs `cdap` base package and performs configuration of `cdap-site.xml`\n* `fullstack` - Installs all packages and services on a single node\n* `gateway` - Installs the `cdap-gateway` package and `cdap-gateway` and `cdap-router` services\n* `init` - Sets up HDFS\n* `kafka` - Installs the `cdap-kafka` package and `cdap-kafka-server` service\n* `master` - Installs the `cdap-master` package and service\n* `repo` - Sets up package manager repositories for cdap packages\n* `security` - Installs the `cdap-security` package and `cdap-auth-server` service\n* `web_app` - Installs the `cdap-web-app` package and service\n\n# Author\n\nAuthor:: Cask (<[email protected]>)\n\n# Testing\n\nThis cookbook requires the `vagrant-omnibus` and `vagrant-berkshelf` Vagrant plugins to be installed.\n\n# License\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this software except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless 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.\n", | ||
"description": "Installs/Configures Cask Data Application Platform (CDAP)", | ||
"long_description": "# cdap cookbook\n\n[](https://supermarket.getchef.com/cookbooks/cdap)\n[](http://travis-ci.org/caskdata/cdap_cookbook)\n\n# Requirements\n\n* Oracle Java JDK 6+ (provided by `java` cookbook)\n* Hadoop 2.0+ HDFS, YARN, ZooKeeper, and HBase (provided by `hadoop` cookbook)\n* Node.JS 0.8.16+ (provided by `nodejs` cookbook, tested with `1.3.0` and `2.1.0`)\n\n# Usage\n\n# Attributes\n\n* `['cdap']['conf_dir']` - The directory used inside `/etc/cdap` and used via the alternatives system. Default `conf.chef`\n* `['cdap']['repo']['url']` - Specifies URL for fetching packages\n* `['cdap']['repo']['components']` - Repository components to use for APT repositories\n\n# Recipes\n\n* `config` - Configures all services\n* `default` - Installs `cdap` base package and performs configuration of `cdap-site.xml`\n* `fullstack` - Installs all packages and services on a single node\n* `gateway` - Installs the `cdap-gateway` package and `cdap-gateway` and `cdap-router` services\n* `init` - Sets up HDFS\n* `kafka` - Installs the `cdap-kafka` package and `cdap-kafka-server` service\n* `master` - Installs the `cdap-master` package and service\n* `repo` - Sets up package manager repositories for cdap packages\n* `security` - Installs the `cdap-security` package and `cdap-auth-server` service\n* `web_app` - Installs the `cdap-web-app` package and service\n\n# Author\n\nAuthor:: Cask (<[email protected]>)\n\n# Testing\n\nThis cookbook requires the `vagrant-omnibus` and `vagrant-berkshelf` Vagrant plugins to be installed.\n\n# License\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this software except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless 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.\n", | ||
"maintainer": "Cask", | ||
"maintainer_email": "[email protected]", | ||
"license": "All rights reserved", | ||
|
@@ -24,20 +24,28 @@ | |
"krb5_utils": ">= 0.0.0" | ||
}, | ||
"recommendations": { | ||
|
||
}, | ||
"suggestions": { | ||
|
||
}, | ||
"conflicting": { | ||
|
||
}, | ||
"providing": { | ||
|
||
}, | ||
"replacing": { | ||
|
||
}, | ||
"attributes": { | ||
|
||
}, | ||
"groupings": { | ||
|
||
}, | ||
"recipes": { | ||
|
||
}, | ||
"version": "0.1.6" | ||
} | ||
"version": "0.1.7" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
maintainer 'Cask' | ||
maintainer_email '[email protected]' | ||
license 'All rights reserved' | ||
description 'Installs/Configures Cask DAP (CDAP)' | ||
description 'Installs/Configures Cask Data Application Platform (CDAP)' | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version '0.1.6' | ||
version '0.1.7' | ||
|
||
%w(apt hadoop java nodejs ntp yum yum-epel).each do |cb| | ||
depends cb | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ HashSyntax: | |
Enabled: False | ||
SingleSpaceBeforeFirstArg: | ||
Enabled: false | ||
AsciiComments: | ||
Enabled: false |
3 changes: 3 additions & 0 deletions
3
...orker/plugins/automators/chef_solo_automator/chef_solo_automator/cookbooks/krb5/Berksfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source 'https://api.berkshelf.com' | ||
|
||
metadata |
7 changes: 7 additions & 0 deletions
7
.../automators/chef_solo_automator/chef_solo_automator/cookbooks/krb5/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
.../worker/plugins/automators/chef_solo_automator/chef_solo_automator/cookbooks/krb5/Gemfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
...ker/plugins/automators/chef_solo_automator/chef_solo_automator/cookbooks/krb5/Vagrantfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure('2') do |config| | ||
# All Vagrant configuration is done here. The most common configuration | ||
# options are documented and commented below. For a complete reference, | ||
# please see the online documentation at vagrantup.com. | ||
|
||
# We *need* vagrant-omnibus for these box images | ||
config.omnibus.chef_version = '11.4.0' | ||
|
||
config.vm.hostname = 'krb5-berkshelf.local' | ||
|
||
# Every Vagrant virtual environment requires a box to build off of. | ||
config.vm.box = 'opscode-centos-6.5' | ||
|
||
# The url from where the 'config.vm.box' box will be fetched if it | ||
# doesn't already exist on the user's system. | ||
config.vm.box_url = 'https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.5_provisionerless.box' | ||
|
||
# Assign this VM to a host-only network IP, allowing you to access it | ||
# via the IP. Host-only networks can talk to the host machine as well as | ||
# any other machines on the same network, but cannot be accessed (through this | ||
# network interface) by any external networks. | ||
config.vm.network :private_network, ip: '33.33.33.10' | ||
|
||
# Create a public network, which generally matched to bridged network. | ||
# Bridged networks make the machine appear as another physical device on | ||
# your network. | ||
|
||
# config.vm.network :public_network | ||
|
||
# Create a forwarded port mapping which allows access to a specific port | ||
# within the machine from a port on the host machine. In the example below, | ||
# accessing "localhost:8080" will access port 80 on the guest machine. | ||
|
||
# Share an additional folder to the guest VM. The first argument is | ||
# the path on the host to the actual folder. The second argument is | ||
# the path on the guest to mount the folder. And the optional third | ||
# argument is a set of non-required options. | ||
# config.vm.synced_folder "../data", "/vagrant_data" | ||
|
||
# Provider-specific configuration so you can fine-tune various | ||
# backing providers for Vagrant. These expose provider-specific options. | ||
# Example for VirtualBox: | ||
# | ||
config.vm.provider :virtualbox do |vb| | ||
# # Don't boot with headless mode | ||
# vb.gui = true | ||
# | ||
# Use VBoxManage to customize the VM. For example to change memory: | ||
vb.customize ['modifyvm', :id, '--memory', '1024'] | ||
end | ||
# | ||
# View the documentation for the provider you're using for more | ||
# information on available options. | ||
|
||
# The path to the Berksfile to use with Vagrant Berkshelf | ||
# config.berkshelf.berksfile_path = "./Berksfile" | ||
|
||
# Enabling the Berkshelf plugin. To enable this globally, add this configuration | ||
# option to your ~/.vagrant.d/Vagrantfile file | ||
config.berkshelf.enabled = true | ||
|
||
# An array of symbols representing groups of cookbook described in the Vagrantfile | ||
# to exclusively install and copy to Vagrant's shelf. | ||
# config.berkshelf.only = [] | ||
|
||
# An array of symbols representing groups of cookbook described in the Vagrantfile | ||
# to skip installing and copying to Vagrant's shelf. | ||
# config.berkshelf.except = [] | ||
|
||
config.vm.provision :chef_solo do |chef| | ||
chef.json = { | ||
:mysql => { | ||
:server_root_password => 'rootpass', | ||
:server_debian_password => 'debpass', | ||
:server_repl_password => 'replpass' | ||
}, | ||
:java => { | ||
:install_flavor => 'oracle', | ||
:jdk_version => '6', | ||
:oracle => { | ||
:accept_oracle_download_terms => true | ||
} | ||
}, | ||
:krb5 => { | ||
:default_realm_kdcs => ['localhost'], | ||
:default_realm_admin_server => 'localhost' | ||
} | ||
} | ||
|
||
chef.run_list = [ | ||
'recipe[krb5::default]', | ||
'recipe[krb5::kadmin]' | ||
] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...rker/plugins/automators/chef_solo_automator/chef_solo_automator/cookbooks/krb5/chefignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Put files/directories that should be ignored in this file. | ||
# Lines that start with '# ' are comments. | ||
|
||
# gitignore | ||
\.gitignore | ||
|
||
# emacs | ||
*~ | ||
|
||
# vim | ||
*.sw[a-z] | ||
|
||
# subversion | ||
*/.svn/* | ||
|
||
# travis | ||
\.travis.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
maintainer 'Chris Gianelloni' | ||
maintainer_email '[email protected]' | ||
license 'Apache 2.0' | ||
description 'Installs and configures krb5 authentication' | ||
description 'Installs and configures Kerberos V authentication' | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version '1.0.1' | ||
version '1.0.4' | ||
|
||
%w(redhat centos scientific amazon ubuntu debian suse).each do |os| | ||
supports os | ||
|
Oops, something went wrong.