随笔分类 -  saltstack

摘要:gem.sources_list List the configured gem sources. :param gem_bin: string : None Full path to binary to use. :param ruby: string : None If RVM or rbenv 阅读全文
posted @ 2020-03-28 21:00 random_lee 阅读(115) 评论(0) 推荐(0)
摘要:freezer.restore Make sure that the system contains the packages and repos from a frozen state. Read the list of packages and repositories from the fre 阅读全文
posted @ 2020-03-28 20:59 random_lee 阅读(150) 评论(0) 推荐(0)
摘要:firewalld.remove_interface Remove an interface bound to a zone New in version 2016.3.0 CLI Example: salt ' ' firewalld.remove_interface zone eth0 fire 阅读全文
posted @ 2020-03-28 20:58 random_lee 阅读(206) 评论(0) 推荐(0)
摘要:file.apply_template_on_contents Return the contents after applying the templating engine contents template string template template format context Ove 阅读全文
posted @ 2020-03-28 20:56 random_lee 阅读(336) 评论(0) 推荐(0)
摘要:event.fire Fire an event on the local minion event bus. Data must be formed as a dict. CLI Example: salt ' ' event.fire '{"data":"my event data"}' 'ta 阅读全文
posted @ 2020-03-28 20:54 random_lee 阅读(141) 评论(0) 推荐(0)
摘要:etcd.set New in version 2014.7.0 Set a key in etcd by direct path. Optionally, create a directory or set a TTL on the key. Returns None on failure. CL 阅读全文
posted @ 2020-03-28 20:51 random_lee 阅读(140) 评论(0) 推荐(0)
摘要:environ.items Return a dict of the entire environment set for the salt process CLI Example: salt ' ' environ.items environ.setenv Set multiple salt pr 阅读全文
posted @ 2020-03-28 20:49 random_lee 阅读(159) 评论(0) 推荐(0)
摘要:drbd.overview Show status of the DRBD devices, support two nodes only. CLI Example: salt ' ' drbd.overview 阅读全文
posted @ 2020-03-28 20:48 random_lee 阅读(119) 评论(0) 推荐(0)
摘要:dnsutil.hosts_remove Remove a host from the /etc/hosts file. If doing so will leave a line containing only an IP address, then the line will be delete 阅读全文
posted @ 2020-03-28 20:46 random_lee 阅读(209) 评论(0) 推荐(0)
摘要:dnsmasq.get_config Dumps all options from the config file. config_file The location of the config file from which to obtain contents. Defaults to . CL 阅读全文
posted @ 2020-03-28 20:44 random_lee 阅读(145) 评论(0) 推荐(0)
摘要:django.loaddata Load fixture data Fixtures: comma separated list of fixtures to load CLI Example: salt ' ' django.loaddata django.createsuperuser Crea 阅读全文
posted @ 2020-03-28 20:43 random_lee 阅读(219) 评论(0) 推荐(0)
摘要:disk.tune Set attributes for the specified device CLI Example: salt ' ' disk.tune /dev/sda1 read ahead=1024 read write=True Valid options are: , , , . 阅读全文
posted @ 2020-03-28 20:41 random_lee 阅读(225) 评论(0) 推荐(0)
摘要:dig.mx Return a list of lists for the MX of . If the argument is True, resolve IPs for the servers. It's limited to one IP, because although in practi 阅读全文
posted @ 2020-03-28 20:40 random_lee 阅读(123) 评论(0) 推荐(0)
摘要:devmap.multipath_flush Device Mapper Multipath flush CLI Example: salt ' ' devmap.multipath_flush mpath1 devmap.multipath_list Device Mapper Multipath 阅读全文
posted @ 2020-03-28 20:38 random_lee 阅读(130) 评论(0) 推荐(0)
摘要:defaults.update defaults.update Allows to set defaults for group of data set e.g. group for nodes. This function is a combination of defaults.merge an 阅读全文
posted @ 2020-03-28 20:37 random_lee 阅读(140) 评论(0) 推荐(0)
摘要:data.items Get items from the minion datastore New in version 2015.8.0 CLI Example: salt ' ' data.items data.dump Replace the entire datastore with a 阅读全文
posted @ 2020-03-28 20:35 random_lee 阅读(169) 评论(0) 推荐(0)
摘要:cryptdev.active List existing device mapper device details. cryptdev.crypttab List the contents of the crypttab CLI Example: salt ' ' cryptdev.cryptta 阅读全文
posted @ 2020-03-28 20:34 random_lee 阅读(113) 评论(0) 推荐(0)
摘要:cron.write_cron_file Writes the contents of a file to a user's crontab CLI Example: salt ' ' cron.write_cron_file root /tmp/new_cron Changed in versio 阅读全文
posted @ 2020-03-28 20:33 random_lee 阅读(294) 评论(0) 推荐(0)
摘要:cp.list_master_dirs List all of the directories stored on the master CLI Example: salt ' ' cp.list_master_dirs cp.recv_chunked This function receives 阅读全文
posted @ 2020-03-28 20:31 random_lee 阅读(260) 评论(0) 推荐(0)
摘要:container_resource.cache_file Wrapper for cp.cache_file which raises an error if the file was unable to be cached. CLI Example: salt myminion containe 阅读全文
posted @ 2020-03-28 20:30 random_lee 阅读(124) 评论(0) 推荐(0)