-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpillar.example
52 lines (46 loc) · 2.11 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- coding: utf-8 -*-
# vim: ft=yaml sts=2 sw=2 et
# OpenJDK formula Pillar example
# ==============================
openjdk:
version: 8
openjdk8:
# OpenJDK package name to install. By default this is OS specific
# headless JRE 8 package.
pkg: java-1.8.0-openjdk # this is full JDK for CentOS/RedHat
# Additional repository to configure for Debian and derivatives
#repo_name: openjdk-archive # just the repo identifier
# Raw string to add to sources list for ``apt``, like backports
#repo_entry: deb http://archive.debian.org/debian/ jessie-backports main
# PPA (Personal Package Archive) is for Ubuntu
#repo_ppa: openjdk-r/ppa
# Custom configuration options to be added for APT
#apt_config:
# # Ignore expiry date, since backports are no longer updated
# 90ignore-release-date:
# - 'Acquire::Check-Valid-Until "false";'
# Define and set ``JAVA_HOME`` system-wide environment variable
java_home: /usr/lib/jvm/jre-1.8.0-openjdk # for CentOS/RedHat 7
# If set ``True`` (by default) the variable will be added to
# ``/etc/envrionment`` file
set_java_home: True
openjdk11:
# OpenJDK package name to install. By default this is OS specific
# headless JRE 8 package.
pkg: java-11-openjdk-headless # this is full JDK for CentOS/RedHat
# Additional repository to configure for Debian and derivatives
#repo_name: openjdk-archive # just the repo identifier
# Raw string to add to sources list for ``apt``, like backports
#repo_entry: deb http://archive.debian.org/debian/ jessie-backports main
# PPA (Personal Package Archive) is for Ubuntu
#repo_ppa: openjdk-r/ppa
# Custom configuration options to be added for APT
#apt_config:
# # Ignore expiry date, since backports are no longer updated
# 90ignore-release-date:
# - 'Acquire::Check-Valid-Until "false";'
# Define and set ``JAVA_HOME`` system-wide environment variable
java_home: /usr/lib/jvm/jre-11-openjdk # for CentOS/RedHat 7
# If set ``True`` (by default) the variable will be added to
# ``/etc/envrionment`` file
set_java_home: True