I created a chef recipe which has the installation of a specific rpm mentioned in it. This rpm has a version number which needs to be loaded dynamically from a properties file (which is itself created dynamically). This chef recipe then needs to be loaded into the chef server.
remote_file "Core_feature.rpm" do
path "#{src_loc}core_feature_v91-2.noarch.rpm"
Here, v91-2
is the value which needs to go in dynamically into the recipe, by reading from a properties file.
Is this achievable? If yes, how do I go on to implement it.(Have no idea on ruby)!