~james-w/pkgme-service/log-oopses

« back to all changes in this revision

Viewing changes to fabtasks/deploy.py

  • Committer: James Westby
  • Date: 2012-01-20 14:01:51 UTC
  • mfrom: (28.3.1 avoid-postfix-note)
  • Revision ID: james.westby@canonical.com-20120120140151-pe0uk33tjuwamkk5
Avoid the postfix questions on install.

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
    run('sudo apt-get dist-upgrade -q -y --force-yes')
218
218
    # Avoid a debconf note when installing rabbitmq-server on lucid
219
219
    run('echo "rabbitmq-server rabbitmq-server/upgrade_previous note" | sudo debconf-set-selections')
 
220
    # We don't care about postfix being configured, and don't want the
 
221
    # debconf note on install.
 
222
    run('echo "postfix postfix/main_mailer_type select No configuration" | sudo debconf-set-selections')
220
223
    # Install the dependencies needed to get puppet going
221
224
    # TODO: move the rest of the dependencies to puppet
222
225
    run('sudo apt-get install -q -y --force-yes pkgme-service-dependencies bzr apache2 libapache2-mod-wsgi rabbitmq-server postgresql-8.4 puppet')