Remove rootwrap class

It was deprecated during the previous cycle[1], because of no logic
implemented in the class.

[1] 25db3553c4

Change-Id: I7b76b358e31aec5f56adcf0748ab4375a73b3ca6
This commit is contained in:
Takashi Kajinami
2025-06-24 15:10:51 +09:00
parent 482d70d481
commit 3881aa246c
3 changed files with 4 additions and 40 deletions

View File

@@ -1,13 +0,0 @@
# == Class: neutron::rootwrap
# DEPRECATED !!
# Manages the neutron rootwrap.conf file on systems
#
# === Parameters:
#
class neutron::rootwrap (
) {
include neutron::deps
warning('The neutron::rootwrap class is deprecated.')
}

View File

@@ -0,0 +1,4 @@
---
upgrade:
- |
The ``neutron::rootwrap`` class has been removed.

View File

@@ -1,27 +0,0 @@
require 'spec_helper'
describe 'neutron::rootwrap' do
let :params do
{}
end
shared_examples 'neutron rootwrap' do
it 'configures rootwrap.conf' do
# Now this class doesn't have any effective parameters
end
end
on_supported_os({
:supported_os => OSDefaults.get_supported_os
}).each do |os,facts|
context "on #{os}" do
let(:facts) do
facts.merge!(OSDefaults.get_facts({
}))
end
it_behaves_like 'neutron rootwrap'
end
end
end