cucloud 0.7.3 → 0.7.4
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/cucloud/rds_utils.rb +3 -3
- data/lib/cucloud/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: e0ec7bb76b35852525278900952ba8a595085bcf
|
4
|
+
data.tar.gz: 885960dcb92af67a402bfbcccc8ae32eb77f3a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02e22a020ab6c0541e3b28c2063585284e24260f423eb0d620f1384d4c28f8e736418f256c14c39337278ce77773a1b07f5aa18fd642dac4e5717037124cb08d
|
7
|
+
data.tar.gz: dbc7c489fc8f3792c6a345ffb87c8297635f6fd9ba4a6d13fc5ab083e1baab3409366f62ba6ebed58d7f14ea31cb80d0d43c7b57d5f24b58e93fbd7591823ef5
|
data/lib/cucloud/rds_utils.rb
CHANGED
@@ -56,14 +56,14 @@ module Cucloud
|
|
56
56
|
|
57
57
|
# Modify the options group for a RDS instance
|
58
58
|
# @param db_instance_identifier [String] RDS instance identifier
|
59
|
-
# @param option_group_name [Sting] Name
|
59
|
+
# @param option_group_name [Sting] Name of the options group to apply
|
60
60
|
# @return [Hash] Hash represnting the return from AWS
|
61
61
|
def modify_option_group(db_instance_identifier, option_group_name)
|
62
62
|
modify_db_instance(db_instance_identifier: db_instance_identifier, option_group_name: option_group_name)
|
63
63
|
end
|
64
64
|
|
65
65
|
# Base function to modify DB, resets defualts for apply_immediately and copy_tags_to_snapshot
|
66
|
-
# @param options [hash] Hash represnting the configuration for the RDS
|
66
|
+
# @param options [hash] Hash represnting the configuration for the RDS modify
|
67
67
|
# @return [Hash] Hash represnting the return from AWS
|
68
68
|
def modify_db_instance(options)
|
69
69
|
options[:apply_immediately] = options[:apply_immediately].nil? ? true : options[:apply_immediately]
|
@@ -83,7 +83,7 @@ module Cucloud
|
|
83
83
|
options[:db_instance_identifier] = db_instance_identifier
|
84
84
|
options[:db_snapshot_identifier] = db_snapshot_identifier
|
85
85
|
@rds.restore_db_instance_from_db_snapshot(options)
|
86
|
-
@rds.wait_until(:
|
86
|
+
@rds.wait_until(:db_instance_available, db_instance_identifier: db_instance_identifier)
|
87
87
|
end
|
88
88
|
|
89
89
|
# Delete a givne db instance
|
data/lib/cucloud/version.rb
CHANGED