diff options
Diffstat (limited to 'lib/chef/mixin/get_source_from_package.rb')
-rw-r--r-- | lib/chef/mixin/get_source_from_package.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/mixin/get_source_from_package.rb b/lib/chef/mixin/get_source_from_package.rb index 96cef058ed..832f96064d 100644 --- a/lib/chef/mixin/get_source_from_package.rb +++ b/lib/chef/mixin/get_source_from_package.rb @@ -18,7 +18,7 @@ # # mixin to make this syntax work without specifying a source: # -# gem_pacakge "/tmp/foo-x.y.z.gem" +# gem_package "/tmp/foo-x.y.z.gem" # rpm_package "/tmp/foo-x.y-z.rpm" # dpkg_package "/tmp/foo-x.y.z.deb" # @@ -38,7 +38,7 @@ class Chef # if we're passed something that looks like a filesystem path, with no source, use it # - require at least one '/' in the path to avoid gem_package "foo" breaking if a file named 'foo' exists in the cwd if new_resource.source.nil? && new_resource.package_name.match(/#{::File::SEPARATOR}/) && ::File.exist?(new_resource.package_name) - Chef::Log.debug("No package source specified, but #{new_resource.package_name} exists on the filesystem, copying to package source") + Chef::Log.trace("No package source specified, but #{new_resource.package_name} exists on the filesystem, copying to package source") new_resource.source(new_resource.package_name) end end |