2017-11-29 16:54:52 +00:00
|
|
|
class Sequencer
|
|
|
|
class Unit
|
|
|
|
module Import
|
|
|
|
module Ldap
|
|
|
|
module User
|
|
|
|
module Attributes
|
|
|
|
class Static < Sequencer::Unit::Base
|
|
|
|
include ::Sequencer::Unit::Import::Common::Mapping::Mixin::ProvideMapped
|
2017-12-21 11:19:30 +00:00
|
|
|
prepend ::Sequencer::Unit::Import::Common::Model::Mixin::Skip::Action
|
2017-11-29 16:54:52 +00:00
|
|
|
|
2017-12-21 11:19:30 +00:00
|
|
|
skip_any_action
|
2017-11-29 16:54:52 +00:00
|
|
|
|
|
|
|
def process
|
|
|
|
provide_mapped do
|
|
|
|
{
|
|
|
|
# we have to add the active state manually
|
|
|
|
# because otherwise disabled instances won't get
|
|
|
|
# re-activated if they should get synced again
|
|
|
|
active: true,
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|