def _configure_server(): # Get any new packages. local('apt-get -y update', capture=False) local('apt-get -y dist-upgrade', capture=False) # Update pantheon code, run bcfg2, restart jenkins. update.update_pantheon() # Create the tunable files. local('cp /etc/mercury/templates/tuneables /etc/mercury/server_tuneables') local('chmod 755 /etc/mercury/server_tuneables')
def _configure_server(server): ygg.send_event('Software updates', 'Configuration updates have started.') # Get any new packages. #server.update_packages() # Update pantheon code, run bcfg2, restart Jenkins. update.update_pantheon(postback=False) # Create the tunable files. local('cp /etc/pantheon/templates/tuneables /etc/pantheon/server_tuneables') local('chmod 755 /etc/pantheon/server_tuneables') ygg.send_event('Software updates', 'Configuration updates have finished.')
def _configure_server(server): ygg.send_event('Software updates', 'Package updates have started.') # Get any new packages. server.update_packages() # Update pantheon code, run bcfg2, restart jenkins. update.update_pantheon(first_boot=True) # Create the tunable files. local('cp /etc/pantheon/templates/tuneables /etc/pantheon/server_tuneables') local('chmod 755 /etc/pantheon/server_tuneables') ygg.send_event('Software updates', 'Package updates have finished.')
def _configure_server(server): ygg.send_event('Software updates', 'Package updates have started.') # Get any new packages. server.update_packages() # Update pantheon code, run bcfg2, restart jenkins. update.update_pantheon(first_boot=True) # Create the tunable files. local( 'cp /etc/pantheon/templates/tuneables /etc/pantheon/server_tuneables') local('chmod 755 /etc/pantheon/server_tuneables') ygg.send_event('Software updates', 'Package updates have finished.')