install gcc 4.1.2
I am trying to install specifically gcc version 4.1.2 through recipe.
I tried package with version but it fails while bootstrap as it says version is expected to be String !
package “gcc” do action :install version :“4.1.2 20080704” end
Secondly I tried in attributes: default[‘gcc’][‘version’] = “4.1.2”
but looks like it have no effect (or this may not be right way!)
Please help me to install specific version of gcc through chef recipe.