<s> '''<STR_LIT>''' <EOL> from __future__ import absolute_import <EOL> from salt . utils . schema import ( Schema , <EOL> StringItem , <EOL> IntegerItem , <EOL> SecretItem , <EOL> PortItem , <EOL> BooleanItem , <EOL> RequirementsItem , <EOL> DictItem , <EOL> AnyOfItem <EOL> ) <EOL> from salt . config . schemas . minion import MinionConfiguration <EOL> class RosterEntryConfig ( Schema ) : <EOL> '''<STR_LIT>''' <EOL> title = '<STR_LIT>' <EOL> description = '<STR_LIT>' <EOL> host = StringItem ( title = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> pattern = r'<STR_LIT>' , <EOL> min_length = <NUM_LIT:1> , <EOL> required = True ) <EOL> port = PortItem ( title = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> default = <NUM_LIT> ) <EOL> user = StringItem ( title = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> default = '<STR_LIT:root>' , <EOL> min_length = <NUM_LIT:1> , <EOL> required = True ) <EOL> passwd = SecretItem ( title = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> min_length = <NUM_LIT:1> ) <EOL> priv = StringItem ( title = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> min_length = <NUM_LIT:1> ) <EOL> passwd_or_priv_requirement = AnyOfItem ( items = ( RequirementsItem ( requirements = [ '<STR_LIT>' ] ) , <EOL> RequirementsItem ( requirements = [ '<STR_LIT>' ] ) ) ) ( flatten = True ) <EOL> sudo = BooleanItem ( title = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> default = False ) <EOL> timeout = IntegerItem ( title = '<STR_LIT>' , <EOL> description = ( '<STR_LIT>' <EOL> '<STR_LIT>' ) ) <EOL> thin_dir = StringItem ( title = '<STR_LIT>' , <EOL> description = ( '<STR_LIT>' <EOL> '<STR_LIT>' ) ) <EOL> minion_opts = DictItem ( title = '<STR_LIT>' , <EOL> description = '<STR_LIT>' , <EOL> properties = MinionConfiguration ( ) ) <EOL> class RosterItem ( Schema ) : <EOL> title = '<STR_LIT>' <EOL> description = '<STR_LIT>' <EOL> roster_entries = DictItem ( <EOL> pattern_properties = { <EOL> r'<STR_LIT>' : RosterEntryConfig ( ) } ) ( flatten = True ) </s>
