--- /dev/null
+The MIT License (MIT)
+
+Copyright (c) 2014,2015 CESNET
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+++ /dev/null
-name 'meta-size_hadoop'
-version '0.1.0'
-source 'mailto://valtri@civ.zcu.cz'
-author 'CESNET'
-license 'Public Domain'
-summary 'Hadoop Site-Specific Stuff'
-description 'Site-specific setup for Hadoop Cluster'
-project_page 'https://github.com/CESNET/'
-
-dependency 'puppetlabs/stdlib'
##Module Description
This module performs settings and decisions not meant to be in generic Hadoop modules:
+
* sets Coudera repository
* installs particular version of Java
* (optionally) custom scripts for accounting
Supported:
* Debian 7/wheezy + Cloudera distribution (tested on Hadoop 2.5.0)
+* Fedora 21
<a name="setup"></a>
##Setup
<a name="what-hadoop-affects"></a>
###What cesnet-hadoop module affects
-* Packages: java, Kerberos, other "admin look & feel" packages (less, vim, ...), optionally cron-apt
+* Packages: Java JRE, Kerberos client, other "admin look & feel" packages (less, vim, ...), optionally cron-apt
* Files modified:
- * /etc/apt/sources.list.d/cloudera.list
- * /etc/apt/preferences.d/10\_cloudera.pref
+ * */etc/apt/sources.list.d/cloudera.list*
+ * */etc/apt/preferences.d/10\_cloudera.pref*
* Cloudera apt gpg key
* (optionally) */etc/cron-apt/config*, */etc/cron-apt/action.d/9-upgrade*, *etc/cron.d/cron-apt*
<a name="usage"></a>
##Usage
-**Example 1**: enable autoupdates
+**Example 1**: enable autoupdates:
class{'site_hadoop':
email => 'valtri@civ.zcu.cz',
Cloudera mirror to use.
Values:
+
* **cloudera**
* **scientific**
# Cloudera mirror to use.
#
# Values:
+#
# * **cloudera**
# * **scientific**
#
{
- "name": "meta-site_hadoop",
- "version": "0.1.0",
- "author": "CESNET",
- "summary": "Hadoop Site-Specific Stuff",
- "license": "Public Domain",
+ "name": "cesnet-site_hadoop",
+ "version": "0.9.0",
+ "author": "František Dvořák <valtri@civ.zcu.cz>",
+ "summary": "Hadoop Site-Specific Module",
+ "license": "MIT",
"source": "mailto://valtri@civ.zcu.cz",
"project_page": "https://github.com/CESNET/",
"issues_url": "mailto://valtri@civ.zcu.cz",
+ "operatingsystem_support": [
+ {
+ "operatingsystem": "Debian",
+ "operatingsystemrelease": ["7"]
+ },
+ {
+ "operatingsystem": "Fedora",
+ "operatingsystemrelease": ["21"]
+ }
+ ],
+ "tags": ["hadoop", "accounting"],
"dependencies": [
+ {
+ "name": "puppetlabs-stdlib",
+ "version_range": ">= 1.0.0"
+ }
]
}