foreman_maintain 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/foreman-maintain +1 -1
- data/config/foreman_maintain.yml.packaging +2 -2
- data/lib/foreman_maintain/config.rb +2 -2
- data/lib/foreman_maintain/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc75bb9cfa1bb98c97e017ca86a5eb283be27ebc
|
4
|
+
data.tar.gz: ca4c72fb28c52a0a87e592730954d5b5c1d87106
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9acd9ac4a3df158361684415bf94e0c82a7d582b0fb98313a6d1b9a111ea9ab65d4476a7098b7dc9f3cca66e3363ed44ae14cae6113c846212d602e27607a413
|
7
|
+
data.tar.gz: 365618e5ab301e0ed0bcc530189e35d86525ac5707573d221e58f9540ca7779b2cbc1bb9cea7ed0bba2c8cb952cd47dfdfcf9e47d1c9218f30df21673cea7fc6
|
data/bin/foreman-maintain
CHANGED
@@ -9,8 +9,8 @@
|
|
9
9
|
# :definitions_dirs:
|
10
10
|
|
11
11
|
# Mention file path to store data
|
12
|
-
:storage_file: '/lib/foreman-maintain/data.yml'
|
12
|
+
:storage_file: '/var/lib/foreman-maintain/data.yml'
|
13
13
|
|
14
14
|
# Mention directory to store whole backup data
|
15
|
-
:backup_dir: '/lib/foreman-maintain'
|
15
|
+
:backup_dir: '/var/lib/foreman-maintain'
|
16
16
|
|
@@ -16,7 +16,7 @@ module ForemanMaintain
|
|
16
16
|
@log_dir = find_dir_path(@options.fetch(:log_dir, 'log'))
|
17
17
|
@storage_file = @options.fetch(:storage_file, 'data.yml')
|
18
18
|
@backup_dir = find_dir_path(
|
19
|
-
@options.fetch(:backup_dir, '/lib/foreman-maintain')
|
19
|
+
@options.fetch(:backup_dir, '/var/lib/foreman-maintain')
|
20
20
|
)
|
21
21
|
end
|
22
22
|
|
@@ -35,7 +35,7 @@ module ForemanMaintain
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def config_file_path
|
38
|
-
File.exist?(CONFIG_FILE) ? CONFIG_FILE : 'config/foreman_maintain.yml'
|
38
|
+
File.exist?(CONFIG_FILE) ? CONFIG_FILE : File.join(source_path, 'config/foreman_maintain.yml')
|
39
39
|
end
|
40
40
|
|
41
41
|
def source_path
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_maintain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
version: '0'
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
|
-
rubygems_version: 2.
|
200
|
+
rubygems_version: 2.5.2
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: Foreman maintenance tool belt
|