lib/librarian/puppet/source/githubtarball.rb in librarian-puppet-1.0.4 vs lib/librarian/puppet/source/githubtarball.rb in librarian-puppet-1.0.5
- old
+ new
@@ -96,10 +96,10 @@
environment.cache_path.join("source/puppet/githubtarball/#{uri.host}#{uri.path}")
end
end
def install_path(name)
- environment.install_path.join(name.split('/').last)
+ environment.install_path.join(name.split('-').last)
end
def fetch_version(name, version_uri)
versions = repo(name).versions
if versions.include? version_uri