emconvert 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +16 -0
- data/lib/emconvert/converter.rb +5 -5
- data/lib/emconvert/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ef4302c2531d245bd1ea3e4e3c71acec3d603f6
|
4
|
+
data.tar.gz: 53e068b4ff886146a130298a874d8694ab7fb463
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6f25150511318542cb60234bcfa146d6cb13d11d66e58f01a51aa149a1cb172cc1811b18442269d3fcdf8a2241a9b5de0dc136ce9e6e67b759e16513edf4832
|
7
|
+
data.tar.gz: 533ea22a2e0e0f326a65fe8c67b93f040777cfc90a12dbace93ef078b2e25833f3d11a7d8b21765e97d1ce6e9302fe2570b2290a8600b804be22f1ac54ce614a
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -75,3 +75,19 @@ And install the Enterprise Module supported modules:
|
|
75
75
|
- [`enterprisemodules-wls_install`](https://www.enterprisemodules.com/shop/products/puppet-wls_install-module)
|
76
76
|
- [`enterprisemodules-wls_config`](https://www.enterprisemodules.com/shop/products/puppet-wls_config-module)
|
77
77
|
|
78
|
+
## What will **NOT** be converted?
|
79
|
+
|
80
|
+
When you are referencing templates or files inside the Public Domain modules, the `emconvert` utility will not convert that. You will have to change this yourself. You can recognise this kind of error's by this message:
|
81
|
+
|
82
|
+
```
|
83
|
+
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find template 'ora_install/weblogic_silent_install_1213.rsp.erb' at /etc/puppet/modules/my_weblogic/manifests/weblogic.pp:151 on node vagrant.example.com
|
84
|
+
Warning: Not using cache on failed catalog
|
85
|
+
Error: Could not retrieve catalog; skipping run
|
86
|
+
```
|
87
|
+
|
88
|
+
When you are using an old version of the Public Domain modules, the API (e.g. the parameters and properties) might be changed. The `emconvert` utility will not change the parameter and property names. You will have to look at the new API description and change the parameters and properties. Most of the times it is the change of camel case to snake case. You can recognise this kind of errors by this kind of message:
|
89
|
+
|
90
|
+
```
|
91
|
+
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter wlHome on Wls_install::Support::Nodemanagerautostart[initd_nodemanager_bam_domain] at /etc/puppet/modules/my_wls2/manifests/bam/domain.pp:170 on node vagrant.example.com
|
92
|
+
```
|
93
|
+
|
data/lib/emconvert/converter.rb
CHANGED
@@ -29,29 +29,29 @@ class Converter
|
|
29
29
|
change from:'oradb::rcu', to:'ora_install::rcu'
|
30
30
|
change from:'oradb::tnsnames', to:'ora_install::tnsnames'
|
31
31
|
change from:'oradb::utils::dborainst', to:'ora_install::utils::dborainst'
|
32
|
-
change from:'
|
32
|
+
change from:'orawls::resourceadapter', to:'wls_config::resourceadapter'
|
33
33
|
change from:'orawls::bsu', to:'wls_install::bsu'
|
34
34
|
change from:'orawls::control', to:'wls_install::control'
|
35
35
|
change from:'orawls::copydomain', to:'wls_install::copydomain'
|
36
|
-
change from:'orawls::domain
|
36
|
+
change from:'orawls::domain', to:'wls_install::domain'
|
37
37
|
change from:'orawls::fmw', to:'wls_install::fmw'
|
38
38
|
change from:'orawls::fmwlogdir', to:'wls_install::fmwlogdir'
|
39
|
-
change from:'orawls::nodemanager
|
39
|
+
change from:'orawls::nodemanager', to:'wls_install::nodemanager'
|
40
40
|
change from:'orawls::opatch', to:'wls_install::opatch'
|
41
41
|
change from:'orawls::packdomain', to:'wls_install::packdomain'
|
42
42
|
change from:'orawls::weblogic', to:'wls_install::software'
|
43
43
|
change from:'orawls::storeuserconfig', to:'wls_install::storeuserconfig'
|
44
44
|
change from:'orawls::urandomfix', to:'wls_install::urandomfix'
|
45
45
|
change from:'orawls::utils::fmwcluster', to:'wls_install::utils::fmwcluster'
|
46
|
-
change from:'orawls::utils::fmwclusterjrf', to:'wls_install::utils::fmwclusterjrf
|
46
|
+
change from:'orawls::utils::fmwclusterjrf', to:'wls_install::utils::fmwclusterjrf'
|
47
47
|
change from:'orawls::utils::forms11gpatch', to:'wls_install::utils::forms11gpatch'
|
48
48
|
change from:'orawls::utils::oimconfig', to:'wls_install::utils::oimconfig'
|
49
49
|
change from:'orawls::utils::orainst', to:'wls_install::utils::orainst'
|
50
50
|
change from:'orawls::utils::rcu', to:'wls_install::utils::rcu'
|
51
51
|
change from:'orawls::utils::webtier', to:'wls_install::utils::webtier'
|
52
|
-
change from:'orautils', to:'wls_install::support::files'
|
53
52
|
change from:'orautils::nodemanagerautostart',to:'wls_install::support::nodemanagerautostart'
|
54
53
|
change from:'orautils::params', to:'wls_install::support::params'
|
54
|
+
change from:'orautils', to:'wls_install::support::files'
|
55
55
|
@content
|
56
56
|
end
|
57
57
|
|
data/lib/emconvert/version.rb
CHANGED