manageiq-appliance_console 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ae45795759924ffcb767e88c968847a8ab4668ca7e300bee23862e1b5cbc9be
4
- data.tar.gz: 2b681236da45dc65576e2a0779aaa9179ac1f04079f1f2c7982bdb5923b75da0
3
+ metadata.gz: df33eda76f2c98f0abbcb38909acd9aff1c3bdebb2d394260ab9c073e4173199
4
+ data.tar.gz: 881e1d1e92e668c2a5a79b980dd30e4b46967cbd65e3a5a866059ce28de718a4
5
5
  SHA512:
6
- metadata.gz: 2f76a5c46f96ea86a1d31376008ef8692fc1006a7f2082ea5d8815df1415a7974a0a9924592070291661c634d4d8fb156e2296855ebd38bac44ec494ad575d05
7
- data.tar.gz: 379e0487991063ecc85c6b24b58d68712d72bb71d7212254775f18a1b7b6d9c2cce3056da46b38c9be12c65e79b26107463236cd688bffb570c4d4707db8e197
6
+ metadata.gz: 107e55782b8cd0665ec28eb34bc30023968f70753963dbac48d4515528ba16e9d1d7bbbc5df29e8165dd2853b00172b4836b6549561b2a6c54a5167bf6316fe2
7
+ data.tar.gz: 473b5d493f169a65fc7806da2c0dc24446957e544f1c44c7f6178e3660d2669c8b907f0664cabbe5a4fce611fc27531914f5004410779367faa6073bb42ab3fc
@@ -82,6 +82,12 @@ module ApplianceConsole
82
82
  :filesystem_type => PostgresAdmin.database_disk_filesystem,
83
83
  :logical_volume_path => PostgresAdmin.logical_volume_path).setup
84
84
  end
85
+
86
+ # if we mounted the disk onto the postgres user's home directory, fix the permissions
87
+ if mount_point.to_s == "/var/lib/pgsql"
88
+ FileUtils.chown(PostgresAdmin.user, PostgresAdmin.group, "/var/lib/pgsql")
89
+ FileUtils.chmod(0o700, "/var/lib/pgsql")
90
+ end
85
91
  end
86
92
 
87
93
  def initialize_postgresql
@@ -1,5 +1,5 @@
1
1
  module ManageIQ
2
2
  module ApplianceConsole
3
- VERSION = '4.0.0'.freeze
3
+ VERSION = '4.0.1'.freeze
4
4
  end
5
5
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_runtime_dependency "awesome_spawn", "~> 1.4"
26
26
  spec.add_runtime_dependency "bcrypt", "~> 3.1.10"
27
27
  spec.add_runtime_dependency "highline", "~> 1.6.21"
28
- spec.add_runtime_dependency "i18n", "~> 0.7"
28
+ spec.add_runtime_dependency "i18n", "~> 0.8"
29
29
  spec.add_runtime_dependency "linux_admin", ["~> 1.0", ">=1.2.2"]
30
30
  spec.add_runtime_dependency "optimist", "~> 3.0"
31
31
  spec.add_runtime_dependency "pg"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manageiq-appliance_console
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-12 00:00:00.000000000 Z
11
+ date: 2019-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.7'
89
+ version: '0.8'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.7'
96
+ version: '0.8'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: linux_admin
99
99
  requirement: !ruby/object:Gem::Requirement