Daniel Wallace
19eb84860e
remove help message from glance module ( #36345 )
2016-09-15 14:38:42 -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
puneet kandhari
892cc4cd48
Update aptpkg.py
2016-09-15 12:48:58 -05: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
puneet kandhari
cbe98d97a3
Fix pylint whitespace errors
2016-09-15 11:48:45 -05: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
Mike Place
2fb61b9c9f
SaltStack's code of conduct
2016-09-16 00:32:01 +09:00
puneet kandhari
e5371ac720
No force_yes parameter to pkg.upgrade #21248
...
We have a case for force_yes and skip_verify when upgrade
2016-09-14 18:45:05 -05:00
Thomas S Hatch
083f1d998a
Fix bug where the client will destroy the loop
2016-09-14 15:19:17 -06:00
Nicole Thomas
6a3019bbf1
Merge pull request #36299 from rallytime/gate-pkg-group-installed-test
...
Gate the pkg.group_installed state test: not all pkg modules have group_install
2016-09-14 13:04:26 -06:00
rallytime
9e15df9b23
Switch the order of the decorator
...
When @requires_system_grains is listed before other decorators, wrapper
function gets confused on where the grains kwarg should go.
2016-09-14 12:12:21 -06:00
Nicole Thomas
b3aac0ec20
Back-port #36273 to 2016.3 ( #36295 )
...
* Add append_newline flag for #33686 (#36273 )
* Add versionadded tag to new append_newline option
2016-09-14 10:58:16 -06:00
Nicole Thomas
729617923e
Back-port #36124 to 2016.3 ( #36296 )
...
* Use /etc instead of /root
* Skip test on anything but linux
* Add missing import (lint)
2016-09-14 10:08:16 -06:00
Nicole Thomas
a8a72c985f
Merge pull request #36297 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-09-14 10:07:30 -06:00
Mike Place
ee997be6d8
Fix pkg group test by passing a list instead of str
...
Refs integration.states.pkg.PkgTest.test_group_installed_handle_missing_package_group
2016-09-14 09:53:10 -06:00
rallytime
c7d8867096
Gate the pkg.group_installed state test: not all pkg modules have group_install
...
Refs #35907
2016-09-14 09:25:56 -06:00
Mike Place
7684ebd0e7
Filter out pub kwargs from cloud runner ( #36178 )
...
* Filter out pub kwargs from cloud runner
* Fix typo
* Proper function unpacking
2016-09-14 09:18:09 -06:00
rallytime
e2f1cf6025
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-09-14 09:10:05 -06:00
Mike Place
fc7a1d536f
Merge pull request #36238 from pass-by-value/vmware_clone_from_snapshot
...
Add ability to clone from a snapshot to salt-cloud vmware driver
2016-09-14 14:31:50 +09:00
Mike Place
b9b8e45362
Merge pull request #36272 from terminalmage/improved-gitfs-logging
...
Improved gitfs/git_pillar error logging
2016-09-14 14:25:16 +09:00
Mike Place
abb6aacb4b
Merge pull request #36277 from terminalmage/gitfs-check-key-path
...
salt.utils.gitfs: Check for existence of ssh keys
2016-09-14 14:22:37 +09:00
Erik Johnson
223a20e987
Improved gitfs/git_pillar error logging
...
This adds ``exc_info_on_loglevel`` kwargs to error logging when the
error is being logged within an ``except`` block, to aid in
troubleshooting.
2016-09-13 16:51:20 -05:00
Pablo Suárez Hernández
ed2d2bd331
Integration tests fixes for 2015.8 ( #36262 )
...
* Fixing integration tests if azure is not present
* Fixing integration tests failures if 'git' command is missing
Skip git state integration tests if 'git' does not exists
Prevent OSError if 'git' command not found during _git_version()
2016-09-13 15:24:06 -06:00
Erik Johnson
4fee18c820
salt.utils.gitfs: Check for existence of ssh keys
...
This adds a check for existence of the public and private keys, and
will raise an exception if they do not exist.
The git_pillar preflight checks have also been altered to try to init
the git_pillar repos, instead of just instantiating a GitPillar object.
This will cause invalid git_pillar configuration to keep the master from
starting up like we already do for gitfs.
2016-09-13 14:52:52 -05:00
Pablo Suárez Hernández
a0bbb0f648
Integration tests fixes for 2016.3 ( #36263 )
...
* Fix PillarModuleTest::test_pillar_items: 'info' does not exist in pillar
* Fixing integration tests if azure is not present
* Fixing integration tests failures if 'git' command is missing
Skip git state integration tests if 'git' does not exists
Prevent OSError if 'git' command not found during _git_version()
2016-09-13 12:40:56 -06:00
Erik Johnson
297a12c387
Fix misspelling of "occurred" in log messages/exceptions ( #36270 )
2016-09-13 12:33:41 -06:00
Nicole Thomas
d634fd8628
Merge pull request #36264 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-09-13 12:25:41 -06:00
Aditya Kulkarni
dd670bd18f
Fix lint error and add try except
2016-09-13 10:30:28 -04:00
rallytime
f603757b55
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- tests/unit/modules/mount_test.py
- tests/unit/states/file_test.py
2016-09-13 08:21:48 -06:00
Mike Place
de06116075
Merge pull request #35688 from cachedout/issue_33525
...
Splat serializer default configs into the serializer kwargs
2016-09-13 18:21:46 +09:00
Mike Place
4910e8191c
Provide fallback for serializers without opts
2016-09-13 17:03:11 +09:00
Mike Place
d9d477ed45
Merge pull request #36025 from cloudflare/CF-FIX-36021
...
Potential fix for #36021
2016-09-13 16:46:41 +09:00
Mike Place
931486ba35
Merge pull request #36096 from twangboy/update_setup
...
[WIP] Add additional required dll's for Windows
2016-09-13 16:45:33 +09:00
Mike Place
b0dd6ff5c8
Merge pull request #36244 from terminalmage/gen-back-bug
...
salt.fileserver.Fileserver: Don't try to split a list in _gen_back
2016-09-13 09:53:16 +09:00
Mike Place
dcc9380996
Merge pull request #36245 from terminalmage/roots-bug
...
roots backend: Don't include '.' or '..' in empty_dirs
2016-09-13 09:52:14 +09:00
Erik Johnson
75d4997b70
roots backend: Don't include '.' or '..' in empty_dirs
2016-09-12 16:09:46 -05:00
Erik Johnson
363b21fd9b
salt.fileserver.Fileserver: Don't try to split a list in _gen_back
...
This fixes a bug which causes backends passed as a python list to be
converted to a ``str`` (specifically a ``unicode`` type in PY2) and then
split, resulting in a backend that will never match anything.
This only affects runner and Salt Python API usage in which the
"backend" param to fileserver runner funcs is passed as a Python list.
2016-09-12 15:43:39 -05:00
Aditya Kulkarni
d96981639b
Add ability to clone from a snapshot to salt-cloud vmware driver
2016-09-12 14:49:20 -04:00
Pablo Suárez Hernández
fdf40907b7
Some unit tests fixes ( #36227 )
...
* Prevent tests failures if boto does not exists
* Prevent tests failure if /etc/fstab does not exists
2016-09-12 11:43:12 -06:00
Daniel Hobley
449c29897c
Fix timezones states on OS X ( #36183 )
...
* Fix timezones states on OS X
- This function was missing but required by the timezone states
* Added stand in functions for hwclock on OS X
- This fixes the timezone states which tries to use these functions
2016-09-12 11:42:26 -06:00
Nicole Thomas
fcbebb40c3
Merge pull request #36235 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-09-12 11:40:42 -06:00
Erik Johnson
7b96197c5e
Merge pull request #36137 from cachedout/issue_35423
...
Allow highstate outputter to show all results
2016-09-12 11:37:49 -05:00
rallytime
99dcf84b62
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-09-12 10:09:43 -06:00
Mike Place
1b12940a1f
Docs clarification for module sync and state.apply ( #36217 )
...
Closes #35340
2016-09-12 08:42:12 -06:00
Mike Place
6ebe655e17
Merge pull request #36184 from DSRCorporation/bugs/35480_master_shutdown
...
Disable signal handling while handling signal
2016-09-12 07:59:08 +09:00
Mike Place
4e9490eebe
Merge pull request #36214 from vutny/postgres-extension-doc
...
`postgres_extension` state module: fix docstrings
2016-09-12 07:58:29 +09:00