B #6587: Switch to opennebula-augeas gem 6.6 (#3088)

This commit is contained in:
Jan Orel authored and GitHub committed 2024-05-31 13:25:04 +02:00
1 parent 7deb758f4b
commit cedbba6e99
5 files changed
+3 -15

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ case "${TARGET}" in
apt-get -y install \
ruby-dev make gcc libsqlite3-dev libcurl4-openssl-dev \
rake libxml2-dev libxslt1-dev patch g++ build-essential \
libssl-dev libaugeas-dev \
libssl-dev libaugeas-dev pkgconf \
postgresql-server-dev-all \
>/dev/null
+1 -5
View File
@@ -246,15 +246,11 @@ CommandParser::CmdParser.new(ARGV) do
command :serversync, sync_desc, :server, :options => [DATABASE] do
begin
# Suppress augeas require warning message
$VERBOSE = nil
gem 'augeas', '~> 0.6'
require 'augeas'
rescue Gem::LoadError
STDERR.puts(
'Augeas gem is not installed, run `gem install ' \
'augeas -v \'0.6\'` to install it'
'opennebula-augeas` to install it'
)
exit(-1)
end
-3
View File
@@ -104,9 +104,6 @@ module OpenNebula
file_name = 'monitord.conf'
begin
# Suppress augeas require warning message
$VERBOSE = nil
require 'augeas'
aug = Augeas.create(:no_modl_autoload => true,
-1
View File
@@ -14,7 +14,6 @@
# limitations under the License. #
#--------------------------------------------------------------------------- #
gem 'augeas', '~> 0.6'
require 'augeas'
# rubocop:disable Style/ClassAndModuleChildren
+1 -5
View File
@@ -127,15 +127,11 @@ class OneDB
def read_credentials(ops)
begin
# Suppress augeas require warning message
$VERBOSE = nil
gem 'augeas', '~> 0.6'
require 'augeas'
rescue Gem::LoadError
STDERR.puts(
'Augeas gem is not installed, run `gem install ' \
'augeas -v \'0.6\'` to install it'
'opennebula-augeas` to install it'
)
exit(-1)
end