lib/mcollective/pluginpackager/standard_definition.rb in mcollective-client-2.6.1 vs lib/mcollective/pluginpackager/standard_definition.rb in mcollective-client-2.7.0

- old
+ new

@@ -4,10 +4,10 @@ attr_accessor :path, :packagedata, :metadata, :target_path, :vendor, :revision attr_accessor :plugintype, :preinstall, :postinstall, :dependencies, :mcname, :mcversion def initialize(configuration, mcdependency, plugintype) @plugintype = plugintype - @path = configuration[:target] + @path = PluginPackager.get_plugin_path(configuration[:target]) @packagedata = {} @revision = configuration[:revision] || 1 @preinstall = configuration[:preinstall] @postinstall = configuration[:postinstall] @vendor = configuration[:vendor] || "Puppet Labs"