berta 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/berta.yml +14 -14
- data/lib/berta.rb +2 -1
- data/lib/berta/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: 90a76ac6f1f4e8ca79a9f1055d048e1388454f93
|
4
|
+
data.tar.gz: 23521719c626908ab390da7bc21220ad4080f930
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0edddd944f03fe24b447ad0ebcee686546080c128492b9e89ec653dda484aae9dc88846eb1bac28c4454e9e2422c161e7e5a16557aaf1e1aa0fc85ea02f56b8
|
7
|
+
data.tar.gz: 9c065dbd4e3336658349e7c1f41d9e7e32d4f7cc3608c465ad8cdc304d1d36c84ef3b43101625d9a3f8195e2770a8c9638c2aeb31418ae08807b5f35f9c45c13
|
data/config/berta.yml
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
berta:
|
2
2
|
opennebula:
|
3
|
-
secret:
|
4
|
-
endpoint:
|
5
|
-
expiration:
|
6
|
-
offset: 10 days
|
7
|
-
action: terminate-hard
|
3
|
+
secret: # Secret for OpenNebula authentication
|
4
|
+
endpoint: # OpenNebula backend endpoint
|
5
|
+
expiration: # Action that will be set for execution
|
6
|
+
offset: 10 days # Time until action will be executed
|
7
|
+
action: terminate-hard # Type of action that will be executed
|
8
8
|
notification:
|
9
|
-
deadline: 1 day
|
10
|
-
exclude:
|
11
|
-
ids:
|
12
|
-
users:
|
13
|
-
groups:
|
14
|
-
clusters:
|
9
|
+
deadline: 1 day # Time when user should be notified before action will be executed
|
10
|
+
exclude: # Exclude VMs to ignore them
|
11
|
+
ids: # VMs with this IDs will be ignored
|
12
|
+
users: # VMs owned by this users will be ignored
|
13
|
+
groups: # VMs in this groups will be ignored
|
14
|
+
clusters: # VMs in this clusters will be ignored
|
15
15
|
logging:
|
16
16
|
file: /var/log/berta/berta.log # File to write log to. To turn off file logging leave this field empty
|
17
|
-
level: error
|
18
|
-
dry-run: false
|
19
|
-
debug: false
|
17
|
+
level: error # Logging level
|
18
|
+
dry-run: false # Berta won't change anything on running instance of OpenNebula
|
19
|
+
debug: false # Debug mode
|
data/lib/berta.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# Main Berta module
|
2
2
|
module Berta
|
3
|
-
autoload :Version, 'berta/version'
|
4
3
|
autoload :Service, 'berta/service'
|
5
4
|
autoload :VirtualMachineHandler, 'berta/virtual_machine_handler'
|
6
5
|
autoload :ExpirationManager, 'berta/expiration_manager'
|
@@ -12,3 +11,5 @@ module Berta
|
|
12
11
|
autoload :Utils, 'berta/utils'
|
13
12
|
autoload :Settings, 'berta/settings'
|
14
13
|
end
|
14
|
+
|
15
|
+
require 'berta/version'
|
data/lib/berta/version.rb
CHANGED