lib/ohai/plugins/os.rb in ohai-13.3.0 vs lib/ohai/plugins/os.rb in ohai-13.4.0
- old
+ new
@@ -14,12 +14,11 @@
# 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.
#
-require "ohai/mixin/os"
-
Ohai.plugin(:OS) do
+ require "ohai/mixin/os"
provides "os", "os_version"
depends "kernel"
collect_data do
os collect_os