Skip to content

Commit 0be1036

Browse files
authored
Merge pull request voxpupuli#379 from oranenj/selinux-note
Add note about RHEL 8 and SELinux and clean up a bit
2 parents a8d9ce5 + 3408947 commit 0be1036

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ Puppet.
5151
* Whilst not required, for production use we recommend using nginx/apache as a
5252
reverse proxy to JIRA. We suggest using the puppet/nginx puppet module.
5353

54+
* On RHEL 8 and variants, you may experience SELinux denials if you use a custom
55+
installation directory that is not under `/opt`. To fix this, add an fcontext
56+
equivalence between `/opt` and your desired directory:
57+
`semanage fcontext -a /apps/jira -e /opt`
58+
and run `restorecon`.
59+
5460
### What JIRA affects
5561

5662
If installing to an existing JIRA instance, it is your responsibility to backup
@@ -249,20 +255,18 @@ Reverse proxy can be configured as a hash as part of the JIRA resource
249255
The puppetlabs repositories can be found at:
250256
<http://yum.puppetlabs.com/> and <http://apt.puppetlabs.com/>
251257

252-
* RedHat 7
253-
* CentOS 7
254-
* Scientific 7
255-
* Oracle Linux 7
256-
* Ubuntu 18.04
258+
* RedHat 7, 8 or compatible (CentOS, Oracle Linux, etc)
259+
* Ubuntu 18.04, 20.04
257260

258261
* Jira 8.x
259262

260263
* PostgreSQL
261264
* MySQL
262-
* Oracle 11G with Oracle 11.2.x drivers
263-
* Microsoft SQL Server 2005/2008/2012 with JTDS driver (included in non-WAR version)
264265

265-
We plan to support other Linux distributions and possibly Windows in the near future.
266+
The databases below should work, but are not tested. YMMV.
267+
268+
* Oracle
269+
* Microsoft SQL Server with JTDS driver (included in non-WAR version)
266270

267271
## Development
268272

@@ -282,7 +286,7 @@ bundle install && bundle exec rake spec
282286
to get results.
283287

284288
```
285-
ruby-1.9.3-p484/bin/ruby -S rspec spec/classes/jira_install_spec.rb --color
289+
ruby -S rspec spec/classes/jira_install_spec.rb --color
286290
.
287291
288292
Finished in 0.38159 seconds

0 commit comments

Comments
 (0)