Issue #4995 has been updated by Jonas Genannt.
I think you can check if lxc-* binaries and /cgroup is mounted, than the system is an LXC "master" that can run containers Inside an LXC container it's a little bit harder. Checking for cgroups at "/proc/self/status" tells us only, that the process is inside an cgroup not inside an LXC container. ---------------------------------------- Feature #4995: LXC Container support https://projects.puppetlabs.com/issues/4995 Author: Jonas Genannt Status: Investigating Priority: Low Assignee: Category: library Target version: Keywords: virtual,lxc Branch: Affected Facter version: The virtual fact for facter should support lxc containers. For more information about lxc: http://lxc.sourceforge.net/ We can detect an running lxc master system, if /cgroup is mounted on the system. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
