Skip to content

Commit

Permalink
More inflections
Browse files Browse the repository at this point in the history
  • Loading branch information
ezr-ondrej authored and ofedoren committed Jun 27, 2022
1 parent 6450f75 commit 5143712
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/models/hostgroup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Hostgroup < ApplicationRecord
property :pxe_loader, String, desc: 'Returns boot loader to be applied on each host within this host group'
property :title, String, desc: 'Returns full title of this host group, e.g. Base/CentOS 7'
end
class Jail < Safemode::Jail
class Jail < ::Safemode::Jail
allow :id, :name, :diskLayout, :puppet_server, :operatingsystem, :architecture,
:ptable, :url_for_boot, :params, :puppet_proxy, :puppet_ca_server,
:os, :arch, :domain, :subnet, :subnet6, :hosts, :realm,
Expand Down
4 changes: 2 additions & 2 deletions app/services/proxy_status/puppetca.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ProxyStatus
class PuppetCA < Base
class Puppetca < Base
def certs
fetch_proxy_data('/certs') do
api.all.map do |name, properties|
Expand Down Expand Up @@ -71,4 +71,4 @@ def api_class
end
end
end
ProxyStatus.status_registry.add(ProxyStatus::PuppetCA)
ProxyStatus.status_registry.add(ProxyStatus::Puppetca)
7 changes: 5 additions & 2 deletions config/initializers/zeitwerk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
'external_ipam' => 'ExternalIPAM',
'bmc' => 'BMC',
'ui_notifications' => 'UINotifications',
'ipam' => 'IPAM',
'ssh' => 'SSH',
'ssh_provision' => 'SSHProvision',
'ipam' => 'IPAM'
'ssh_execution_provider' => 'SSHExecutionProvider',
'keep_current_request_id' => 'KeepCurrentRequestID'
)
end
Rails.autoloaders.log!
# Rails.autoloaders.log!

0 comments on commit 5143712

Please sign in to comment.