|
| 1 | +# jetbrains_license_server-cookbook |
| 2 | + |
| 3 | +Installs the JetBrains License Server |
| 4 | + |
| 5 | +## Supported Platforms |
| 6 | + |
| 7 | + - Linux |
| 8 | + |
| 9 | +## Attributes |
| 10 | + |
| 11 | +### default |
| 12 | +<table> |
| 13 | + <tr> |
| 14 | + <th>Key</th> |
| 15 | + <th>Type</th> |
| 16 | + <th>Description</th> |
| 17 | + <th>Default</th> |
| 18 | + </tr> |
| 19 | + <tr> |
| 20 | + <td><tt>['jetbrains_license_server']['version']</tt></td> |
| 21 | + <td>Integer</td> |
| 22 | + <td>Version of the License Server to download and install</td> |
| 23 | + <td><tt>374</tt></td> |
| 24 | + </tr> |
| 25 | + <tr> |
| 26 | + <td><tt>['jetbrains_license_server']['download']['uri']</tt></td> |
| 27 | + <td>String</td> |
| 28 | + <td>Base URI for the License Server zip file</td> |
| 29 | + <td><tt>'http://download-cf.jetbrains.com/lcsrv/'</tt></td> |
| 30 | + </tr> |
| 31 | + <tr> |
| 32 | + <td><tt>['jetbrains_license_server']['download']['file_prefix']</tt></td> |
| 33 | + <td>String</td> |
| 34 | + <td>The first part of the filename preceeding the version.</td> |
| 35 | + <td><tt>'licenseServer-war'</tt></td> |
| 36 | + </tr> |
| 37 | + <tr> |
| 38 | + <td><tt>['jetbrains_license_server']['download']['file_suffix']</tt></td> |
| 39 | + <td>String</td> |
| 40 | + <td>The filename extension.</td> |
| 41 | + <td><tt>'zip'</tt></td> |
| 42 | + </tr> |
| 43 | + <tr> |
| 44 | + <td><tt>['jetbrains_license_server']['checksum']</tt></td> |
| 45 | + <td>String</td> |
| 46 | + <td>SHA-256 Checksum of the LicenseServer to download</td> |
| 47 | + <td><tt>'a3935a2fdd644d780b30f05855c9d1b0b0582be1ad92919df40a0c3fd7ff33a1'</tt></td> |
| 48 | + </tr> |
| 49 | + <tr> |
| 50 | + <td><tt>['jetbrains_license_server']['modelContext_path']</tt></td> |
| 51 | + <td>String</td> |
| 52 | + <td>Path to the modelContext.xml file exploded from the war file.</td> |
| 53 | + <td><tt>'licenseServer/WEB-INF/classes/META-INF/modelContext.xml'</tt></td> |
| 54 | + </tr> |
| 55 | + <tr> |
| 56 | + <td><tt>['jetbrains_license_server']['derby_dir']</tt></td> |
| 57 | + <td>String</td> |
| 58 | + <td>Subdirectory name where the database lives</td> |
| 59 | + <td><tt>'derby'</tt></td> |
| 60 | + </tr> |
| 61 | +</table> |
| 62 | + |
| 63 | +### java |
| 64 | +<table> |
| 65 | + <tr> |
| 66 | + <th>Key</th> |
| 67 | + <th>Type</th> |
| 68 | + <th>Description</th> |
| 69 | + <th>Default</th> |
| 70 | + </tr> |
| 71 | + <tr> |
| 72 | + <td><tt>['java']['version']</tt></td> |
| 73 | + <td>String</td> |
| 74 | + <td>Version of java to install</td> |
| 75 | + <td><tt>'7'</tt></td> |
| 76 | + </tr> |
| 77 | +</table> |
| 78 | + |
| 79 | +### tomcat |
| 80 | +<table> |
| 81 | + <tr> |
| 82 | + <th>Key</th> |
| 83 | + <th>Type</th> |
| 84 | + <th>Description</th> |
| 85 | + <th>Default</th> |
| 86 | + </tr> |
| 87 | + <tr> |
| 88 | + <td><tt>['tomcat']['base_version']</tt></td> |
| 89 | + <td>Integer</td> |
| 90 | + <td>Version of tomcat to install</td> |
| 91 | + <td><tt>7</tt></td> |
| 92 | + </tr> |
| 93 | +</table> |
| 94 | + |
| 95 | +## Usage |
| 96 | + |
| 97 | +### jetbrains_license_server::default |
| 98 | + |
| 99 | +Include `jetbrains_license_server` in your node's `run_list`: |
| 100 | + |
| 101 | +```json |
| 102 | +{ |
| 103 | + "run_list": [ |
| 104 | + "recipe[jetbrains_license_server::default]" |
| 105 | + ] |
| 106 | +} |
| 107 | +``` |
| 108 | + |
| 109 | +## Contributing |
| 110 | + |
| 111 | +1. Fork the repository on Github |
| 112 | +2. Create a named feature branch (i.e. `add-new-recipe`) |
| 113 | +3. Write your change |
| 114 | +4. Write tests for your change (if applicable) |
| 115 | +5. Run the tests, ensuring they all pass |
| 116 | +6. Submit a Pull Request |
| 117 | + |
| 118 | +## License and Authors |
| 119 | + |
| 120 | +Author:: Ryan Hass ( <[email protected]>) |
0 commit comments