Skip to content

Commit 89b806a

Browse files
authored
Merge pull request #370 from voreilly/main
Update windows.rb
2 parents 75c4879 + 3548ff4 commit 89b806a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/puppet/provider/reboot/windows.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# frozen_string_literal: true
22

33
Puppet::Type.type(:reboot).provide :windows do
4-
confine operatingsystem: :windows
5-
defaultfor operatingsystem: :windows
4+
confine 'os.name': :windows
5+
defaultfor 'os.name': :windows
66

77
has_features :manages_reboot_pending
88
attr_accessor :reboot_required

0 commit comments

Comments
 (0)