Puppet4 support: nic_passthrough_whitelist

Change-Id: I7be4b1e976a7bb5ab76924a20ff3872aa6371fab
Related-Bug: 1586480
This commit is contained in:
Dmitry Ilyin 2016-09-02 10:24:13 -05:00
parent 25b362b004
commit a39067f7b0
1 changed files with 4 additions and 2 deletions

View File

@ -11,6 +11,8 @@ EOS
nic_whitelist = argv[0]
return nil unless nic_whitelist
nic_whitelist.to_json
return nil if nic_whitelist == ''
data = nic_whitelist.to_json
debug "nic_whitelist_to_json() return: #{data.inspect}"
data
end