mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge branch 'develop' of github.com:saltstack/salt into develop
This commit is contained in:
commit
05a842a5d8
@ -24,14 +24,17 @@ specified user. This configuration is much like the ``peer`` configuration:
|
||||
Permission Issues
|
||||
=================
|
||||
|
||||
Earlier versions of salt set overly restrictive permissions on some of the
|
||||
directories required for ``client_acl`` support. These directories will need
|
||||
to be manually modified if upgrading from an earlier version.
|
||||
Directories required for ``client_acl`` must be modified to be readable by the
|
||||
users specified:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
chmod 755 /var/cache/salt /var/cache/salt/jobs /var/run/salt
|
||||
|
||||
If you are upgrading from earlier versions of salt you must also remove any
|
||||
existing user keys and re-start the Salt master:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
chmod 755 /var/cache/salt
|
||||
chmod 755 /var/cache/salt/jobs
|
||||
chmod 755 /var/run/salt
|
||||
rm /var/cache/salt/.*keys
|
||||
service salt-master restart
|
||||
|
@ -34,6 +34,9 @@ class CustomeConstructor(yaml.constructor.SafeConstructor):
|
||||
raise ConstructorError(None, None,
|
||||
'expected a mapping node, but found {0}'.format(node.id),
|
||||
node.start_mark)
|
||||
|
||||
self.flatten_mapping(node)
|
||||
|
||||
mapping = {}
|
||||
for key_node, value_node in node.value:
|
||||
key = self.construct_object(key_node, deep=deep)
|
||||
|
Loading…
Reference in New Issue
Block a user