随笔分类 - saltstack
摘要:consul.session_create Used to create a session. :param consul_url: The Consul server URL. :param lockdelay: Duration string using a "s" suffix for sec
阅读全文
摘要:config.items Return the complete config from the currently running minion process. This includes defaults for values not set in the config file. CLI E
阅读全文
摘要:composer.update Update composer dependencies for a directory. If has not yet been run, this runs instead. If composer has not been installed globally
阅读全文
摘要:cmd.powershell Execute the passed PowerShell command and return the output as a dictionary. Other functions (besides ) return the raw text output of t
阅读全文
摘要:cloud.create Create an instance using Salt Cloud CLI Example: salt minionname cloud.create my ec2 config myinstance image=ami 1624987f size='t1.micro'
阅读全文
摘要:chroot.highstate Retrieve the state data from the salt master for this minion and execute it inside the chroot. root Path to the chroot environment Fo
阅读全文
摘要:buildout.run_buildout Run a buildout in a directory. directory directory to execute in config alternative buildout configuration file to use offline a
阅读全文
摘要:btrfs.usage Show in which disk the chunks are allocated. CLI Example: salt ' ' btrfs.usage /your/mountpoint btrfs.subvolume_exists Check if a subvolum
阅读全文
摘要:beacons.reset Resest beacon configuration on the minion CLI Example: salt ' ' beacons.reset beacons.disable Disable all beacons jobs on the minion :re
阅读全文
摘要:bigip.commit_transaction A function to connect to a bigip device and commit an existing transaction. hostname The host/address of the bigip device use
阅读全文
摘要:artifactory.get_latest_snapshot Gets latest snapshot of the given artifact artifactory_url URL of artifactory instance repository Snapshot repository
阅读全文
摘要:archive.zip Uses the Python module to create zip files Changed in version 2015.5.0 This function was rewritten to use Python's native zip file support
阅读全文
摘要:ansible.list Lists available modules. :return: ansible.playbooks Run Ansible Playbooks :param playbook: Which playbook to run. :param rundir: Director
阅读全文
摘要:aliases.get_target Return the target associated with an alias CLI Example: salt ' ' aliases.get_target alias aliases.rm_alias Remove an entry from the
阅读全文
摘要:alternatives.display Display alternatives settings for defined command name CLI Example: salt ' ' alternatives.display editor alternatives.auto Trigge
阅读全文
摘要:acl.delfacl Remove specific FACL from the specified file(s) CLI Examples: salt ' ' acl.delfacl user myuser /tmp/house/kitchen salt ' ' acl.delfacl def
阅读全文
摘要:获取master配置 实例化 通过grain过滤主机并且返回jid 批量执行 导出所有模块的doc
阅读全文
摘要:如果网页打开较慢 可以下载后查看https://files.cnblogs.com/files/randomlee/salt_modules_doc.md.zip acl.delfacl: Remove specific FACL from the specified file(s) CLI Exa
阅读全文
摘要:安装, "官方文档" 1. 配置阿里云的saltstack镜像仓库 2. 主安装salt master salt minion salt api 3. 从安装salt minion 4. 关闭防火墙 或者打开端口 firewall or iptables 5. 启动服务 配置, "官方文档" mas
阅读全文