Skip to content

Instantly share code, notes, and snippets.

@tcotav
Last active December 28, 2015 21:39
Show Gist options
  • Save tcotav/7566353 to your computer and use it in GitHub Desktop.
Save tcotav/7566353 to your computer and use it in GitHub Desktop.
Ohai Plugin config to disable irrelevant or poorly performing plugins on windows
Ohai::Config::disabled_plugins= [
#
# add to client.rb file -- c:\chef\client.rb
#
# ref: http://www.slideshare.net/opscode/chef-conf-windowsdougireton # slide 30
# ohai plugins that have poor perf or are irrelevant to windows
#
"c", "cloud", "ec2", "rackspace", "eucalyptus", "command", "dmi", "dmi_common",
"erlang", "groovy", "ip_scopes", "java", "keys", "lua", "mono", "network_listeners",
"passwd", "perl", "php", "python", "ssh_host_key", "uptime", "virtualization",
"windows::virtualization", "windows::kernel_devices"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment