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

Latest commit

 

History

History
26 lines (15 loc) · 1013 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 1013 Bytes

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