Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nibalizer/puppet-lxcfact
Puppet module to bring in facts relating to LXC
https://github.com/nibalizer/puppet-lxcfact
Last synced: about 1 month ago
JSON representation
Puppet module to bring in facts relating to LXC
- Host: GitHub
- URL: https://github.com/nibalizer/puppet-lxcfact
- Owner: nibalizer
- Created: 2014-01-28T19:13:35.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-28T21:20:26.000Z (almost 11 years ago)
- Last Synced: 2024-10-26T20:11:17.742Z (about 2 months ago)
- Language: Ruby
- Size: 121 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
puppet-lxcfact
==============This is a trivial module to pluginsync a fact to detect if a host is an LXC or not. Simply add this module to your modulepath and a fact ``is_container`` will appear.
Example
-------After installing the module and pluginsyncing it over to an LXC you can verify behavior by:
[root@ol63cont facter]# facter -p | grep is_container
is_container => falseFunctionality
-------------This fact is tested on Oracle Enterprise Linux 5 containers on an OEL6 host which have no /dev/mem exposed by default for security reasons. It would be excellent to see some pull requests to add support for LXCs of other types and on other host platforms.
License
-------Apache 2.0