1
// Copyright 2015 Canonical Ltd.
2
// Copyright 2015 Cloudbase Solutions SRL
3
// Licensed under the LGPLv3, see LICENCE file for details.
8
// PackageManagerLoopFunction is a bash function that executes its arguments
9
// in a loop with a delay until either the command either returns
10
// with an exit code other than 100.
11
PackageManagerLoopFunction = `
12
function package_manager_loop {
20
if [ $rc -eq 100 ]; then
31
seriesRequiringCloudTools = map[string]bool{
32
// TODO (aznashwan, all): add any other OS's
33
// which require cloud tools' series here.
37
// DefaultPackages is a list of the default packages Juju'd like to see
38
// installed on all it's machines.
39
DefaultPackages = []string{
40
// TODO (everyone): populate this list with all required packages.
45
backportsBySeries = map[string][]string{
46
"trusty": []string{"lxd"},