Commit Graph

75586 Commits

Author SHA1 Message Date
Sergey Kizunov
5fe94a46bf Make sure grains hw values are clean
When a hardware value is retrieved via the smbios module, this is
already done. Add hardware value cleaning to all other methods of
retrieving the hardware values.

When the hardware value is not clean, `None` is returned for the
hardware value.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2016-11-09 17:13:37 -06:00
Mike Place
793f82fa29 Merge pull request #37574 from skob/develop
Fix: change tuples to list for key+cert pairs (https).
2016-11-10 11:45:52 +13:00
Amir Pakdel
0810ebb789 Fix the case both DNS count and order changes in Windows (#37587)
In case both number of DNS servers and their order
changes, while checking for the order, we will get
IndexError: list index out of range
2016-11-09 14:05:09 -07:00
Eric Radman
b19440418d Fixes to unit tests (#37586)
Add skipIf pyvmomi is not installed

    NameError: global name 'vmodl' is not defined
    NameError: global name 'vim' is not defined

Fix skipIf typo for OpenBSD

    >>> import sys
    >>> sys.platform
    'openbsd6'

Avoid warning from glusterfs.py:

    Use specific 'len(elem)' or 'elem is not None' test

Enable boto_secgroup_test tests that work now:

    test skipped due to error in moto return - fixed in
    cc01669643
2016-11-09 13:58:08 -07:00
Vasili Syrakis
c6cd39a1c0 Make the match more specific (#37538) 2016-11-09 13:42:11 -07:00
Seth House
b3f436e14d Add a yaml sdb module (#37563)
* Add a yaml sdb module

* Fix bad release codename

* Add default to profile argument
2016-11-09 13:39:50 -07:00
Nicole Thomas
2c6a8748fe Add smartOS RC build instructions back to RC docs (#37581)
And update the links to the new packages
2016-11-09 10:09:03 -07:00
SK
e8d8d9211b Fix: change tuples to list for key+cert pairs (https). 2016-11-09 13:48:33 +03:00
Nicole Thomas
19dcace679 Remove known issues section for rc2 (#37569)
All of these have been fixed in the latest rc
2016-11-08 16:46:01 -07:00
Mike Place
43a2e51d94 Merge pull request #37544 from github-abcde/features/pillar_enc_in_orchestrate
Added pillar_enc variable to orchestrate to be passed through
2016-11-09 12:17:26 +13:00
Nicole Thomas
0564532924 Update release candidate docs with RC2 info (#37564) 2016-11-08 15:26:37 -07:00
Mrten
43bef5fbb9 sqlite is not found in 2015.8 (#37549)
* sqlite is not found in 2015.8 

first appearance is boron

* Update sqlite3.py

change boron to 2016.3.0. as requested
2016-11-08 14:09:51 -07:00
Eric Radman
4cd92980d8 Use 'driver' instead of 'provider' in test cloud configs (#37547)
Running the tests currently provokes a warning from
salt/config/__init__.py:│2275 ("'provider' will be
deprecated in the Nitrogen release")
2016-11-08 09:50:39 -07:00
herbert.buurman
68f445f197 Added pillar_enc variable to orchestrate to be passed through 2016-11-08 12:47:30 +01:00
Mike Place
72b4292a79 Merge pull request #37537 from cachedout/matcher_unit_tests
Additional unit tests
2016-11-08 23:01:02 +13:00
Mike Place
610a198322
Lint 2016-11-08 19:40:48 +13:00
Mike Place
3e848ad126
Cache tests 2016-11-08 18:49:10 +13:00
Mike Place
efef3948ad
Add unit tests for minion targeting 2016-11-08 16:27:36 +13:00
Mike Place
8b0f280998 Merge pull request #37509 from Rumbles/rumbles
Saltstack PPA is no longer maintained - update docs
2016-11-08 13:27:14 +13:00
Mike Place
6d2b2e1881 Slight grammar fix 2016-11-08 13:27:06 +13:00
Mike Place
221f84399d Merge pull request #37518 from Tanoti/elasticsearch_returner_improvements
Improvements and fixes to elasticsearch returner
2016-11-08 13:24:34 +13:00
Mike Place
c2984a9c9c Merge pull request #37521 from genuss/fix_refresh_pillar
refresh_pillar() should be called always with refresh=True during saltutil.sync_all
2016-11-08 12:05:52 +13:00
Nicole Thomas
ffa4631765 Merge pull request #37517 from rallytime/merge-develop
[develop] Merge forward from 2016.11 to develop
2016-11-07 11:26:09 -07:00
rallytime
021cfe3fd5 Pylint fixes 2016-11-07 10:01:27 -07:00
Alexey Genus
3f4c33906e refresh_pillar() should be called always 2016-11-07 19:14:08 +03:00
Tanoti
3599a8d661 Improvements and bug fixes:
- Ensure all keys in nested dicts under the data payload have dots replaced with underscores and store original key for reference
- Replace use of config.option execution module which does not support ":" path syntax with salt.returners.get_returner_options() so config options are actually obtained
- Fixed use of datetime module in date_index mode so functions are loaded properly
2016-11-07 15:39:25 +00:00
rallytime
2e68da3e52 Merge branch '2016.11' into 'develop'
Conflicts:
  - doc/topics/cloud/vmware.rst
  - salt/cloud/clouds/vmware.py
2016-11-07 08:22:17 -07:00
Nicole Thomas
a9fe7ecf1a Pylint fix for develop (#37513) 2016-11-07 08:05:59 -07:00
James Stocker
83f01a2e5f Saltstack PPA is no longer maintained 2016-11-07 12:07:53 +00:00
Mike Place
ee1c911c31 Merge pull request #37505 from cetanu/develop
salt-cloud vmware driver: allow selection by id
2016-11-07 22:37:14 +13:00
Mike Place
7f02a56dec Merge pull request #37504 from SolarisYan/patch-1
fix list_snapshots when the vm doesn't have a snapshot
2016-11-07 22:34:44 +13:00
Vasili Syrakis
2c45eb848a allow selection by id 2016-11-07 14:39:52 +11:00
SolarisYan
decae0f07d Update vmware.py
if the vmname does't have any snapshot,it will return all snapshots on all vm that with snapshots. but it should return none.fix it
2016-11-07 11:33:21 +08:00
Mike Place
e653413dfc Merge pull request #37495 from sjorge/2016.11-sunos_pkgsrc
Allow OmniOS and OpenIndiana to find libcrypto
2016-11-07 11:18:28 +13:00
Super-User
52c3f159a9 handle other Solaris-like distributions that use pkgsrc the same as SmartOS 2016-11-06 14:19:02 +01:00
Mike Place
2226207a13 Merge pull request #37251 from shorawitz/patch-3
Create postgres.py
2016-11-06 15:05:08 +13:00
Mike Place
33d0789f6e Merge pull request #37348 from alexbleotu/create_cluster-gh
Create cluster gh
2016-11-06 15:02:41 +13:00
Mike Place
4a8df6591d Merge pull request #37431 from tyagiprince/develop
Fixed influxdb returner
2016-11-06 15:01:19 +13:00
Mike Place
70aff29b3b Merge pull request #37451 from pakdel/list_repo_pkgs__showduplicates
yumpkg.list_repo_pkgs always shows duplicates
2016-11-06 15:00:27 +13:00
Mike Place
43bef720e5 Merge pull request #37432 from Tanoti/elasticsearch_proxy_support
Added proxy support to elasticsearch using requests backend module
2016-11-06 14:58:09 +13:00
Mike Place
b678e7353d Merge pull request #37465 from lorengordon/jinja-filters
Adds a couple handy jinja filters, `escape_regex` and `unique`
2016-11-06 14:54:20 +13:00
Mike Place
9ce38fd4d6 Merge pull request #37466 from alexbleotu/test_rename-gh
Renamed salt.utils.vmware.update_cluster tests
2016-11-06 14:52:55 +13:00
Mike Place
1d33aa10dc Merge pull request #37467 from gtmanfred/develop
clean up pylint in virtualenvs
2016-11-06 14:51:35 +13:00
Mike Place
59ab1b4357 Merge pull request #37471 from twangboy/fix_win_file
Fix file.managed for Windows
2016-11-06 14:49:05 +13:00
Mike Place
9e4e936f4f Merge pull request #37473 from m03/fix-167-logrotate-state_2
Fix #167 - Add logrotate state module
2016-11-06 14:45:15 +13:00
Mike Place
706befd8ca Merge pull request #37476 from pakdel/ec2_cloud_driver_fix
EC2 support for SubnetName and securityGroupName
2016-11-06 14:43:09 +13:00
Mike Place
1c993bf8c2 Merge pull request #37488 from SaltyCharles/patch-3
update note on beacon.disabled
2016-11-06 14:35:31 +13:00
Mike Place
bc17271aae Merge pull request #37490 from twangboy/win_dacl_util
Create new salt util win_dacl
2016-11-06 14:35:12 +13:00
Mike Place
713607c0ee Merge pull request #37489 from lorengordon/issue-18836
Creates `filter_by` as a utils function
2016-11-06 14:34:52 +13:00
twangboy
f4df20d5be Fix some lint 2016-11-04 22:17:05 -06:00