Skip to content

Commit c3a1677

Browse files
authored
Update windows_env.rb
Update legacy facts
1 parent 693c8cf commit c3a1677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/puppet/provider/windows_env/windows_env.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def evaluate
4343
desc 'Manage Windows environment variables'
4444

4545
confine feature: :windows_env
46-
confine osfamily: :windows
47-
defaultfor osfamily: :windows
46+
confine 'os.family': :windows
47+
defaultfor 'os.family': :windows
4848

4949
# For testing registry open result
5050
ERROR_FILE_NOT_FOUND = 2

0 commit comments

Comments
 (0)