-# Remove legacy HP G4 support which breaks modern hp-health 10.4
-if manufacturer == "HP"
- %w[/opt/hp/hp-health/bin/hpasmd /usr/lib/libhpasmintrfc.so.3.0 /usr/lib/libhpasmintrfc.so.3 /usr/lib/libhpasmintrfc.so].each do |filename|
- file filename do
- action :delete
- manage_symlink_source false
- end
- end
-
- directory "/opt/hp/hp-legacy" do
- action :delete
- recursive true
- end
-end
-