mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-04 22:21:36 +09:00
F #-: Introduce 7.4.1 -> 7.4.2 migrator (#4693)
This commit is contained in:
1 parent
fe5db114e2
commit
6b08eadba1
3 files changed
+10461
No files matched your search
@@ -352,6 +352,34 @@
|
||||
mode: '0640'
|
||||
src: src/oneks/etc/oneks-server.conf
|
||||
|
||||
- name: /etc/one/fabricmanager.conf
|
||||
class: Augeas::Shell
|
||||
owner: root
|
||||
group: oneadmin
|
||||
mode: '0640'
|
||||
src: src/onefabric/host/etc/fabricmanager.conf
|
||||
|
||||
- name: /etc/one/one-fabricmanager.xml
|
||||
class: Simple
|
||||
owner: root
|
||||
group: oneadmin
|
||||
mode: '0640'
|
||||
src: src/onefabric/host/etc/one-fabricmanager.xml
|
||||
|
||||
- name: /etc/one/ovirtapi-server.yml
|
||||
class: Yaml
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
src: src/ovirtapi/etc/ovirtapi-server.yml
|
||||
|
||||
- name: /etc/one/ovirtapi-puma.rb
|
||||
class: Simple
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
src: src/ovirtapi/etc/ovirtapi-puma.rb
|
||||
|
||||
### Dir: /var/lib/one/remotes/etc/ #########################
|
||||
|
||||
- name: /var/lib/one/remotes/etc/datastore/datastore.conf
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
# -------------------------------------------------------------------------- #
|
||||
# Copyright 2019-2026, OpenNebula Systems S.L. #
|
||||
# #
|
||||
# Licensed under the OpenNebula Software License #
|
||||
# (the "License"); you may not use this file except in compliance with #
|
||||
# the License. You may obtain a copy of the License as part of the software #
|
||||
# distribution. #
|
||||
# #
|
||||
# See https://github.com/OpenNebula/one/blob/master/LICENSE.onsla #
|
||||
# (or copy bundled with OpenNebula in /usr/share/doc/one/). #
|
||||
# #
|
||||
# Unless agreed to in writing, software distributed under the License is #
|
||||
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY #
|
||||
# KIND, either express or implied. See the License for the specific language #
|
||||
# governing permissions and limitations under the License. #
|
||||
# -------------------------------------------------------------------------- #
|
||||
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Migrator
|
||||
module Migrator
|
||||
|
||||
# Preupgrade steps
|
||||
def pre_up
|
||||
# new directory for tm/san/backup.conf
|
||||
['/var/lib/one/remotes/etc/tm/san'].each do |dir|
|
||||
@fops.mkdir(dir)
|
||||
@fops.chown(dir, 'oneadmin', 'oneadmin')
|
||||
@fops.chmod(dir, 0o750)
|
||||
end
|
||||
end
|
||||
|
||||
# Upgrade steps
|
||||
def up
|
||||
end
|
||||
|
||||
end
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user