Sha256: cd0125acb23468b38ddd751fdff1d8cd01f0da2d2548edb63e886e610a6cc180
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 Bytes
Contents
class Setting class Salt < ::Setting def self.default_settings [ set('salt_namespace_pillars', N_("Namespace Foreman pillars under 'foreman' key"), false), set('salt_hide_run_salt_button', N_('Hide the Run Salt state.highstate button on the host details page'), false), ] end def self.load_defaults super Setting['salt_hide_run_salt_button'] = true if ForemanSalt.with_remote_execution? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_salt-14.1.0 | app/models/setting/salt.rb |