simple-framework / simple_grid_puppet_module

Central Configuration Module, implemented in Puppet, for SIMPLE-Grid (a solution for setting up Lightweight Sites for the Worldwide LHC Computing Grid)
Apache License 2.0
2 stars 6 forks source link

Allow admins to edit /etc/hosts inside container #124

Open maany opened 4 years ago

maany commented 4 years ago

In the case of private networks such as in Cibinong, the containers needs to know how to find internal services like vobox/apel client through the private network.

maany commented 4 years ago

This can be achieved by supplemental config sections. See the HTCondorCE repository for instance.

Input site_level_config_file must include:

...
lightweight_components:
  - type: compute_element
     name: HTCondor-CE
     ...
     supplemental_config:
         - "/etc/hosts"
                "10.100.200.37 kotak2"