Forge Home


The Azure module installs and configures the Windows Azure Linux agent. Note that this module has now moved to


17,575 latest version

2.0 quality score

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.



    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


    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 =>
    azure_location => europewest
    azure_location_pretty => West Europe
    azure_public_hostname =>
    azure_public_ipv4 =>
    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


    Apache 2.0


    James Turnbull


    Please log tickets and issues here.