In most cases, pipes can be sealed to the polyethylene using acoustical sealant and tape, similar to wiring. However in some cases it may be necessary to use alternate methods such as the rigid foam build out shown above. If the pipes are coming through solid wood, then expanding foam should be used. Make sure to check your local code to ensure your method meets the requirements in your area.