emconvert 1.0.2 → 1.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9c9783eb9cf0d13afca5ce13415bec6d4ac0109
4
- data.tar.gz: f467e3ca655d9333865ce7e85fa440d3ac093f48
3
+ metadata.gz: 3a37c2d36e5768091f1f871a8cce652db3d21974
4
+ data.tar.gz: 3aa58791d4ea3e02e25b58b4ddb5cf68ba314261
5
5
  SHA512:
6
- metadata.gz: e8a90dd3d6928ae479d41849ed7d3189d6cd0424ca724f54f72d4632759c9a7df71581a17c422096d406aed254deb64eaf87240358e0d1509c1e44f214071643
7
- data.tar.gz: 93b84e142164b3b820aafbd20194f1d7d4b5e6cb0c5614f175db2a480f16a8d22755b30043b36a6a6408dcbd4944b7ea0b7e2df6802f04a08a64265b0649615a
6
+ metadata.gz: 61063ef67dd5cb50bacda9a44e4ac82046465e199a3e28b1e3ffc4b5e328cf16e5fda071a2e9bce925a7fc5b507951bddde3221c082dfd8a52050651a83ec22c
7
+ data.tar.gz: 08ed114e1ba31a88a9712db911b4381a8fbceaac4ee329f9e155991dcd0db8f29d7a4fd119eab91a106ef2e47e997b51a7855314fac3bd847dd9cc1bb23382b6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- emconvert (1.0.2)
4
+ emconvert (1.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,27 +1,26 @@
1
1
  Module converter
2
2
  =================
3
3
 
4
- [Enterprise Modules](https://www.enterprisemodules.com) provides a set of high-quality modules to manage Oracle databases and Oracle WebLogic installations. These modules originated from the original Open Source modules, but where changed to:
4
+ [Enterprise Modules](https://www.enterprisemodules.com) provides a set of high-quality modules to manage Oracle databases and Oracle WebLogic installations. These modules originated from the original Public Domain modules, but where changed to:
5
5
  - Add better documentation
6
6
  - Add better error checking
7
7
  - Add more enterprise options
8
8
 
9
9
  ## Why a name change
10
10
 
11
- Puppet doesn't support namespaces. So for puppet to differentiate between the unsupported Open Source modules and the supported modules from [Enterprise Modules], we needed different names.
11
+ Puppet doesn't support namespaces. So for Puppet to differentiate between the unsupported Public Domain modules and the supported modules from [Enterprise Modules](https://www.enterprisemodules.com), we needed different names.
12
12
 
13
13
  ## Automatically change names
14
14
 
15
- This utility automatically converts your Puppet class from using the Open Source Oracle and WebLogic modules into using the supported modules from Enterprise Modules.
15
+ The utility in this repository, automatically converts your Puppet class from using the Open Source Oracle and WebLogic modules into using the supported modules from Enterprise Modules.
16
16
 
17
17
  ## Installation
18
18
 
19
19
  This utility is distributed as a Ruby Gem. So to install it, you'll need a running ruby environment. To install this gem, enter:
20
20
 
21
21
  ```sh
22
- $ gem install emconvert
23
- Successfully installed emconvert-1.0.0
24
- 1 gem installed
22
+ $ gem install emconnvert
23
+ emconvert (1.0.0) installed.
25
24
  ````
26
25
 
27
26
  ## Usage
@@ -33,8 +32,11 @@ $ emconvert [-v] [-b] wildcard_file
33
32
  ```
34
33
 
35
34
  Where the options are:
36
- -v --verbose Show a log of all files being processed and changed
37
- -b --backup Make a backup of a file, when it is changed
35
+
36
+ * `-v` or `-verbose` Show a log of all files being processed and changed
37
+ * `-b` or `--backup` Make a backup of a file, when it is changed
38
+
39
+ Default the converter makes a backup, but doesn't log its activity.
38
40
 
39
41
  ## Examples
40
42
 
@@ -44,4 +46,32 @@ Here is an example:
44
46
  $ emconvert -v -b my_module/**/*.pp
45
47
  ```
46
48
 
47
- This command will check all files with extension `.pp` and change all calls and references to the Oracle and Weblogic modules to calls and references to the puppet modules provided by Enterprise Modules.
49
+ This command will check all files with extension `.pp` and change all calls and references to the Oracle and Weblogic modules to calls and references to the puppet modules provided by Enterprise Modules.
50
+
51
+ ## What to convert
52
+
53
+ Normaly there are several places where the full names are used. In your puppet files - the files with extension `.pp` - of course. And in your `hiera` files. Normaly your `hiera` files have an extension `.yaml`. So you'll have to run the `emconvert` over both the set of files. An example:
54
+
55
+ ```
56
+ $ emconvert -v -b all_my_puppet_code/**/*.pp # Convert all the puppet files
57
+ $ emconvert -v -b all_my_hiera_data/**/*.yaml # Convert all the hiera data
58
+ ```
59
+
60
+ ## After conversion
61
+
62
+ After you have converted your modules, you can remove the obsolete Public Domain modules. The are:
63
+
64
+ - `hajee-easy_type`
65
+ - `biemond-oradb`
66
+ - `hajee-oracle`
67
+ - `biemond-orawls`
68
+ - `biemond-orautils`
69
+
70
+ And install the Enterprise Module supported modules:
71
+
72
+ - `enterprisemodules-easy_type`
73
+ - [`enterprisemodules-ora_install`](https://www.enterprisemodules.com/shop/products/puppet-ora_install-module)
74
+ - [`enterprisemodules-ora_config`](https://www.enterprisemodules.com/shop/products/puppet-ora_config-module)
75
+ - [`enterprisemodules-wls_install`](https://www.enterprisemodules.com/shop/products/puppet-wls_install-module)
76
+ - [`enterprisemodules-wls_config`](https://www.enterprisemodules.com/shop/products/puppet-wls_config-module)
77
+
@@ -49,9 +49,9 @@ class Converter
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:'wls_install::support::files', to:'wls_install::support::files'
53
- change from:'wls_install::support::nodemanagerautostart',to:'wls_install::support::nodemanagerautostart'
54
- change from:'wls_install::support::params', to:'wls_install::support::params'
52
+ change from:'orautils::support::files', to:'wls_install::support::files'
53
+ change from:'orautils::support::nodemanagerautostart',to:'wls_install::support::nodemanagerautostart'
54
+ change from:'orautils::support::params', to:'wls_install::support::params'
55
55
  @content
56
56
  end
57
57
 
@@ -1,3 +1,3 @@
1
1
  module Emconvert
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emconvert
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bert Hajee