miq_utilities 0.2.4 → 0.2.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/lib/miq_utilities/infoblox.rb +1 -1
- data/lib/miq_utilities/sql.rb +1 -1
- data/lib/miq_utilities/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8134e1c8c467577459b2a532cf6f24bbfc3e9f1085c98efdf6911add15e84663
|
|
4
|
+
data.tar.gz: 2123da2a232e9aaff196f98f34daffd9a5cf36027e64b3bd3095513174d51018
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2821431a018ed1447e953ada89d8986b0b5225be147139526c6bd57c93df8f1cda85bd5688ccfa7e7307e5a92e9cfce6a9d8689de1dcb67d7e0753ff5b05c84a
|
|
7
|
+
data.tar.gz: 1fc1fa6eeecce13bd03f26e479fe6bb2c70f6f1974ce8340a6cdf18492b79dc8925c21b4246c4cb38c4d30558e4fdb965e482fbf878dae42113d641e392185db
|
|
@@ -77,7 +77,7 @@ class InfobloxClass
|
|
|
77
77
|
inurl
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
def call_infoblox(action
|
|
80
|
+
def call_infoblox(action:, resource:, ibobj:, body_type: :json, body: nil, servername: nil, username: nil, password: nil, baseurl: 'https://[SERVERNAME]/wapi/v2.3.1/')
|
|
81
81
|
@logger = LoggingClass.new('Infoblox')
|
|
82
82
|
|
|
83
83
|
servername ||= $evm.object['InfobloxServername']
|
data/lib/miq_utilities/sql.rb
CHANGED
|
@@ -26,7 +26,7 @@ require_relative 'logging.rb'
|
|
|
26
26
|
# Wrapper class to interact with sql server
|
|
27
27
|
class SqlClass
|
|
28
28
|
# Initialize Class
|
|
29
|
-
def initialize(user
|
|
29
|
+
def initialize(user:, password:, host:, database:, azure:, port: nil)
|
|
30
30
|
# Logging
|
|
31
31
|
@logger = LoggingClass.new('SQL')
|
|
32
32
|
|