diff options
author | Julian C. Dunn <jdunn@aquezada.com> | 2015-05-04 13:58:44 -0400 |
---|---|---|
committer | Julian C. Dunn <jdunn@aquezada.com> | 2015-05-04 13:58:44 -0400 |
commit | c8af4993151e6636008b1ae7cdae01008247ccc9 (patch) | |
tree | 8a2fe0a0242225c7730d5a3e34c1a48f57b855f4 /lib/chef/provider | |
parent | e2b7e4e76cd8dae088299137d991a0455d87a109 (diff) | |
parent | 411dfbe979082be19a67df4d9d67cc0eb8c93fe2 (diff) | |
download | chef-c8af4993151e6636008b1ae7cdae01008247ccc9.tar.gz |
Merge pull request #3298 from juliandunn/fix-aix-source-package
fix AIX package installs using a 'source' attribute
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/package/aix.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/package/aix.rb b/lib/chef/provider/package/aix.rb index 107f914c05..0e1b1c1d26 100644 --- a/lib/chef/provider/package/aix.rb +++ b/lib/chef/provider/package/aix.rb @@ -60,6 +60,7 @@ class Chef @new_resource.version(fields[2]) end end + raise Chef::Exceptions::Package, "package source #{@new_resource.source} does not provide package #{@new_resource.package_name}" unless @new_resource.version end end |