Included chef cookbook provider not working -
Included chef cookbook provider not working -
i'm trying utilize gem_specfic_install
cookbook can utilize specificinstall
provider chef doesn't seem take it's there.
i've added cookbook 'gem_specific_install', '~> 0.2.4'
berksfile i've added depends 'gem_specific_install'
metadata.rb i've added include_recipe "gem_specific_install"
install recipe file
chef errors no matter way utilize (as specified here)
what doing wrong?
p.s. reason i'm trying utilize because need install event_machine
gem it's github repo contains prepare .gem on rubygems.com doesn't have.
would worth downloading fixed version, build .gem file , host locally or on our artifactory server instead of using specific_install ? edit:
it either goes:
[2014-10-27t17:36:16+00:00] fatal: nomethoderror: undefined method `repository' chef::resource::gempackage
or
options takes string not hash
edit: doesn't matter more, managed prepare problem using normal gem_package, realised doing wrong, still want know why specific_install wasn't working.
so if want utilize repository
attribute, need utilize gem_specific_install
resource straight instead of gem_package
. don't think sec form using options string actual viable given changes in chef.
chef cookbook
Comments
Post a Comment