Dynatrace / Dynatrace-AppMon-Chef

Installs the Dynatrace Application Monitoring solution using Chef.
MIT License
12 stars 15 forks source link

Agent package and WsAgent are competing when installed to the same directory #12

Closed metmajer closed 8 years ago

metmajer commented 9 years ago

agents_package and wsagent_package both share the agent directory when installed to the same directory. Whoever is installed last will effectively overwrite the installation of the former.

Proposed solution as of now: when both agents are required on the same host, install them into different directories, using the respective ...['installer']['prefix_dir'] attributes.

pozieblo commented 8 years ago

Fixed by allowing to install different Dynatrace packages in the same directory (e.g. /opt/dynatrace) - did that by replacing mv command by rsync in the providers/run_tar_installer.rb and providers/run_jar_installer.