随笔分类 - saltstack
摘要:extfs.attributes Return attributes from dumpe2fs for a specified device CLI Example: salt ' ' extfs.attributes /dev/sda1 extfs.tune Set attributes for
阅读全文
摘要:ethtool.show_driver Queries the specified network device for associated driver information CLI Example: salt ' ' ethtool.show_driver ethtool.show_ring
阅读全文
摘要:apache.useradd Add HTTP user using the command. If the file does not exist, it will be created. Valid options that can be passed are: n Don't update f
阅读全文
摘要:ip.get_bond Return the content of a bond script CLI Example: salt ' ' ip.get_bond bond0 ip.get_routes Return the contents of the interface routes scri
阅读全文
摘要:iosconfig.diff_text Return the diff, as text, between the candidate and the running config. candidate_config The candidate configuration sent as text.
阅读全文
摘要:introspect.service_highstate Return running and enabled services in a highstate structure. By default also returns package dependencies for those serv
阅读全文
摘要:inspector.query Query the node for specific information. Parameters: scope : Specify scope of the query. System : Return system data. Software : Retur
阅读全文
摘要:ini.remove_option Remove a key/value pair from a section in an ini file. Returns the value of the removed key, or if nothing was removed. API Example:
阅读全文
摘要:incron.rm_job Remove a incron job for a specified user. If any of the day/time params are specified, the job will only be removed if the specified par
阅读全文
摘要:http.query New in version 2015.5.0 Query a resource, and decode the return data Passes through all the parameters described in the :py:func: : .. auto
阅读全文
摘要:hosts.has_pair Return true if the alias is set CLI Example: salt ' ' hosts.has_pair hosts.get_ip Return the ip associated with the named host CLI Exam
阅读全文
摘要:highstate_doc.read_file output the contents of a file: this is a workaround if the cp.push module does not work. https://github.com/saltstack/salt/iss
阅读全文
摘要:hashutil.base64_b64encode Encode a string as base64 using the "modern" Python interface. Among other possible differences, the "modern" encoder does n
阅读全文
摘要:group.delete Remove the named group name Name group to delete root Directory to chroot into CLI Example: salt ' ' group.delete foo group.members Repla
阅读全文
摘要:grains.equals Used to make sure the minion's grain key/value matches. Returns if matches otherwise . New in version 2017.7.0 CLI Example: salt ' ' gra
阅读全文
摘要:grafana4.get_org Show a single organization. name Name of the organization. profile Configuration profile used to connect to the Grafana instance. Def
阅读全文
摘要:google_chat.send_message Send a message to the google chat room specified in the webhook url. salt ' ' google_chat.send_message "https://chat.googleap
阅读全文
摘要:gnome.setIdleActivation Set whether the idle activation is enabled CLI Example: salt ' ' gnome.setIdleActivation user= gnome.getIdleActivation Get whe
阅读全文
摘要:glassfish.update_connector_c_pool Update a connection pool glassfish.update_jdbc_resource Update a JDBC resource glassfish.enum_connector_resource Enu
阅读全文
摘要:genesis.mksls Convert an installation file/script to an SLS file. Currently supports , , and . CLI Examples: salt genesis.mksls kickstart /path/to/kic
阅读全文