Use structured facts to select default provider

Change-Id: I6b772edc9331fedb2e710dca4e182d63b8816b12
This commit is contained in:
Takashi Kajinami 2025-04-27 22:06:34 +09:00
parent 081e9be22b
commit 5d6258801e

View File

@ -17,8 +17,8 @@ Puppet::Type.type(:vs_port).provide(
'NOZEROCONF' => 'yes'
}
confine :osfamily => :redhat
defaultfor :osfamily => :redhat
confine 'os.family' => :redhat
defaultfor 'os.family' => :redhat
commands :ip => 'ip'
commands :ifdown => 'ifdown'