Commit Graph

73756 Commits

Author SHA1 Message Date
Thomas S Hatch
5d2f952052 Merge pull request #36414 from cro/clean_old_jobs_interval2
Use better check for jobs to clean and archive
2016-09-19 16:37:31 -06:00
Nicole Thomas
5dc06a3a29 Merge pull request #36421 from rallytime/bp-36395
Back-port #36395 to carbon
2016-09-19 15:55:54 -06:00
Rajvi Dhimar
bb439eacde Update carbon.rst 2016-09-19 14:33:12 -06:00
Nicole Thomas
b658de4c33 Merge pull request #36412 from rallytime/merge-carbon
[carbon] Merge forward from 2016.3 to carbon
2016-09-19 12:59:18 -06:00
C. R. Oldham
3508d358d8 Use better check for jobs to clean and archive 2016-09-19 12:24:48 -06:00
rallytime
2f9c4268f7 Merge branch '2016.3' into 'carbon'
No conflicts.
2016-09-19 11:21:55 -06:00
Mike Place
602bd2d1ef Merge pull request #36389 from cachedout/pr-36386
Pr 36386
2016-09-17 20:54:37 +09:00
Mike Place
f5d63d93cc
Lint 2016-09-17 20:53:41 +09:00
Mike Place
28fd227ea1 Merge pull request #36250 from UtahDave/fix_set_computer_name
fix logic problem that prevented name change
2016-09-17 19:45:01 +09:00
Mike Place
4e40a4f6b1 Merge pull request #36351 from jtand/freebsd_test_fix
Close open socket on freebsd
2016-09-17 19:07:39 +09:00
xiaoanyunfei
93269cfb65 fix salt-api log and pid 2016-09-17 09:53:16 +08:00
Nicole Thomas
dd8c82ac5b Be explicit about importing salt.utils.decorators (#36383)
This is possibly causing problems with one of the dockerng unit tests
on Ubuntu 12. Being explicit the use of identical_signature_wrapper
may help clear up some of the mocking problems with backports and
docker.

I also changed the sys.version_info option to use the six.PY2 global.
This is more consistent with other salt files and essentially does the
same thing and avoids an additional import.
2016-09-16 16:30:07 -06:00
Nicole Thomas
2f16e43d67 Update the extend.py and extend_test.py imports (#36382)
When using `fopen`, we need to import all of salt.utils. We should
also be explicit about calling salt.utils.fopen.

This also cleans up the ordering of the salttesting vs salt libs to
be consistent with other files and conform with `ensure_is_syspath`.

Also changes a print statement to a log.info
2016-09-16 16:26:13 -06:00
Aditya Kulkarni
5737b1c409 Update versionadded and release notes (#36352) 2016-09-16 14:33:32 -06:00
Nicole Thomas
b7ef90d85f Merge pull request #36372 from rallytime/merge-carbon
[carbon] Merge forward from 2016.3 to carbon
2016-09-16 14:15:42 -06:00
rallytime
0db2b67ed4 Whitespace fix 2016-09-16 13:25:08 -06:00
rallytime
26cf545d03 Merge branch '2016.3' into 'carbon'
Conflicts:
  - salt/utils/gitfs.py
  - tests/unit/modules/disk_test.py
2016-09-16 10:35:49 -06:00
Nicole Thomas
495d365e54 Merge pull request #36369 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-09-16 10:31:14 -06:00
Joseph Hall
2a77316123 Update usage docs for Thorium (#36368) 2016-09-16 09:52:47 -06:00
rallytime
37aea4188a Merge branch '2015.8' into '2016.3'
No conflicts.
2016-09-16 09:24:17 -06:00
Thomas S Hatch
40b2e3d189 Merge pull request #36353 from rallytime/refresh-db-cleanup
Check for Ign/Hit membership instead of == in aptpkg.refresh_db
2016-09-16 09:20:30 -06:00
Nicole Thomas
df9d9b3624 Merge pull request #36355 from rallytime/bp-36288
Back-port #36288 to 2015.8
2016-09-16 08:59:47 -06:00
Joseph Hall
cd30b35a03 Fix calc docstrings (#36366) 2016-09-16 08:53:18 -06:00
Denys Havrysh
3f308d7694 postgres_extension: report changes when an extension was installed (#36335)
* postgres_extension: report changes when extension was installed or upgraded

* postgres_extension state: fix unit tests
2016-09-16 08:23:20 -06:00
Mike Place
70ffdafbf0 Schema test requires jsonschema 2.5.0 or above 2016-09-15 17:23:51 -06:00
rallytime
275319193a Check for Ign/Hit membership instead of == in aptpkg.refresh_db 2016-09-15 16:46:28 -06:00
Justin Anderson
b2a1779383 Close open socket on freebsd 2016-09-15 15:37:00 -06:00
Michael Stella
fbbe9ec571 Quote postgres privilege target names (#36249)
* Quote postgres privilege target names

Postgres lets you put characters in table/database names which you then must
quote.  So we should always quote.

* Updating unit tests

* Also quote role names.

Role names can also have dashes (or others) in them, so we must also quote
them.
2016-09-15 15:12:41 -06:00
Tobias Macey
1923d16029 Fixed arguments to VPC peering function (#36268)
The `is_peering_connection_pending` function as defined in
`modules/boto_vpc` is expecting a kwarg of `conn_name` but in the state
function `accept_vpc_peering_connection` on line 1483 it is called with an argument
of `name`. Updated the state function to use the proper kwarg.
2016-09-15 15:07:45 -06:00
Julien Cigar
9451141b3f set __virtualname__ to 'service' (#36330) 2016-09-15 14:53:09 -06:00
Thomas S Hatch
d2a583bc22 Merge pull request #36337 from cachedout/conduct
SaltStack's code of conduct
2016-09-15 14:44:25 -06:00
Julien BONACHERA
fee3be4d26 Use infoblox_* values if present in arguments (#36339) 2016-09-15 14:42:02 -06:00
Erik Johnson
ef128ad0b0 Return None when find_file identifies the path as a directory (#36342)
This fixes a traceback in the LocalClient when you try to use
cp.cache_file on a directory instead of a file.
2016-09-15 14:39:46 -06:00
Daniel Wallace
19eb84860e remove help message from glance module (#36345) 2016-09-15 14:38:42 -06:00
Nicole Thomas
135242c833 Clean up libcloud stack trace (#36314)
This is the same fix as done in #35658, but for the state module.
2016-09-15 14:38:20 -06:00
Nicole Thomas
a4bbd5e3d7 Add resize2fs unit test from blockdev_test to disk_test (#36346)
The blockdev module is being slowly deprecated and its functions moved to
to the disk module instead. There is a test for resize2fs in the blockdev_test
file in the 2015.8 branch (which matches the resize2fs function in the blockdev
module), but this function was moved to the disk file in 2016.3. The test was
never moved over.

I discovered this during a merge forward in #36344. This PR adds the
test from 2015.8 blockdev_test to the 2016.3 disk_test.py, and is adjusted
to work with the disk module accordingly.
2016-09-15 14:37:53 -06:00
Erik Johnson
f09c3e499f Merge pull request #36350 from terminalmage/docs
Add note about yumpkg.check_db removal in Boron
2016-09-15 15:32:31 -05:00
Erik Johnson
b815c98577 Add note about yumpkg.check_db removal in Boron
Resolves #36292.
2016-09-15 15:30:07 -05:00
Nicole Thomas
6f757279a5 Merge pull request #36347 from rallytime/merge-carbon
[carbon] Merge forward from 2016.3 to carbon
2016-09-15 13:39:29 -06:00
Nicole Thomas
f65734b9fd Merge pull request #36348 from rallytime/bp-36288
Back-port #36288 to carbon
2016-09-15 13:39:08 -06:00
Mike Place
340d7fdc53 Schema test requires jsonschema 2.5.0 or above 2016-09-15 12:20:49 -06:00
rallytime
95313aecbd Merge branch '2016.3' into 'carbon'
No conflicts.
2016-09-15 11:48:22 -06:00
Nicole Thomas
a33da842c0 Merge pull request #36344 from rallytime/merge-2016.3
[2016.3] Merge forward from 2015.8 to 2016.3
2016-09-15 11:38:57 -06:00
rallytime
d1f560147d Merge branch '2015.8' into '2016.3'
Conflicts:
  - tests/unit/modules/blockdev_test.py
2016-09-15 11:37:56 -06:00
Mike Place
52e9ba4076 Revert "Skip some tests on MacOS" (#36341) 2016-09-15 11:12:04 -06:00
David Boucha
02b9d8f2f5 check for PY2 instead of PY3 2016-09-15 10:16:09 -06:00
David Boucha
3133cbf4cf don't decode strings on Python 3 2016-09-15 10:16:08 -06:00
David Boucha
2caeafbf0b fix logic problem that prevented name change 2016-09-15 10:16:08 -06:00
Pablo Suárez Hernández
dc518c5340 Skip test_resize2fs if resize2fs does not exists (#36325) 2016-09-15 10:14:50 -06:00
Andrew Hammond
3a37fe5df9 merge error overwrites correct ssh_host with stale data in ip_address (#36312) 2016-09-15 10:00:30 -06:00