Commit Graph

76449 Commits

Author SHA1 Message Date
Sergey Kizunov
97bf90c5c9 Windows: Fix exception when certain grains are None
Certain grains may be set to `None` due to PR #37593. When either
the `manufacturer` or `productname` grain is `None` due to the cleaning
feature from the above referenced PR, an exception will be thrown that
looks like:

```
File "...\salt\grains\core.py", line 442, in _windows_virtual
  if 'QEMU' in osdata.get('manufacturer', ''):
TypeError: argument of type 'NoneType' is not iterable
```

Fix this by making `_windows_virtual` tolerant to grains that have
a value of `None`.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2016-12-01 14:02:48 -06:00
Nicole Thomas
79486421f5 Merge pull request #38026 from rallytime/bp-38015
Back-port #38015 to 2016.11
2016-12-01 12:16:15 -07:00
rallytime
0eab0ee8a6 Merge branch '2016.11' into 'develop'
Conflicts:
  - doc/topics/releases/2016.11.0.rst
2016-12-01 12:14:33 -07:00
David Murphy
3bca96e7f2 Updated to return status from make_repo similar to rpmbuild.py 2016-12-01 11:45:10 -07:00
Erik Johnson
9bf13d55b4 Pass full_return to saltutil.runner
This preserves the traditional return data structure for normal usage
while allowing for the full return in orchestration.
2016-12-01 12:18:05 -06:00
m03
62479f2792 Fix comment 2016-12-01 09:57:43 -08:00
Konrad Mosoń
11becf3e68 Typo fix 2016-12-01 10:23:27 -07:00
Dmitry Kuzmenko
e51448f5ed Added Carbon release notes. Fixed sphinx errors in the file. (#38022) 2016-12-01 09:59:15 -07:00
Konrad Mosoń
015f5b8105 Typo fix (#38015) 2016-12-01 09:54:21 -07:00
Nicole Thomas
6f34332e87 Adjust code examples to use the actual bootstrap-salt.sh file name (#38011) 2016-12-01 09:01:25 -07:00
Daniel Wallace
1aa43eba80 Expand error message for postgres states
Also revert pg_bin back to bins_dir
2016-12-01 09:40:00 -06:00
Daniel Wallace
ac72ee600e Revert "Updated the bins_dir to default to pg_bin #37935"
This reverts commit a96789353f.
2016-12-01 09:34:34 -06:00
Claudiu Popescu
612411095a Pylint fix 2016-12-01 16:23:30 +02:00
Matei Albu
7037fa116d Add master_tops support in salt-ssh 2016-12-01 14:38:51 +01:00
Claudiu Popescu
d532ad78ea Icinga2 module fixes 2016-12-01 12:51:35 +02:00
Steven Joseph
3fbf5fcdba Fix 'changes' for pip.installed from requirements
- add more lines for matching no change from pip
2016-12-01 16:55:47 +11:00
m03
c75f360fd0 Fix several minor linting issues with aptpkg 2016-11-30 12:33:08 -08:00
Mike Place
84e4fe1bd7 Merge pull request #37998 from Ch3LL/add_init_delay
Add init delay
2016-11-30 13:23:01 -07:00
Mike Place
1e3bb2e12a Newline for lint 2016-11-30 13:22:53 -07:00
Nicole Thomas
6942d5d95b Merge pull request #37995 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-11-30 13:12:55 -07:00
Sebastian Vela
cd66c179cb fix broken yaml code block (#38002) 2016-11-30 13:12:24 -07:00
Erik Johnson
23bb90a7ce Add integration test for archive.extracted with user/group set to root 2016-11-30 13:11:41 -06:00
Erik Johnson
e5ee721696 Don't use simple boolean check on uid/gid
This breaks setting the user/group to root as its uid/gid is 0.
2016-11-30 13:10:55 -06:00
Mike Place
b7a39fa680 Merge pull request #37933 from twangboy/win_network_functions
Add functions from network.py to win_network.py
2016-11-30 11:29:51 -07:00
Mike Place
6ffea40dee Merge pull request #37813 from twangboy/windows_perms
Windows Perms for file.directory and file.managed
2016-11-30 11:12:26 -07:00
Mike Place
3dd45fbedf Merge pull request #37912 from attiasr/fix_aws_response_encoding
fix encoding problem aws responses
2016-11-30 11:10:30 -07:00
Mike Place
69a74a4d2d Merge pull request #37950 from vutny/fix-starting-up-syndic
Set default Salt Master address for a Syndic (like for a Minion)
2016-11-30 11:09:03 -07:00
Mike Place
0a041277ea Merge pull request #37954 from gtmanfred/2016.11
use sleep from path for docker.sls_build
2016-11-30 11:08:44 -07:00
Mike Place
4ef5c98845 Merge pull request #37993 from ticosax/remove-initdb-requirement
Remove initdb dependency to consume postgres module.
2016-11-30 11:08:13 -07:00
Erik Johnson
a74fc5bd47 Add expr_form deprecation to Nitrogen release notes 2016-11-30 11:57:40 -06:00
Mike Place
63c9130187 Merge pull request #37999 from cachedout/gem_test_develop
Fix gem test (develop)
2016-11-30 10:57:27 -07:00
Mike Place
b158bb6557
Fix gem test (develop) 2016-11-30 10:56:41 -07:00
Ch3LL
f2e5d4e614 add version added 2016-11-30 10:39:25 -07:00
Ch3LL
8c9e9de335 change name 2016-11-30 10:27:37 -07:00
Ch3LL
1d52c18316 add init_delay option for service.dead state module 2016-11-30 10:22:05 -07:00
Mike Place
2e5565685c Merge pull request #37997 from cachedout/gem_test_carbon
Update gem test for 2016.11
2016-11-30 10:13:45 -07:00
Mike Place
1d221aa91c
Update gem test for 2016.11 2016-11-30 09:44:56 -07:00
twangboy
ecba55ce61 Fix some more lint 2016-11-30 09:44:51 -07:00
rallytime
b44e17921c Merge branch '2015.8' into '2016.3'
No conflicts.
2016-11-30 09:21:45 -07:00
Daniel Wallace
9caf0b406d use sleep from path for docker.sls_build
sleep sometimes is found in /bin/sleep, like in ubuntu.  We should just
depend on the PATH variable being correct, and finding sleep, instead of
explicitly saying /usr/bin/sleep
2016-11-30 10:17:30 -06:00
Rudy Attias
ba4ec4e7f1 use Requests result encoding to encode the text 2016-11-30 18:13:06 +02:00
Mike Place
0af7bd527d Merge pull request #37989 from alexbleotu/schema_updates-gh
Schema updates gh
2016-11-30 09:06:49 -07:00
Nicolas Delaby
c5c7a53d72 Remove initdb dependency to consume postgres module. 2016-11-30 17:06:17 +01:00
Mike Place
c8380cf2c9 Merge pull request #37953 from m03/another-set-of-aptpkg-tests
Additional aptpkg module unit tests
2016-11-30 09:02:21 -07:00
Mike Place
8f351644b5 Merge pull request #37960 from rallytime/proxy-grains-merge-switch
Switch proxy_merge_grains_in_module option default from False to True
2016-11-30 09:00:56 -07:00
Denys Havrysh
7d9bc9abce syndic_master: correct default value, documentation and example config 2016-11-30 17:18:44 +02:00
Mike Place
b0d090ecfd Merge pull request #37967 from Cybolic/fix_ec2_drive_setup
Fixed faulty logic preventing instance initialisation.
2016-11-30 07:40:57 -07:00
Mike Place
8b3a01b3d7 Merge pull request #37973 from rallytime/nitrogen-deprecations-saltapi-class
[Nitrogen Deprecation] Remove SaltAPI.run() function
2016-11-30 07:40:09 -07:00
Mike Place
d764e3e24b Merge pull request #37974 from rallytime/nitrogen-beacon-deprecation
[Nitrogen Deprecation] Beacons config should be a list not a dict now
2016-11-30 07:36:26 -07:00
Mike Place
a38c721290 Merge pull request #37977 from rallytime/nitrogen-deprecation-ssh-wipe
[Nitrogen Deprecation] Remove warning/support for wipe_ssh
2016-11-30 07:36:03 -07:00