diff --git a/modules/net_share/lib/puppet/provider/net_share/net_share.rb b/modules/net_share/lib/puppet/provider/net_share/net_share.rb index 630e238..ec76f39 100644 --- a/modules/net_share/lib/puppet/provider/net_share/net_share.rb +++ b/modules/net_share/lib/puppet/provider/net_share/net_share.rb @@ -60,7 +60,7 @@ def flush def self.query(name) cmd = [command(:net), 'share', name] output = execute(cmd, { :failonfail => false }) - + output = output.split("\n") properties = {} properties[:name] = name