Created
June 1, 2016 12:29
-
-
Save traylenator/d03b2738a7410e740f3006315b56ecd9 to your computer and use it in GitHub Desktop.
List of hosts with a param set.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostset = HostParameter.where(name: 'hwdbkopts').map(&:host).reject { |h| ! defined?(h.name) }.select { |h| h.managed == true }.map{|h| h[:name]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment