Skip to content
This repository was archived by the owner on Feb 28, 2020. It is now read-only.

Commit 61359ac

Browse files
author
Frankie Cassarino
committed
Merge branch 'master' into added-mft-to-rcu-component-array
2 parents 4dd2d46 + e393f69 commit 61359ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+440
-118
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## chef-samples v0.1.3 (6 Dec 2016)
4+
5+
- support for WebLogic/FMW 12.2.1.2
6+
- state_attr fixes in some resources
7+
- fmw_inst fix in version
8+
39
## chef-samples v0.1.2 (12 Jul 2016)
410

511
- Support for WebLogic/FMW 12.2.1.1

fmw_bsu/metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
license 'MIT'
55
description 'Patch Oracle WebLogic 10.3.6 or 12.1.1'
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version '0.1.2'
7+
version '0.1.3'
88

99
recipe "fmw_bsu",
1010
"This is an empty recipe and does not do anything"

fmw_domain/.kitchen.yml

Lines changed: 48 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
driver:
33
name: vagrant
4+
provider: vmware_fusion
45

56
provisioner:
67
name: chef_solo
@@ -12,7 +13,7 @@ platforms:
1213
memory: 2048
1314
cpus: 1
1415
synced_folders:
15-
- ["C:/software", "/software"]
16+
- ["/Users/edwinbiemond/software", "/software"]
1617
network:
1718
- ["private_network", {ip: "10.10.10.135"}]
1819
- name: oel-7.0
@@ -22,7 +23,7 @@ platforms:
2223
memory: 2048
2324
cpus: 1
2425
synced_folders:
25-
- ["C:/software", "/software"]
26+
- ["/Users/edwinbiemond/software", "/software"]
2627
network:
2728
- ["private_network", {ip: "10.10.10.135"}]
2829
- name: oel-6.6
@@ -32,7 +33,7 @@ platforms:
3233
memory: 2048
3334
cpus: 1
3435
synced_folders:
35-
- ["C:/software", "/software"]
36+
- ["/Users/edwinbiemond/software", "/software"]
3637
network:
3738
- ["private_network", {ip: "10.10.10.135"}]
3839
- name: oel-5.8
@@ -42,7 +43,7 @@ platforms:
4243
memory: 2048
4344
cpus: 1
4445
synced_folders:
45-
- ["C:/software", "/software"]
46+
- ["/Users/edwinbiemond/software", "/software"]
4647
network:
4748
- ["private_network", {ip: "10.10.10.135"}]
4849
- name: windows-2012r2
@@ -54,7 +55,7 @@ platforms:
5455
memory: 3072
5556
cpus: 2
5657
synced_folders:
57-
- ["C:/software", "/software"]
58+
- ["/Users/edwinbiemond/software", "/software"]
5859
network:
5960
- ["private_network", {ip: "10.10.10.135"}]
6061
- name: windows-8.1
@@ -66,7 +67,7 @@ platforms:
6667
memory: 3072
6768
cpus: 2
6869
synced_folders:
69-
- ["C:/software", "/software"]
70+
- ["/Users/edwinbiemond/software", "/software"]
7071
network:
7172
- ["private_network", {ip: "10.10.10.135"}]
7273
- name: solaris-10
@@ -76,7 +77,7 @@ platforms:
7677
memory: 2048
7778
cpus: 1
7879
synced_folders:
79-
- ["C:/software", "/software"]
80+
- ["/Users/edwinbiemond/software", "/software"]
8081
network:
8182
- ["private_network", {ip: "10.10.10.135"}]
8283
- name: solaris-11.2
@@ -86,7 +87,7 @@ platforms:
8687
memory: 2048
8788
cpus: 1
8889
synced_folders:
89-
- ["C:/software", "/software"]
90+
- ["/Users/edwinbiemond/software", "/software"]
9091
network:
9192
- ["private_network", {ip: "10.10.10.135"}]
9293

@@ -103,14 +104,14 @@ suites:
103104
- recipe[fmw_domain::adminserver]
104105
attributes:
105106
fmw:
106-
java_home_dir: "/usr/java/jdk1.8.0_40"
107+
java_home_dir: "/usr/java/jdk1.8.0_111"
107108
middleware_home_dir: "/opt/oracle/middleware_1221"
108109
weblogic_home_dir: "/opt/oracle/middleware_1221/wlserver"
109-
version: "12.2.1.1"
110+
version: "12.2.1.2"
110111
fmw_jdk:
111-
source_file: "/software/jdk-8u40-linux-x64.tar.gz"
112+
source_file: "/software/jdk-8u111-linux-x64.tar.gz"
112113
fmw_wls:
113-
source_file: "/software/fmw_12.2.1.1.0_wls.jar"
114+
source_file: "/software/fmw_12.2.1.2.0_wls.jar"
114115
fmw_domain:
115116
databag_key: "DEV_WLS1"
116117
domains_dir: "/opt/oracle/middleware_1221/user_projects/domains"
@@ -120,6 +121,41 @@ suites:
120121
- windows-8.1
121122
- solaris-11.2
122123
- solaris-10
124+
125+
- name: wls1221_jrf
126+
data_bags_path: "test/integration/data_bags"
127+
run_list:
128+
- recipe[fmw_jdk::install]
129+
- recipe[fmw_jdk::rng_service]
130+
- recipe[fmw_wls::setup]
131+
- recipe[fmw_wls::install]
132+
- recipe[fmw_domain::domain]
133+
- recipe[fmw_domain::extension_jrf]
134+
- recipe[fmw_domain::nodemanager]
135+
- recipe[fmw_domain::adminserver]
136+
attributes:
137+
fmw:
138+
java_home_dir: "/usr/java/jdk1.8.0_111"
139+
middleware_home_dir: "/opt/oracle/middleware_1221"
140+
weblogic_home_dir: "/opt/oracle/middleware_1221/wlserver"
141+
version: "12.2.1.2"
142+
fmw_jdk:
143+
source_file: "/software/jdk-8u111-linux-x64.tar.gz"
144+
fmw_wls:
145+
source_file: "/software/fmw_12.2.1.2.0_infrastructure.jar"
146+
install_type: "infra"
147+
fmw_domain:
148+
databag_key: "DEV_WLS1"
149+
restricted: true
150+
domains_dir: "/opt/oracle/middleware_1221/user_projects/domains"
151+
apps_dir: "/opt/oracle/middleware_1221/user_projects/applications"
152+
nodemanager_listen_address: "10.10.10.135"
153+
excludes:
154+
- windows-2012r2
155+
- windows-8.1
156+
- solaris-11.2
157+
- solaris-10
158+
123159
- name: wls1213
124160
data_bags_path: "test/integration/data_bags"
125161
run_list:

