diff options
author | Scott Moser <smoser@brickies.net> | 2016-10-04 16:44:29 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-10-04 16:44:29 -0400 |
commit | c83e19dc07b284f008120fb0c72439c5f91042ae (patch) | |
tree | a368cbb9170b2da6ffb623802580381b12bae4be /cloudinit/config/cc_landscape.py | |
parent | 1bf130a7e1157d83f073131beaa92d3169255229 (diff) | |
parent | 94fd35eeb3f53bc82fb9ddcad60c1e605890fd53 (diff) | |
download | vyos-cloud-init-c83e19dc07b284f008120fb0c72439c5f91042ae.tar.gz vyos-cloud-init-c83e19dc07b284f008120fb0c72439c5f91042ae.zip |
merge from master at 0.7.8-14-g94fd35e
Diffstat (limited to 'cloudinit/config/cc_landscape.py')
-rw-r--r-- | cloudinit/config/cc_landscape.py | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/cloudinit/config/cc_landscape.py b/cloudinit/config/cc_landscape.py index 68fcb27f..11c84513 100644 --- a/cloudinit/config/cc_landscape.py +++ b/cloudinit/config/cc_landscape.py @@ -18,6 +18,55 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +""" +Landscape +--------- +**Summary:** install and configure landscape client + +This module installs and configures ``landscape-client``. The landscape client +will only be installed if the key ``landscape`` is present in config. Landscape +client configuration is given under the ``client`` key under the main +``landscape`` config key. The config parameters are not interpreted by +cloud-init, but rather are converted into a ConfigObj formatted file and +written out to ``/etc/landscape/client.conf``. + +The following default client config is provided, but can be overridden:: + + landscape: + client: + log_level: "info" + url: "https://landscape.canonical.com/message-system" + ping_url: "http://landscape.canoncial.com/ping" + data_path: "/var/lib/landscape/client" + +.. note:: + see landscape documentation for client config keys + +.. note:: + if ``tags`` is defined, its contents should be a string delimited with + ``,`` rather than a list + +**Internal name:** ``cc_landscape`` + +**Module frequency:** per instance + +**Supported distros:** ubuntu + +**Config keys**:: + + landscape: + client: + url: "https://landscape.canonical.com/message-system" + ping_url: "http://landscape.canonical.com/ping" + data_path: "/var/lib/landscape/client" + http_proxy: "http://my.proxy.com/foobar" + https_proxy: "https://my.proxy.com/foobar" + tags: "server,cloud" + computer_title: "footitle" + registration_key: "fookey" + account_name: "fooaccount" +""" + import os from six import StringIO |