From 21d8b638cf2a8764a277588e63b7a3eac3172ab3 Mon Sep 17 00:00:00 2001 From: voreilly Date: Thu, 10 Oct 2024 18:52:40 +1100 Subject: [PATCH] Update windows.rb Update legacy fact --- lib/puppet/provider/reboot/windows.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puppet/provider/reboot/windows.rb b/lib/puppet/provider/reboot/windows.rb index 06a447a..049338e 100644 --- a/lib/puppet/provider/reboot/windows.rb +++ b/lib/puppet/provider/reboot/windows.rb @@ -1,8 +1,8 @@ # frozen_string_literal: true Puppet::Type.type(:reboot).provide :windows do - confine operatingsystem: :windows - defaultfor operatingsystem: :windows + confine 'os.name': :windows + defaultfor 'os.name': :windows has_features :manages_reboot_pending attr_accessor :reboot_required