~clint-fewbar/ubuntu/maverick/cloud-init/glusterfs-mount-example

« back to all changes in this revision

Viewing changes to cloudinit/CloudConfig/cc_foo.py

  • Committer: Scott Moser
  • Date: 2010-06-18 19:54:23 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: smoser@ubuntu.com-20100618195423-9nagp9g7bna1erlf
* New upstream release.
* fix cloud-init-run-module to allow 'always' (LP: #568139)
* add support for setting debconf selections 
* add cloud-config support for debconf selections (LP: #582667),
  byobu enablement, and ssh-import-lp-id

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vi: ts=4 expandtab
 
2
#
 
3
#    Copyright (C) 2009-2010 Canonical Ltd.
 
4
#
 
5
#    Author: Scott Moser <scott.moser@canonical.com>
 
6
#
 
7
#    This program is free software: you can redistribute it and/or modify
 
8
#    it under the terms of the GNU General Public License version 3, as
 
9
#    published by the Free Software Foundation.
 
10
#
 
11
#    This program is distributed in the hope that it will be useful,
 
12
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
#    GNU General Public License for more details.
 
15
#
 
16
#    You should have received a copy of the GNU General Public License
 
17
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
1
18
import cloudinit
2
19
import cloudinit.util as util
3
20
from cloudinit.CloudConfig import per_instance