--- # Based on the 2018.3.2 salt release # This is a partial state/function/parameter database based on the states I use # Please submit merge requests for additional coverage type: basic: - boolean - char - dict - list - string - solos # string_or_list_of_strings: String | [String] template: - cheetah - genshi - jinja - mako - py - wempy # global state arguments globals: - check_cmd - fire_event - listen - listen_in - mod_run_check - mod_run_check_cmd - onchanges - onchanges_any - onchanges_in - onfail - onfail_any - onfail_in - onlyif - prereq - prereq_in - require - require_in - require_any - reload_grains - reload_modules - reload_pillar - retry # additional parameter checking available here (attempts, until, interval, splay) - runas - unas_password - unless - use - use_in - watch - watch_any - watch_in # states: # state-name: # function-name: # parameter: type # ... # ... # ... states: file: directory: allow_symlink: boolean backupname: string children_only: boolean clean: integer dir_mode: string exclude_pat: boolean file_mode: string follow_symlinks; boolean force: boolean group: string makedirs: boolean max_depth: integer mode: string name: string recurse: list user: string win_owner: string win_perms: dict win_deny_perms: dict win_inheritence: boolean win_perms_reset: boolean managed: allow_empty: boolean attrs: string backup: string check_cmd: string contents: solos contents_delimiter: char contents_grains: string contents_newline: boolean contents_pillar: string context: dict create: boolean defaults: dict dir_mode: string encoding: stirng encoding_errors: string follow_symlinks: boolean group: string keep_source: boolean makedirs: boolean mode: string name: string replace: boolean skip_verify: boolean show_changes: boolean source: solos source_hash: string source_hash_name: string template: template tmp_ext: string user: string win_deny_perms: dict win_inheritance: boolean win_owner: string win_perms: dict win_perms_reset: boolean missing: name: string touch: atime: string mtime: string makedirs: boolean name: string pkg: installed: allow_updates: boolean cache_valid_time: string fromrepo: string hold: boolean ignore_epoch: boolean ignore_types: list install_recommends: boolean name: string names: list normalize: bool only_upgrade: boolean pkg_verify: bool pkgs: list refresh: boolean report_reboot_exit_codes: boolean resolve_capabilities: boolean skip_suggestions: boolean skip_verify: boolean sources: list update_holds: boolean verify_options: list version: string selinux: mode: name: string service: enabled: name: string running: enable: boolean init_delay: integer name: string no_block: boolean sig: string unmask: boolean unmask_runtime: boolean