mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix typo wont -> won't
This commit is contained in:
parent
cd72b12161
commit
ca4450d881
3 changed files with 8 additions and 8 deletions
|
@ -1648,7 +1648,7 @@ def mod_repo(repo, saltenv='base', **kwargs):
|
|||
if ``True``, will attempt to de-dup and consolidate sources
|
||||
|
||||
.. note:: Due to the way keys are stored for APT, there is a known issue
|
||||
where the key wont be updated unless another change is made
|
||||
where the key won't be updated unless another change is made
|
||||
at the same time. Keys should be properly added on initial
|
||||
configuration.
|
||||
|
||||
|
|
|
@ -830,7 +830,7 @@ def _network_conf(conf_tuples=None, **kwargs):
|
|||
ret.append({'lxc.network.ipv4.gateway': gateway})
|
||||
# only one network gateway ;)
|
||||
gateway_set = True
|
||||
# normally, this wont happen
|
||||
# normally, this won't happen
|
||||
# set the gateway if specified even if we did
|
||||
# not managed the network underlying
|
||||
if gateway is not None and not gateway_set:
|
||||
|
@ -1933,7 +1933,7 @@ def create(name,
|
|||
if backing in ('dir', 'overlayfs', 'btrfs', 'zfs'):
|
||||
fstype = None
|
||||
size = None
|
||||
# some backends wont support some parameters
|
||||
# some backends won't support some parameters
|
||||
if backing in ('aufs', 'dir', 'overlayfs', 'btrfs'):
|
||||
lvname = vgname = None
|
||||
|
||||
|
@ -3117,7 +3117,7 @@ def set_dns(name, dnsservers=None, searchdomains=None, path=None):
|
|||
# - We also teach resolvconf to use the aforementioned dns.
|
||||
# - We finally also set /etc/resolv.conf in all cases
|
||||
rstr = __salt__['test.rand_str']()
|
||||
# no tmp here, apparmor wont let us execute !
|
||||
# no tmp here, apparmor won't let us execute !
|
||||
script = '/sbin/{0}_dns.sh'.format(rstr)
|
||||
DNS_SCRIPT = "\n".join([
|
||||
# 'set -x',
|
||||
|
@ -3178,7 +3178,7 @@ def running_systemd(name, cache=True, path=None):
|
|||
ret = __context__.get(k, None)
|
||||
if ret is None or not cache:
|
||||
rstr = __salt__['test.rand_str']()
|
||||
# no tmp here, apparmor wont let us execute !
|
||||
# no tmp here, apparmor won't let us execute !
|
||||
script = '/sbin/{0}_testsystemd.sh'.format(rstr)
|
||||
# ubuntu already had since trusty some bits of systemd but was
|
||||
# still using upstart ...
|
||||
|
@ -4285,7 +4285,7 @@ def read_conf(conf_file, out_format='simple'):
|
|||
|
||||
out_format:
|
||||
set to 'simple' if you need the old and unsupported behavior.
|
||||
This wont support the multiple lxc values (eg: multiple network nics)
|
||||
This won't support the multiple lxc values (eg: multiple network nics)
|
||||
|
||||
CLI Examples:
|
||||
|
||||
|
|
|
@ -290,7 +290,7 @@ def running(name, enable=None, sig=None, init_delay=None, **kwargs):
|
|||
if not _available(name, ret):
|
||||
return ret
|
||||
|
||||
# lot of custom init script wont or mis implement the status
|
||||
# lot of custom init script won't or mis implement the status
|
||||
# command, so it is just an indicator but can not be fully trusted
|
||||
before_toggle_status = __salt__['service.status'](name, sig)
|
||||
before_toggle_enable_status = __salt__['service.enabled'](name)
|
||||
|
@ -373,7 +373,7 @@ def dead(name, enable=None, sig=None, **kwargs):
|
|||
ret['result'] = True
|
||||
return ret
|
||||
|
||||
# lot of custom init script wont or mis implement the status
|
||||
# lot of custom init script won't or mis implement the status
|
||||
# command, so it is just an indicator but can not be fully trusted
|
||||
before_toggle_status = __salt__['service.status'](name, sig)
|
||||
before_toggle_enable_status = __salt__['service.enabled'](name)
|
||||
|
|
Loading…
Add table
Reference in a new issue