Skip to content

Commit 0783143

Browse files
committed
(CAT-2205): Replaced legacy fact osfamily with os.family
1 parent ca78635 commit 0783143

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hiera.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ defaults: # Used for any hierarchy level that omits these keys.
66
data_hash: yaml_data # Use the built-in YAML backend.
77

88
hierarchy:
9-
- name: "osfamily/major release"
9+
- name: "os.family/major release"
1010
paths:
1111
# Used to distinguish between Debian and Ubuntu
1212
- "os/%{facts.os.name}/%{facts.os.release.major}.yaml"
1313
- "os/%{facts.os.family}/%{facts.os.release.major}.yaml"
1414
# Used for Solaris
1515
- "os/%{facts.os.family}/%{facts.kernelrelease}.yaml"
16-
- name: "osfamily"
16+
- name: "os.family"
1717
paths:
1818
- "os/%{facts.os.name}.yaml"
1919
- "os/%{facts.os.family}.yaml"

lib/puppet/provider/exec/powershell.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require 'puppet/provider/exec'
44

55
Puppet::Type.type(:exec).provide :powershell, parent: Puppet::Provider::Exec do
6-
confine operatingsystem: :windows
6+
confine 'os.name': :windows
77
confine feature: :pwshlib
88

99
desc <<-DESC

0 commit comments

Comments
 (0)