lib/mixlib/install/generator/powershell.rb in mixlib-install-2.0.2 vs lib/mixlib/install/generator/powershell.rb in mixlib-install-2.0.3
- old
+ new
@@ -44,17 +44,10 @@
end
def install_command
install_project_module = []
install_project_module << get_script("helpers.ps1")
- # TODO: Remove this condition check once the PackageRouter changes for
- # omnitruck are delivered to production! For now, we will allow
- # unstable channel requests to omnitruck to use the acceptance environment.
- if options.channel == :unstable
- install_project_module << get_script("get_project_metadata.ps1", base_url: "https://omnitruck-acceptance.chef.io/")
- else
- install_project_module << get_script("get_project_metadata.ps1")
- end
+ install_project_module << get_script("get_project_metadata.ps1")
install_project_module << get_script("install_project.ps1")
install_command = []
install_command << ps1_modularize(install_project_module.join("\n"), "Omnitruck")
install_command << render_command
install_command.join("\n\n")