choria-legacy / mcollective-sysctl-data

MCollective Data Plugin to retrieve Sysctl values on Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sysctl Data Plugin

Deprecation Notice

This repository holds legacy code related to The Marionette Collective project. That project has been deprecated by Puppet Inc and the code donated to the Choria Project.

Please review the Choria Project Website and specifically the MCollective Deprecation Notice for further information and details about the future of the MCollective project.

Introduction

This plugin can retrieve a value from a sysctl variable to be used in agents and discovery.

Sample usage to select all machines where ipv4 forwarding is enabled:

$ mco find -S "sysctl('net.ipv4.conf.all.forwarding').value=1"

Portability

This plugin works on all systems where sysctl(8) is installed as /sbin/sysctl such as Linux, *BSD, etc.

Installation

About

MCollective Data Plugin to retrieve Sysctl values on Linux


Languages

Language:Ruby 76.3%Language:HTML 15.2%Language:PLSQL 8.2%Language:Makefile 0.3%