~rogpeppe/juju-core/azure

« back to all changes in this revision

Viewing changes to environs/mongo.go

  • Committer: William Reade
  • Date: 2012-01-20 21:32:53 UTC
  • mto: This revision was merged to the branch mainline in revision 47.
  • Revision ID: fwereade@gmail.com-20120120213253-csks5e12opl8t1rq
hefty rearrangement, few actual changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// Copyright 2013 Canonical Ltd.
2
 
// Licensed under the AGPLv3, see LICENCE file for details.
3
 
 
4
 
package environs
5
 
 
6
 
import (
7
 
        "fmt"
8
 
)
9
 
 
10
 
// MongoStoragePath returns the path that is used to
11
 
// retrieve the given version of mongodb in a Storage.
12
 
func MongoStoragePath(series, architecture string) string {
13
 
        return fmt.Sprintf("tools/mongo-2.2.0-%s-%s.tgz", series, architecture)
14
 
}