Advertisement
Guest User

foreman-rake console

a guest
Dec 3rd, 2021
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. [root@it-puppet-tfm01 ~]# foreman-rake console
  2. Loading production environment (Rails 6.0.3.7)
  3. irb(main):001:0> UI.host_descriptions
  4. => [#<UI::HostDescription:0x000055bf67cd88a0 @multiple_actions=[:base_multiple_actions], @overview_fields=[:base_status_overview_fields, :base_host_overview_fields], @overview_buttons=[:base_host_overview_buttons], @title_actions=[:base_host_title_actions]>, #<UI::HostDescription:0x000055bf66a8b030 @multiple_actions=[:puppet_actions], @overview_fields=[:puppet_host_overview_fields], @overview_buttons=[:puppet_host_overview_buttons]>]
  5. irb(main):002:0> UI::HostDescription.reduce_providers(:overview_fields)
  6. => [:base_status_overview_fields, :base_host_overview_fields, :puppet_host_overview_fields]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement