Hi, I’m currently getting started with chef-solo and writing numerous software installer recipes which is working well. My problem is that I need to specify different
base installer locations for different environments. I have different bat files to initiate chef: UpdateWorkstation.bat chef-solo -c solo.rb -j workstation.json workstation.json { "run_list": [ "role[workstation]" ] } With each role I override the MSI locations for example: Workstation.rb "webdeploy" => { "options" => "ADDLOCAL=MSDeployFeature,MSDeployUIFeature,DelegationUIFeature,MSDeployShortcuts,DelegationScriptsFeature", "baseurl" => "\\\\LOCAL-Servername\\ " }, webserver.rb "webdeploy" => { "options" => "ADDLOCAL=MSDeployFeature,MSDeployUIFeature,DelegationUIFeature,MSDeployShortcuts,DelegationScriptsFeature", "baseurl" => "\\\\DEV-DOMAIN-Servername\\ " }, I’d like a better way of doing this so I could pass a base location override attribute into chef-solo rather than creating lots of roles just for the purpose
of specifying a different locations. Thanks Dan ===================== DISCLAIMER ====================== |
Archive powered by MHonArc 2.6.16.