fmw_domain/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The fmw_domain cookbook allows you to create a WebLogic (FMW) Domain with FMW ex
2828

2929
## Cookbook description
3030

31-
This cookbook allows you to create a WebLogic (FMW) Domain (10.3.6, 12.1.1) or 12c (12.1.2, 12.1.3, 12.2.1, 12.2.1.1 ) on any Windows, Linux or Solaris host or VM.
31+
This cookbook allows you to create a WebLogic (FMW) Domain (10.3.6, 12.1.1) or 12c (12.1.2, 12.1.3, 12.2.1, 12.2.1.1, 12.2.1.2 ) on any Windows, Linux or Solaris host or VM.
3232

3333
## Setup
3434

fmw_domain/libraries/helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def self.listening?(command, port, column)
1818
end
1919

2020
def self.wlst_execute(version, os_user, script_file, weblogic_home_dir, weblogic_password, repository_password)
21-
if version == '12.2.1' or version == '12.2.1.1'
21+
if version == '12.2.1' or version == '12.2.1.1' or version == '12.2.1.2'
2222
wlst_script_dir = "#{weblogic_home_dir}/../oracle_common/common/bin"
2323
else
2424
wlst_script_dir = "#{weblogic_home_dir}/common/bin"
@@ -30,7 +30,7 @@ def self.wlst_execute(version, os_user, script_file, weblogic_home_dir, weblogic
3030
end
3131

3232
def self.wlst_execute_windows(version, script_file, weblogic_home_dir, weblogic_password, repository_password)
33-
if version == '12.2.1' or version == '12.2.1.1'
33+
if version == '12.2.1' or version == '12.2.1.1' or version == '12.2.1.2'
3434
wlst_script_dir = "#{weblogic_home_dir}\\..\\oracle_common\\common\\bin"
3535
else
3636
wlst_script_dir = "#{weblogic_home_dir}\\common\\bin"

fmw_domain/metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
license 'MIT'
55
description 'Create a WebLogic (FMW) Domain with FMW extensions on a Windows, Linux or Solaris host'
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version '0.1.2'
7+
version '0.1.3'
88

99
recipe "fmw_domain",
1010
"This is an empty recipe and does not do anything"

fmw_domain/recipes/domain.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
fail 'did not find the data_bag_item' if domain_params.length == 0
4343

44-
if ['12.2.1', '12.2.1.1', '12.1.3', '12.1.2'].include?(node['fmw']['version'])
44+
if ['12.2.1', '12.2.1.1', '12.2.1.2', '12.1.3', '12.1.2'].include?(node['fmw']['version'])
4545
wls_base_template = "#{node['fmw']['weblogic_home_dir']}/common/templates/wls/wls.jar"
4646
elsif ['10.3.6', '12.1.1'].include?(node['fmw']['version'])
4747
wls_base_template = "#{node['fmw']['weblogic_home_dir']}/common/templates/domains/wls.jar"

fmw_domain/recipes/extension_bam.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
bpm_enabled = true if node['fmw_domain']['soa_suite_install_type'] == 'BPM'
5353
end
5454

55-
if ['12.2.1', '12.2.1.1', '12.1.3', '12.1.2'].include?(node['fmw']['version'])
55+
if ['12.2.1', '12.2.1.1', '12.2.1.2', '12.1.3', '12.1.2'].include?(node['fmw']['version'])
5656
if node['fmw']['version'] == '12.1.2'
5757
return
5858
elsif node['fmw']['version'] == '12.1.3'

fmw_domain/recipes/extension_enterprise_scheduler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
bam_cluster = ''
4545
end
4646

47-
if ['12.2.1', '12.2.1.1', '12.1.3', '12.1.2'].include?(node['fmw']['version'])
47+
if ['12.2.1', '12.2.1.1', '12.2.1.2', '12.1.3', '12.1.2'].include?(node['fmw']['version'])
4848
if node['fmw']['version'] == '12.1.2'
4949
return
5050
elsif node['fmw']['version'] == '12.1.3'

fmw_domain/recipes/extension_jrf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
restricted = false
2323

24-
if ['12.2.1', '12.2.1.1', '12.1.3', '12.1.2'].include?(node['fmw']['version'])
24+
if ['12.2.1', '12.2.1.1', '12.2.1.2', '12.1.3', '12.1.2'].include?(node['fmw']['version'])
2525
if node['fmw']['version'] == '12.1.2'
2626
wls_em_template = "#{node['fmw']['middleware_home_dir']}/em/common/templates/wls/oracle.em_wls_template_12.1.2.jar"
2727
wls_jrf_template = "#{node['fmw']['middleware_home_dir']}/oracle_common/common/templates/wls/oracle.jrf_template_12.1.2.jar"

0 commit comments

Comments
 (0)