Puppet has Multiple default providers for l2_port resource

while prefetch. This patch fix wrong fact usage.

Change-Id: I30177ad211ed155f7460574dc2f1efaa3b674033
Related-bug: #1534596
This commit is contained in:
Sergey Vasilenko 2016-01-15 17:11:03 +03:00
parent a808cd9521
commit da30a48ca5
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
require File.join(File.dirname(__FILE__), '..','..','..','puppet/provider/lnx_base')
Puppet::Type.type(:l2_port).provide(:lnx, :parent => Puppet::Provider::Lnx_base) do
defaultfor :osfamily => :linux
defaultfor :kernel => :linux
commands :iproute => 'ip',
:ethtool_cmd => 'ethtool',
:brctl => 'brctl',