Forge Home

azure_agent

The Azure module installs and configures the Windows Azure Linux agent. Note that this module has now moved to https://forge.puppetlabs.com/puppetlabs/azure_agent

18,169 downloads

18,169 latest version

2.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.0 (latest)
released Dec 7th 2015
This version is compatible with:

    Start using this module

    • r10k or Code Manager
    • Bolt
    • Manual installation
    • Direct download

    Add this module to your Puppetfile:

    mod 'puppetlabs-azure_agent', '0.1.0'
    Learn more about managing modules with a Puppetfile

    Add this module to your Bolt project:

    bolt module add puppetlabs-azure_agent
    Learn more about using this module with an existing project

    Manually install this module globally with Puppet module tool:

    puppet module install puppetlabs-azure_agent --version 0.1.0

    Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

    Download

    Documentation

    puppetlabs/azure_agent — version 0.1.0 Dec 7th 2015

    Puppet Labs Azure Agent

    This module was formerly the puppetlabs-azure module. [Moved at version 0.0.3]

    This is the Puppet Labs Azure Agent module. The Azure module installs and configures the Microsoft Azure Linux agent.

    It assumes you have the Windows Azure Linux package, walinuxagent, available in a local repository to be installed.

    Build Status

    Usage

    Add the class to the required nodes, using the default options:

    class {'azure': }
    

    Configurable options (with their defaults) are:

    $provisioning               = 'y'
    $delete_root_password       = 'y'
    $regenerate_ssh_key         = 'y'
    $ssh_key_type               = 'rsa' # Valid values are: rsa, dsa, ecdsa
    $monitor_hostname           = 'y'
    $resource_disk_format       = 'y'
    $resource_disk_filesystem   = 'ext4'
    $resource_disk_mountpoint   = '/mnt/resource'
    $resource_disk_swap         = 'y'
    $resource_disk_swap_size    = '4096'
    $verbose_logs               = 'n'
    

    The module also adds some Azure facts. The code for which is modified from work by Panagiotis Papadomitsos.

    The following facts should be available:

    azure => true
    azure_deployment_id => 9f108ac9fd3a4a6bb400b2867a11d0e2
    azure_instance_type => Extra Large
    azure_local_hostname => absinthe.local
    azure_local_ipv4 => 10.7.1.143
    azure_location => europewest
    azure_location_pretty => West Europe
    azure_public_hostname => testruby.cloudapp.net
    azure_public_ipv4 => 192.1.2.1
    azure_resourcedisk_device => /dev/sdb1
    azure_resourcedisk_filesystem => "/dev/sbd"
    azure_resourcedisk_mount => false
    azure_resourcedisk_mountpoint => "/dev/test"
    azure_resourcedisk_swap_enabled => true
    azure_resourcedisk_swap_size => 80
    

    License

    Apache 2.0

    Contact

    James Turnbull james@puppetlabs.com

    Support

    Please log tickets and issues here.