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

disable puppet refresh_interval during install, enable after deploy #116

Open maany opened 4 years ago

maany commented 4 years ago

puppet auto-updates can leave the deployment in a messy state if some time is spent debugging deployment stages.

maany commented 4 years ago

Only partially solved. The runinterval needs to be changed back to 30m at the end of deploy stage. In deploy_master.rb, implement the appropriate ruby code. This should take care of things for Config Master. In rollback_deploy_master make the appropriate change as well. For lightweight_component changes can be incorporated in a more puppet (rather than ruby) way, so I'm pushing those changes now.

maany commented 4 years ago

What's left here: puppet runinterval for config master needs to be set to 30m after deploy. It needs to be reset to 10y on deploy rollback.