~ubuntuone-hackers/charms/trusty/telegraf/trunk

« back to all changes in this revision

Viewing changes to hooks/actions.py

  • Committer: Guillermo Gonzalez
  • Date: 2016-04-18 16:44:29 UTC
  • mfrom: (21.1.1 fix-apt-install)
  • Revision ID: guillermo.gonzalez@canonical.com-20160418164429-69kqk0c99qqhrwqg
[r=caio1982] fix apt_install call to use default options and keep old configs

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
                add_source(config['apt_repository'],
76
76
                           config['apt_repository_key'])
77
77
                apt_update()
78
 
            apt_install(config['package_name'], options=['--force-yes'])
 
78
            apt_install(config['package_name'])
79
79
 
80
80
 
81
81
def update_telegraf(service_name):