- Description
- Setup - The basics of getting started with azurelaagent
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Install the Azure Log Analytics agent on Linux and Windows. This is a beta module, feel free to contribute.
The module have the dependecies:
- puppetlabs-stdlib
- puppetlabs-powershell
- Require powershell version 3 or major to use the Invoke-WebRequest cmdlet
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',
}
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'
See reference.
OS compatibility: tested on Ubuntu 16.04 and Windows Server 2012 R2.
Contributions are welcome!