Skip to content

[develop] Merge forward from 2016.3 to develop - #33193

Merged
cachedout merged 57 commits into
saltstack:developfrom
rallytime:merge-develop
May 12, 2016
Merged

cachedout merged 57 commits into
saltstack:developfrom
rallytime:merge-develop

Conversation

@rallytime

Copy link
Copy Markdown
Contributor

Conflicts:

  • salt/cloud/clouds/nova.py
  • salt/cloud/deploy/bootstrap-salt.sh
  • salt/utils/minion.py

Nicole Thomas and others added 30 commits May 3, 2016 08:56
* add file.managed with pillar data tests

* do not require git for other tests
* Fix file_test.test_symlink on 2015.5

* Fix failing user present test
…ack#33025)

* add test for installing package while using salt-call --local

* fix pylint
Bugfix: Restore boolean values from the repo configuration
ssh docs: install py-2.6 for RHEL 5
* salt-cloud: fix ipv6-only virtual machines

* fix hostname for rsync fallback in scp_file function

* use 4 spaces instead of 2

* remove global variable, use direct socket call instead
Conflits:
  - salt/minion.py
  - tests/integration/states/file.py
[2015.8] Merge forward from 2015.5 to 2015.8
Method _finger_fail method from SAuth to AsyncAuth class to make method available
in both class and fix an issue where _finger_Fail is called inside AsyncAuth.
…nger_stacktrace

Moved _finger_fail method to parent class.
* Fix servermanager module

- Added check for 2008 version of windows
- Added Import-Module ServerManager to _pshell_json.
  Apparently this needs to run each time we issue a
  servermanager command.

* Fix list_available
* salt.utils.gitfs: fix formatting for warning messages

When git_pillar support was added to salt.utils.gitfs, the
recommendation globals had string formatting placeholders added to them,
but the locations where these values are referenced do not call
``.format()`` to properly replace them. This commit fixes that
oversight.

* Remove more gitfs and master-specific wording from log messages
[2016.3] Merge forward from 2015.8 to 2016.3
* Add mock function for mocking decorators

* Mock the stdlib user module because importing it will open the repl
stk0vrfl0w and others added 27 commits May 10, 2016 07:33
When creating a new user, if a group of the same name already exists,
the usermgmt.conf file is consulted to determine the primary group.
It's in these cases that the parsing bug is triggered.

This code change addresses several of the existing issues:

- The previous split statement explicitly specified a single space.
  Since a config line may have any number of spaces and/or tabs
  surrounding the entries, the resulting array's elements may be
  incorrect.

- According to the man pages for usermgmt.conf, the "group" config
  entry accpets a single parameter -- so we shouldn't iterate.

- The "val[1]" was returning the 2nd letter of each word and not the
  second word on the config line as intended.
* Move salt-ssh thin dir location to /var/tmp

Closes saltstack#32771

* Remove performance penelty language
… salt-call (saltstack#33100)

* If cache_jobs: True is set, populate the local job cache

Fixes saltstack#32834

Allows a masterless minion to query the job cache.

* Refactor cache_jobs functionality to be DRY
Conflicts:
  - doc/conf.py
[2015.8] Merge forward from 2015.5 to 2015.8
…ll_test

Skipping salt-call --local test
[2015.8] Merge forward from 2015.5 to 2015.8
* Handle empty acl_name in linux_acl state

Calls to setfacl interpret an empty group or user name to mean to be the
owner of the file they're operating on. For example, for a directory
owned by group 'admin', the ACL 'default:group::rwx' is equivalent to
'default:group:admin:rwx'.

The output of the getfacl execution module returns ACLs in the format of
'group:admin:rwx' instead of 'group::rwx'. This commit changes the
acl.present state to look for the owner of the file if the acl_name
paremeter is empty.

* Fix acl.present/acl.absent changing default ACLs

The behaviour of the acl.present and acl.absent is to check the data
structure returned by getfacl contains a key by the name of acl_type.

However, this data structure does not contain any default ACLs if none
exist, so this check will fail. We omit the check if a default ACL was
passed into the state functions.

Unfortunately, the call to modfacl may fail if the user passes in an
acl_type such as 'default:random'. In this case the state will appear to
succeed, but do nothing.

This fixes the state module to allow setting default ACLs on files which
have none.
* Hash fileclients by opts

There was an issue whereby the cache of the fileclient was being overwritten
by dueling minion instances in multimaster mode. This protects them by hashing
by the id of opts.

Closes saltstack#25040

* Silly typo!

* Remove tests which do not test any actual functionality or are too tightly coupled to the implementation
Conflicts:
  - salt/minion.py
* Add option to strip off domain names on computer names that come from LDAP/AD

* Add strip_domains option for ldap.

* Add documentation for auth.ldap.minion_stripdomains.
[2016.3] Merge forward from 2015.8 to 2016.3
* fix pip!!

* make it work with old pip as well

* Added resiliency

* Don't need to check, just get the right name
Conflicts:
  - salt/cloud/deploy/bootstrap-salt.sh
[2015.8] Merge forward from 2015.5 to 2015.8
Conflicts:
  - salt/cloud/deploy/bootstrap-salt.sh
[2016.3] Merge forward from 2015.8 to 2016.3
Conflicts:
  - salt/cloud/clouds/nova.py
  - salt/cloud/deploy/bootstrap-salt.sh
  - salt/utils/minion.py
@cachedout
cachedout merged commit 457d9dd into saltstack:develop May 12, 2016
@rallytime
rallytime deleted the merge-develop branch May 12, 2016 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.