Sha256: 9acf7241c25c5ee514732c6e1003552acfcba6455f6a6cf6ed3a20b183a978ab
Contents?: true
Size: 703 Bytes
Versions: 11
Compression:
Stored size: 703 Bytes
Contents
require 'foreman_templates/engine' module ForemanTemplates BASE_SETTING_NAMES = %w(repo branch dirname filter negate).freeze IMPORT_SETTING_NAMES = (BASE_SETTING_NAMES | %w(prefix associate force lock)).freeze EXPORT_SETTING_NAMES = (BASE_SETTING_NAMES | %w(metadata_export_mode commit_msg)).freeze def self.associate_types { 'always' => _('Always'), 'new' => _('New'), 'never' => _('Never') } end def self.lock_types { 'lock' => _('Lock'), 'keep_lock_new' => _('Keep, lock new'), 'keep' => _('Keep, do not lock new'), 'unlock' => _('Unlock') } end def self.metadata_export_mode_types { 'refresh' => _('Refresh'), 'keep' => _('Keep'), 'remove' => _('Remove') } end end
Version data entries
11 entries across 11 versions & 1 rubygems