Sha256: 88789e2746bcd3748bdf41879a0f62d822b3c1288458a542fcf66e9beb8c63fd
Contents?: true
Size: 424 Bytes
Versions: 8
Compression:
Stored size: 424 Bytes
Contents
class Setting::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
Version data entries
8 entries across 8 versions & 1 rubygems