Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

MCollective Data Plugin to retrieve Sysctl values on Linux

Notifications You must be signed in to change notification settings

choria-legacy/mcollective-sysctl-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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