cookbook 'yum-jpackage', '= 0.1.0'
yum-jpackage (2) Versions 0.1.0 Follow0
Installs/Configures yum-jpackage
cookbook 'yum-jpackage', '= 0.1.0', :supermarket
knife supermarket install yum-jpackage
knife supermarket download yum-jpackage
Yum JPackage Cookbook
This cookbook jpackage repo Enterprise Linux.
JPackage Repo
"The JPackage Project has two primary goals:
To provide a coherent set of Java software packages for Linux, satisfying all quality requirements of other applications.
To establish an efficient and robust policy for Java software packaging and installation.
We focus on free and open source software whenever possible. For convenience, we also provide non-free packages without the restricted source code. "
Requirements
Cookbooks:
The following platforms and versions are tested and supported using Opscode's test-kitchen.
- CentOS 6.x
- Red Hat 6.x
The following platform families are supported in the code, and are assumed to work based on the successful testing on CentOS.
- Amazon Linux
jpackage:default
Basic Config
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>node[:yum][:jpackage][:managed]</tt></td>
<td>Boolean</td>
<td>Instal Repo</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>node[:yum][:jpackage][:enabled]</tt></td>
<td>Boolean</td>
<td>Enable/Disable Repo</td>
<td><tt>true</tt></td>
</tr>
<tr>
<td><tt>node[:yum][:jpackage][:gpgcheck]</tt></td>
<td>Boolean</td>
<td>check GPG Cert</td>
<td><tt>false</tt></td>
</tr>
</table>
Usage
yum-jpackage::default
Just include yum-jpackage
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[yum-jpackage]" ] }
Example local copy if repocitory
"default_attributes": { "yum": { "jpackage": { "repositoryid": "jpackage", "description": "JPackage 6 generic", "baseurl": "http://localip/repo/jpackage", "gpgcheck": false, "managed": true, "enabled": true } } }
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors:
Lucas Mariani (Psyreactor)
- marianiluca@gmail.com
- https://github.com/psyreactor
- http://blog.psyreactor.com.ar
Dependent cookbooks
yum >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of yum-jpackage
- Enhancements
- Add repo jpackage for RHEL familys
Foodcritic Metric
0.1.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:13
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:15
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:17
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:19
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:31
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:32
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:33
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:34
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:35
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:36
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:37
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:38
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:40
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:41
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:42
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:43
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:44
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:45
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:46
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:48
0.1.0 failed this metric
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:13
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:15
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:17
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/attributes/default.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:19
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:31
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:32
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:33
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:34
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:35
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:36
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:37
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:38
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:40
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:41
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:42
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:43
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:44
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:45
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:46
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/99e2ed197ccdaae67a83ba8a/yum-jpackage/recipes/default.rb:48