• R/O
  • HTTP
  • SSH
  • HTTPS

grid-chef-repo: Commit

Grid環境構築用のChefリポジトリです。


Commit MetaInfo

Revisión4468962aa782c00415ffa699341c0dce4b0b91fa (tree)
Tiempo2016-01-23 15:10:57
Autorwhitestar <whitestar@gaea...>
Commiterwhitestar

Log Message

update documents of hdp cookbook.

Cambiar Resumen

Diferencia incremental

--- a/cookbooks/hdp/CHANGELOG.md
+++ b/cookbooks/hdp/CHANGELOG.md
@@ -1,12 +1,5 @@
11 # CHANGELOG for hdp
22
3-This file is used to list changes made in each version of hdp.
4-
5-## 0.1.0:
6-
7-* Initial release of hdp
8-
9-- - -
10-Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
11-
12-The [Github Flavored Markdown page](http://github.github.com/github-flavored-markdown/) describes the differences between markdown on github and standard markdown.
3+0.1.0
4+-----
5+- Initial release of hdp
--- a/cookbooks/hdp/README.md
+++ b/cookbooks/hdp/README.md
@@ -1,68 +1,65 @@
11 hdp Cookbook
22 ============
3-TODO: Enter the cookbook description here.
43
5-e.g.
6-This cookbook makes your favorite breakfast sandwhich.
4+This cookbook provides YUM utility recipes for HDP distribution.
75
86 Requirements
97 ------------
10-TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.
118
12-e.g.
9+#### cookbooks
10+- yum_utils
11+
1312 #### packages
14-- `toaster` - hdp needs toaster to brown your bagel.
13+none.
1514
1615 Attributes
1716 ----------
18-TODO: List you cookbook attributes here.
1917
20-e.g.
2118 #### hdp::default
22-<table>
23- <tr>
24- <th>Key</th>
25- <th>Type</th>
26- <th>Description</th>
27- <th>Default</th>
28- </tr>
29- <tr>
30- <td><tt>['hdp']['bacon']</tt></td>
31- <td>Boolean</td>
32- <td>whether to include bacon</td>
33- <td><tt>true</tt></td>
34- </tr>
35-</table>
19+|Key|Type|Description (with examples)|Default|
20+|:--|:--|:--|:--|
21+|`['hdp']['version']`|String||`'1.3.1'`|
22+|`['hdp']['archive_url']`|String||`'http://public-repo-1.hortonworks.com'`|
23+|`['hdp']['yum_repo']['update']`|String||`false`|
24+|`['hdp']['yum_repo']['only_for_mirroring']`|String||`false`|
25+|`['hdp']['yum_repo']['mirroring']['platform']`|String|`'centos'`, `'rhel'`, `'suse'`|`'centos'`|
26+|`['hdp']['yum_repo']['mirroring']['platform_version']`|String||`'6'`|
27+|`['hdp']['yum_repo']['mirroring']['arch']`|String|`'x86_64'` (`'i386'` in the future)|`'x86_64'`|
28+|`['hdp']['yum_mirror']['user']`|String|mirroring user|`'yum-mirror'`|
29+|`['hdp']['yum_mirror']['cron_period']`|String|cron period expression|`'#0 3 * * *'` (inactive)|
30+|`['hdp']['yum_mirror']['base_path']`|String|base directory path|`'/var/spool/hdp-mirror'`|
31+|`['hdp']['yum_mirror']['yum_conf']`|String|YUM configuration file path|Debian: `'/etc/yum/yum.conf'`, RHEL: `'/etc/yum.conf'`|
32+|`['hdp']['yum_mirror']['repos_dir']`|String|repository configuration directory path|Debian: `'/etc/yum/repos.d'`, RHEL: `'/etc/yum.repos.d'`|
33+|`['hdp']['yum_mirror']['repo_ids']`|Array|mirroring repository ids|`[]` (empty)|
34+|`['hdp']['yum_mirror']['url_alias_with_authority_part']`|Boolean|use url alias with authority part|`true`|
3635
3736 Usage
3837 -----
3938 #### hdp::default
40-TODO: Write usage instructions for each cookbook.
41-
42-e.g.
43-Just include `hdp` in your node's `run_list`:
39+- do nothing.
4440
45-```json
46-{
47- "name":"my_node",
48- "run_list": [
49- "recipe[hdp]"
50- ]
51-}
52-```
53-
54-Contributing
55-------------
56-TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
41+#### hdp::yum_mirror
42+- set up mirroring configurations for HDP repository.
5743
58-e.g.
59-1. Fork the repository on Github
60-2. Create a named feature branch (like `add_component_x`)
61-3. Write you change
62-4. Write tests for your change (if applicable)
63-5. Run the tests, ensuring they all pass
64-6. Submit a Pull Request using Github
44+#### hdp::yum_repo
45+- set up YUM repository configurations of HDP.
6546
6647 License and Authors
6748 -------------------
68-Authors: TODO: List authors
49+- Author:: whitestar at osdn.jp
50+
51+```text
52+Copyright 2013-2016, whitestar
53+
54+Licensed under the Apache License, Version 2.0 (the "License");
55+you may not use this file except in compliance with the License.
56+You may obtain a copy of the License at
57+
58+ http://www.apache.org/licenses/LICENSE-2.0
59+
60+Unless required by applicable law or agreed to in writing, software
61+distributed under the License is distributed on an "AS IS" BASIS,
62+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
63+See the License for the specific language governing permissions and
64+limitations under the License.
65+```
Show on old repository browser