Forge Home

azurelaagent

Install and configure Azure Log Analytics Agent

6,927 downloads

1,146 latest version

4.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.

Version information

  • 0.1.5 (latest)
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
  • 0.0.9
released Feb 16th 2021
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 <= 7.4.0
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'oraziobattaglia-azurelaagent', '0.1.5'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add oraziobattaglia-azurelaagent
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install oraziobattaglia-azurelaagent --version 0.1.5

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

oraziobattaglia/azurelaagent — version 0.1.5 Feb 16th 2021

azurelaagent

Table of Contents

  1. Description
  2. Setup - The basics of getting started with azurelaagent
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

Install the Azure Log Analytics agent on Linux and Windows. This is a beta module, feel free to contribute.

Setup

What azurelaagent affects

The module have the dependecies:

  • puppetlabs-stdlib
  • puppetlabs-powershell

Setup Requirements

  • Require powershell version 3 or major to use the Invoke-WebRequest cmdlet

Beginning with azurelaagent

Example

To install the agent

  class { 'azurelaagent':
    azure_id     => 'your_workspace_id',
    azure_shared => 'your_shared_key',
  }

To modify workspace id and key after installation

  class { 'azurelaagent::config':
    azure_id     => 'your_workspace_id',
    azure_shared => 'your_shared_key',
  }

To modify the proxy settings after installation

Unauthenticated proxy

  class {'azurelaagent::config_proxy':
    proxy_server   => 'http://your.proxy:port',
  }

Authenticated proxy

  class {'azurelaagent::config_proxy':
    proxy_server   => 'http://your.proxy:port',
    proxy_user     => 'username',
    proxy_password => 'password',
  }

To remove the proxy settings after installation

  class {'azurelaagent::config_proxy':
    ensure => 'absent',
  }

To uninstall the agent

  class { 'azurelaagent':
    ensure => 'absent',
  }

Usage

If you need to change specific data in Linux or Windows installation use yaml files like

azurelaagent::install_linux::x64_download_path: 'https://github.com/Microsoft/OMS-Agent-for-Linux/releases/download/OMSAgent_v1.8.1.256/omsagent-1.8.1-256.universal.x64.sh'
azurelaagent::install_windows::x64_download_path: 'https://go.microsoft.com/fwlink/?LinkId=828603'

Reference

See reference.

Limitations

OS compatibility: tested on Ubuntu 16.04 and Windows Server 2012 R2.

Development

Contributions are welcome!

Release Notes/Contributors/Etc.