twangboy
dfe148934b
Fix typo
2016-03-30 12:56:39 -06:00
twangboy
a45d2270df
Remove test for _convert_to_datetime
2016-03-30 12:56:39 -06:00
twangboy
845809139c
Add test for _convert_to_datetime
2016-03-30 12:56:39 -06:00
twangboy
3a6ad91509
Fix some pylint errors
2016-03-30 12:56:39 -06:00
twangboy
f1a5134b92
Total rewrite of mac_shadow.py
...
Updated mac_shadow integration tests
2016-03-30 12:56:39 -06:00
twangboy
c62920fb08
Add destructiveTest decorators
2016-03-30 12:56:39 -06:00
twangboy
9fe91a8fb5
Fix __random_string assignment
2016-03-30 12:56:39 -06:00
twangboy
1da27172b9
Add integration tests for mac_shadow
2016-03-30 12:56:39 -06:00
Mike Place
5d08db7c92
Merge pull request #32162 from terminalmage/issue31963
...
Properly handle yum/zypper repositories in pkgrepo.managed
2016-03-30 11:51:05 -06:00
Erik Johnson
5c1bdb812c
Fix pkgrepo integration test
...
Also re-enabled test on ubuntu 15.10.
2016-03-30 11:34:55 -05:00
Ch3LL
665468b5e8
fix pylint
2016-03-30 10:28:48 -06:00
twangboy
8ea709cc3f
Remove xattr.list from know_to_return_none
2016-03-30 08:56:49 -06:00
twangboy
cedc14e6f5
Fix tests for read and delete
2016-03-30 08:56:49 -06:00
twangboy
cbd868e12a
Improve integration tests
2016-03-30 08:56:49 -06:00
twangboy
1934a17f8e
Add additional error handling
2016-03-30 08:56:49 -06:00
twangboy
833d63c27d
Raise errors on command failures
2016-03-30 08:56:49 -06:00
twangboy
6f98a5204f
Fix xattr.list returning None
...
Fixes tests
Removes super calls from setUp and tearDown
2016-03-30 08:56:49 -06:00
twangboy
bacaa9c4c0
Add missing import
2016-03-30 08:56:49 -06:00
twangboy
1094754085
Gate the tests for Mac OS X
2016-03-30 08:56:49 -06:00
twangboy
ab205f52d4
Fix some lint errors
2016-03-30 08:56:49 -06:00
twangboy
cd4c84a7eb
Fix problem with xattr.list tests
2016-03-30 08:56:49 -06:00
twangboy
f54139fb9f
Fix some tests
2016-03-30 08:56:49 -06:00
twangboy
fd96733fc7
Put test file in correct state for each test
2016-03-30 08:56:49 -06:00
twangboy
212590b130
Add remaining test functions
2016-03-30 08:56:49 -06:00
twangboy
8b8d35ef8b
Add if main statement
2016-03-30 08:56:49 -06:00
twangboy
677c4384b0
Add integration test file for mac_xattr
2016-03-30 08:56:49 -06:00
twangboy
fedc5c367c
Use class attributes instead of global variables
2016-03-30 08:46:02 -06:00
twangboy
54059b33a0
Add global variables for setUp function
2016-03-30 08:46:02 -06:00
twangboy
fb82553be7
Add instructions for parallels time sync
...
Re-added tests that were having problems caused
by parallels time sync
2016-03-30 08:46:02 -06:00
twangboy
19ec1ea837
Fix some tests
2016-03-30 08:46:02 -06:00
twangboy
4e89f8f124
Fix tests
2016-03-30 08:46:02 -06:00
twangboy
1050dbe6ec
Simplified tests
2016-03-30 08:46:02 -06:00
twangboy
abfd8fbd85
Fix test_get_zonecode
2016-03-30 08:46:02 -06:00
twangboy
0ea5a6e91c
Fix test_get_time
2016-03-30 08:46:02 -06:00
twangboy
155694e4c1
Remove possible race conditions
2016-03-30 08:46:02 -06:00
twangboy
8fa35de6e5
Add destructiveTest decorators
2016-03-30 08:46:02 -06:00
twangboy
52007746a6
Fix get_set_time test
2016-03-30 08:46:02 -06:00
twangboy
213c400c03
Fix timezone test
2016-03-30 08:46:02 -06:00
twangboy
3c31bea8c1
Add integration test enhancements
2016-03-30 08:46:02 -06:00
twangboy
2583af0d94
Added SaltInvocationError exceptions
2016-03-30 08:46:02 -06:00
twangboy
d3f1685bc0
Add remaining tests
2016-03-30 08:46:02 -06:00
twangboy
ed5b9cf68b
Fix systemsetup gate
2016-03-30 08:46:02 -06:00
twangboy
b14b36307a
Add tests for mac_timezone
2016-03-30 08:46:02 -06:00
Ch3LL
1d46f01389
add more comments
2016-03-29 15:13:07 -06:00
Megan Wilhite
f34008988b
add more matcher grains tests with wildcard
2016-03-29 19:59:13 +00:00
Mike Place
5877a19f59
Merge pull request #32186 from rallytime/testing-docs
...
Add some "best practices" information to test documentation
2016-03-28 18:22:48 -06:00
Justin Anderson
bd3942e0fd
Fixed pylint error in app_pam_test.py
2016-03-28 17:04:47 -06:00
rallytime
e8658697a6
Pylint fix for integration import
2016-03-28 16:56:22 -06:00
rallytime
40d09c822e
Add some "best practices" information to test documentation
...
Also clarifies some sections and fixes some broken links.
2016-03-28 14:23:42 -06:00
rallytime
8531847e3f
Pylint fix
2016-03-28 11:42:54 -06:00
rallytime
527bc3e491
Pylint fix
2016-03-28 11:24:45 -06:00
rallytime
e9abd2d420
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- salt/modules/rh_service.py
2016-03-28 10:51:23 -06:00
Mike Place
6b8b8b51c0
Merge pull request #32154 from Ch3LL/ch3ll_pam_2015.5
...
Add integration tests for salt-api using pam eauth
2016-03-28 10:06:36 -06:00
rallytime
635263ab1c
Finish up mac_keychain tests
2016-03-26 20:30:22 -06:00
Ch3LL
b8f271bdc9
add mac_keychain test
2016-03-26 20:30:22 -06:00
twangboy
86de04b08c
Fix typo in test_latest_version
2016-03-25 15:28:46 -06:00
twangboy
9c97057b84
Add destructiveTest decorators
2016-03-25 15:28:46 -06:00
twangboy
770b45ca35
Fix class attribute
2016-03-25 15:28:46 -06:00
twangboy
ada508f8eb
Improve cleanup
2016-03-25 15:28:46 -06:00
twangboy
b63986d2ce
Add remaining integration tests
2016-03-25 15:28:46 -06:00
Nicole Thomas
abace3aa5f
Merge pull request #32151 from rallytime/merge-2016.3
...
[2016.3] Merge forward from 2015.8 to 2016.3
2016-03-25 14:06:15 -06:00
Ch3LL
ba605b0128
fix more pylint and add ability to close cherrypy engine
2016-03-25 12:06:39 -06:00
rallytime
f6d9cdc633
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- doc/ref/states/compiler_ordering.rst
- doc/topics/installation/suse.rst
- doc/topics/jobs/schedule.rst
- doc/topics/targeting/grains.rst
- doc/topics/tutorials/preseed_key.rst
- doc/topics/tutorials/states_pt5.rst
- pkg/suse/use-forking-daemon.patch
- salt/minion.py
- salt/modules/pacman.py
- salt/modules/state.py
- salt/modules/yumpkg.py
2016-03-25 11:47:16 -06:00
Mike Place
e24d285436
Merge pull request #32092 from twangboy/mac_service_int
...
Integration tests for mac_service.py
2016-03-25 10:39:42 -06:00
Nicole Thomas
76b843cf9e
Merge pull request #32136 from jtand/arch_alternatives
...
Arch does not have the alternatives directory
2016-03-25 09:24:56 -06:00
Nicole Thomas
37f2a98dc9
Merge pull request #32140 from rallytime/bp-32110
...
Back-port #32110 to 2016.3
2016-03-25 09:22:30 -06:00
Mike Place
377c102470
Merge pull request #31790 from twangboy/mac_system_int
...
Integration tests for mac_system
2016-03-24 17:11:29 -06:00
rallytime
58c844a7d7
Add mac_desktop integration tests
...
- Updates mac_desktop module to use cmd.run_all
- Updates current mac_desktop_test unit tests with cmd.run_all change
- Adds integration tests for mac_desktop execution module
2016-03-24 17:02:53 -06:00
Justin Anderson
a0d1f42337
Lint fix
2016-03-24 16:33:18 -06:00
Justin Anderson
291a5695d3
Arch does not have the alternatives directory
2016-03-24 16:12:01 -06:00
Mike Place
6b5c65eafa
Merge pull request #32093 from twangboy/mac_softwareupdate_int
...
Use class attributes in mac_softwareupdate tests
2016-03-24 15:55:24 -06:00
rallytime
7554d0f42d
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- doc/ref/states/include.rst
- doc/topics/cloud/reactor.rst
- doc/topics/reactor/index.rst
- doc/topics/releases/2015.5.10.rst
- doc/topics/tutorials/states_pt5.rst
- doc/topics/windows/windows-package-manager.rst
- salt/config.py
- salt/modules/state.py
- salt/states/grains.py
- tests/integration/modules/sysmod.py
- tests/unit/states/grains_test.py
2016-03-24 15:48:00 -06:00
Mike Place
1545b80017
Merge pull request #32034 from twangboy/mac_pkgutil_int
...
Integration tests for mac_pkgutil
2016-03-24 15:44:51 -06:00
Mike Place
59fde81457
Merge pull request #32094 from twangboy/mac_power_int
...
Use class attributes in mac_power tests
2016-03-24 15:33:30 -06:00
Thomas S Hatch
81d267bcfd
try to change the test run to always clean the thindir
2016-03-24 10:40:23 -06:00
twangboy
3eefd8ccad
Use class attributes instead of global variables
2016-03-23 15:37:59 -06:00
twangboy
79963c9020
Add global variables to setUp
2016-03-23 15:37:59 -06:00
twangboy
e306bc40de
Fix pylint error... maybe
2016-03-23 15:37:59 -06:00
twangboy
357911cc8f
Fix decorator
2016-03-23 15:37:59 -06:00
twangboy
6ae27945fd
Add disabled decorator
2016-03-23 15:37:59 -06:00
twangboy
b04229430c
Improve integration tests
2016-03-23 15:37:59 -06:00
twangboy
a0943c136f
Fix some pylint errors
2016-03-23 15:37:59 -06:00
twangboy
d45def946a
Finish integration tests for mac_system
...
Fixes service.start and service.stop
Fixes system.get_boot_arch
Adds 'yes' and 'no' to validate_enabled function in mac_utils
2016-03-23 15:37:59 -06:00
twangboy
9bb49659b5
Explicitely call salt mac_utils functions
2016-03-23 15:30:56 -06:00
twangboy
00488190a4
Use class attributes instead of global variables
2016-03-23 15:15:41 -06:00
twangboy
d1505bc892
Use class attributes instead of global variables
2016-03-23 15:03:04 -06:00
twangboy
fa59c50ba9
Change from global to class attributes
2016-03-23 14:52:48 -06:00
twangboy
a5fd2dd29b
Add global variables to setUp
2016-03-23 12:16:12 -06:00
twangboy
9dcaba7e67
Add global variables to setUp
2016-03-23 12:10:05 -06:00
twangboy
44223d6402
Fix my fix
2016-03-23 11:56:49 -06:00
twangboy
28c1397913
Fix deprecation warning
...
Incorrectly passing kwargs to run_function
2016-03-23 11:52:49 -06:00
twangboy
9308ad1e7a
Fix test_disabled
...
Use get instead of pop
2016-03-23 11:19:02 -06:00
twangboy
fef8f90919
Add remaining integration tests
2016-03-23 11:13:55 -06:00
Mike Place
e19fe847bd
Merge pull request #32062 from rallytime/mac-assistive-tests
...
Mac assistive tests
2016-03-23 09:51:36 -06:00
twangboy
75cf459d71
Change list to return a dict
2016-03-23 09:50:56 -06:00
Nicole Thomas
57cf405fd6
Merge pull request #31552 from alprs/fix-localectl
...
Bring back localectl parsing in locale module for when dbus module is unavailable
2016-03-23 09:47:27 -06:00
twangboy
ed8add068e
Add integration tests basic framework
2016-03-22 17:29:32 -06:00
rallytime
88ba210f86
Add mac_assistive integration tests
...
- Updates mac_assistive module to use cmd.run_all
- Updates current mac_assistive_test unit tests with cmd.run_all change
- Adds module integration tests for mac_assistive execution module
2016-03-22 14:11:40 -06:00
Justin Anderson
e86797731a
Removed some unused imports for lint fixes
2016-03-22 09:15:20 -06:00
Erik Johnson
1b97e4a3df
Improve state module docs, replace references to state.highstate/state.sls with state.apply
...
Resolves #32037 .
2016-03-21 22:56:17 -05:00
twangboy
5658753a5f
Add already installed check
2016-03-21 17:33:25 -06:00
twangboy
3b05583928
Remove unecessary SaltInvocationError
2016-03-21 17:22:38 -06:00
twangboy
523e125436
Fix forget portion
2016-03-21 16:54:51 -06:00
twangboy
66ea15c0be
Fix install_forget test... again
2016-03-21 16:51:48 -06:00
twangboy
fb78f539b7
Fix install_forget test
2016-03-21 16:49:31 -06:00
twangboy
77920265d1
Add documentation/tests for forget
2016-03-21 16:45:29 -06:00
twangboy
58cd2a7c9a
Add some tearDown functions
2016-03-21 16:08:03 -06:00
twangboy
b4c3f59929
Fix test
2016-03-21 15:50:19 -06:00
twangboy
ee7ab8500d
Add import os
2016-03-21 15:43:30 -06:00
Nicole Thomas
750e970d57
Merge pull request #32028 from rallytime/merge-31884
...
Merge #31884 with pylint fixes
2016-03-21 15:19:57 -06:00
twangboy
97196e672b
Fix test_install integration test
2016-03-21 15:07:06 -06:00
twangboy
933e275b3a
Add integration tests
2016-03-21 15:03:31 -06:00
rallytime
92ea2709d7
More pylint fixes
2016-03-21 14:55:03 -06:00
Mike Place
0a1753b83d
Merge pull request #31885 from Ch3LL/add_mac_brew_tests
...
renamed brew.py to mac_brew.py and added tests
2016-03-21 14:22:47 -06:00
Mike Place
a496806fa2
Merge pull request #32000 from twangboy/mac_power_int
...
Integration tests for mac_power.py
2016-03-21 14:18:57 -06:00
rallytime
3e61603d5b
Pylint fix for #31884
...
Merges #31884
2016-03-21 14:18:29 -06:00
Ch3LL
aa519814f2
reverse the format indices
2016-03-21 14:17:27 -06:00
Ch3LL
3f2b851203
add more tests for mac_group
2016-03-21 14:17:27 -06:00
Nicole Thomas
d85dfbea50
Merge pull request #32001 from alprs/fix-alternatives_state_integration_tests
...
Add integration test for alternatives state
2016-03-21 13:40:45 -06:00
Andreas Lutro
195fd53713
Add a basic integration test for locale module
2016-03-21 20:22:16 +01:00
twangboy
bed7178f18
Fix mac_pkgutil module
2016-03-21 12:10:28 -06:00
Mike Place
a940c64981
Merge pull request #31994 from twangboy/mac_softwareupdate_int
...
Integration tests for mac_softwareupdate.py
2016-03-21 12:01:14 -06:00
Andreas Lutro
e9fe661e72
add integration test for alternatives state
...
the alternatives state module has been through some contradictory
changes recently. an integration test should help validate that it
actually works.
2016-03-21 17:53:01 +01:00
twangboy
c011a176f5
Add integration tests
2016-03-19 17:04:42 -06:00
twangboy
3d7ff12019
Fix line lengths
2016-03-18 17:59:07 -06:00
twangboy
787835a13a
Fix tests for sleep functions
2016-03-18 17:57:02 -06:00
twangboy
a15aaff241
Add remaining integration tests
2016-03-18 17:36:49 -06:00
twangboy
2517abafca
Integration tests for sleep functions
2016-03-18 17:11:35 -06:00
twangboy
ed1fbecfea
Integration test framework
2016-03-18 15:55:57 -06:00
twangboy
894151b334
Fix test_schedule test
2016-03-18 14:53:26 -06:00
twangboy
0099ccb256
Finished integration tests
2016-03-18 14:42:03 -06:00
twangboy
0bf1672daf
Fix set_catalog function
2016-03-18 14:40:03 -06:00
twangboy
fcf0ce2c7b
Fix get_catalog
2016-03-18 14:29:21 -06:00
twangboy
73f51a39ed
Add checks to download
2016-03-18 14:22:15 -06:00
twangboy
182b80d67e
Refactor update
2016-03-18 14:12:31 -06:00
twangboy
12668fe447
Fix integration tests
...
Code refactoring
Put cmd in lists
2016-03-18 13:53:40 -06:00
twangboy
00e6aaa2f0
Use available
2016-03-18 13:06:19 -06:00
rallytime
fa4650523e
Pylint fixes
2016-03-18 12:21:09 -06:00
twangboy
972e11db24
Improve error handling for mac_softwareupdate
2016-03-18 11:30:33 -06:00
twangboy
56c0abc4a5
Fix list_upgrades test
2016-03-18 11:30:33 -06:00
twangboy
3114357b13
Add integration tests for mac_softwareupdate
2016-03-18 11:30:33 -06:00
rallytime
6360ecd3b3
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cloud/clouds/scaleway.py
- salt/config/__init__.py
- salt/log/mixins.py
- salt/minion.py
- salt/modules/ps.py
- salt/utils/decorators/__init__.py
- salt/utils/schema.py
- tests/unit/modules/etcd_mod_test.py
- tests/unit/modules/file_test.py
2016-03-18 11:26:12 -06:00
rallytime
98267ca100
Fix pylint for #31886
...
Merges #31886
2016-03-17 09:01:59 -06:00
Ch3LL
1a2a79113b
fix pylint
2016-03-16 21:23:10 -06:00
Ch3LL
b761059405
add absolute_import
2016-03-16 20:58:41 -06:00
Ch3LL
5bcc5b2f21
fix pylint and remove super()
2016-03-16 11:44:55 -06:00
rallytime
35b2076584
Pylint fixes
2016-03-15 14:55:35 -06:00
Erik Johnson
394410e2b0
Add integration test for depends decorator
2016-03-14 22:16:10 -05:00
Ch3LL
2d4dc4da05
add teardown call
2016-03-14 16:45:27 -06:00
Ch3LL
d115878714
fix pylint error
2016-03-14 13:45:59 -06:00
root
4c1ab082b6
add pam salt-api tests
2016-03-14 19:19:06 +00:00
Ch3LL
3c03d9bd57
add mac_defaults test
2016-03-10 16:34:18 -07:00
Ch3LL
29f0c65f6f
renamed brew.py to mac_brew.py and added tests
2016-03-10 16:27:40 -07:00
rallytime
fe7ff0ebfa
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cloud/__init__.py
- salt/returners/smtp_return.py
2016-03-10 13:13:35 -07:00
Ch3LL
910f0d9ffc
change pkg name to less for suse
2016-03-10 11:18:44 -07:00
Justin Findlay
e0abe23c7e
states.ssh int tests: run both test cases manually
2016-03-10 10:57:21 -07:00
Justin Findlay
d33b365984
states.pkg int tests: add pkgs for MacOS
2016-03-10 10:57:21 -07:00
Justin Findlay
431a247b66
states.cmd int tests: echo is more portable than true
2016-03-10 10:57:21 -07:00
Justin Findlay
7c48cf7ea6
states.user int tests: check MacOS primary group
2016-03-10 10:57:20 -07:00
Justin Findlay
5d5ce619b7
states.user int tests: disable GECOS for MacOS
2016-03-10 10:57:20 -07:00
Justin Findlay
aa61e1056f
states.file int tests: find root's primary group
2016-03-10 10:57:20 -07:00
Justin Findlay
2fe1160143
modules.mac_user.primary_group: add integration test
2016-03-10 10:57:19 -07:00
Justin Findlay
5905518ee5
modules.mac_user int tests: fix comment typo
2016-03-10 10:57:19 -07:00
Justin Findlay
fea37b303e
modules.mac_user int tests: move common decorators to class
2016-03-10 10:57:19 -07:00
Justin Findlay
e53ae6c44e
modules.useradd.primary_group: add integration test
2016-03-10 10:57:19 -07:00
Justin Findlay
ba19f395d1
modules.useradd int tests: disable testcase on nonlinux
2016-03-10 10:57:19 -07:00
Justin Findlay
ddea2361de
modules.useradd int tests: move decorators to class
2016-03-10 10:57:19 -07:00
Justin Findlay
f69ab83623
modules.disk int tests: mtab not used on darwin
2016-03-10 10:57:19 -07:00
Justin Findlay
d818810200
modules.disk int tests: move decorators to class
2016-03-10 10:57:19 -07:00
Justin Findlay
bdb210dc13
modules.disk int tests: assert darwin disk usage
2016-03-10 10:57:19 -07:00
Justin Findlay
73ad02e917
modules.disk: run both integration test cases manually
2016-03-10 10:57:19 -07:00
Justin Findlay
2f1c0cf809
shell tests: strip whitespace from shell return
2016-03-10 10:57:19 -07:00
Justin Findlay
c94dfb870f
shell tests: comment on shell return data
2016-03-10 10:57:19 -07:00
Justin Findlay
4028d80eee
tests...runtests_helpers: use system tmpdir
2016-03-10 10:57:18 -07:00
Justin Findlay
6b99798b1e
tests.integration: use system tmpdir on darwin
2016-03-10 10:57:18 -07:00
rallytime
838dc12b77
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/cli/daemons.py
- salt/config/__init__.py
- salt/exceptions.py
- salt/pillar/foreman.py
- salt/returners/local_cache.py
- salt/states/saltmod.py
- salt/utils/__init__.py
- salt/utils/cloud.py
The merge conflicts in salt/cli/daemons.py are still present in this commit.
@s0undt3ch is going to resolve them after this commit.
2016-03-08 10:14:32 -07:00
rallytime
6559ea15b0
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- doc/glossary.rst
- salt/config.py
- tests/unit/modules/gpg_test.py
2016-03-06 10:59:46 -07:00
rallytime
beb9d0fe84
Ensure all integration test classes and funcs are documented w/examples
2016-03-04 12:13:27 -07:00
Erik Johnson
da954d7b92
Add integration test for packages with epoch in version
...
This starts with cent7, but later I can add cent6 as well.
2016-03-03 15:40:22 -06:00
rallytime
031a75ca33
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- Contributing.rst
- conf/master
- doc/index.rst
- doc/man/salt.7
- pkg/suse/README.suse
- salt/client/ssh/state.py
- salt/minion.py
- salt/modules/zypper.py
- salt/utils/schedule.py
- tests/unit/modules/zypper_test.py
2016-03-02 10:26:13 -07:00
Denys Havrysh
86433f2378
Revert changes in files used by roots_test.py
integration test
2016-03-02 10:00:45 +02:00
Denys Havrysh
e7a8dbf498
Remove trailing white spaces in tests files
2016-03-01 17:40:02 +02:00
Mike Place
ada5ab344d
Merge pull request #31561 from jtand/beacons_test_fix
...
Skipped test
2016-02-29 21:11:22 -07:00
justinta89
196dd4db99
Skipped test
2016-02-29 14:21:19 -07:00
rallytime
b683df9b82
Pylint fix
2016-02-29 11:12:55 -07:00
rallytime
24505d2dcf
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- salt/client/ssh/state.py
- salt/fileclient.py
- salt/minion.py
2016-02-29 10:47:40 -07:00
Erik Johnson
0d352bbc16
Add fileclient tests
2016-02-29 01:05:33 -06:00
Ch3LL
29a53f4353
rename methods in pkg states test
2016-02-26 06:54:01 +09:00
Nicole Thomas
625da0d261
Merge pull request #31471 from cachedout/issue_31427
...
Correct issue where duplicate items in grains list during state run will result in duplicate grains
2016-02-25 13:15:20 -07:00
rallytime
3b74d123af
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/modules/selinux.py
- salt/modules/zypper.py
- salt/pillar/__init__.py
- salt/states/dockerng.py
- tests/runtests.py
2016-02-25 12:36:22 -07:00
Mike Place
fb1ef92e2b
Merge pull request #31411 from jtand/beacons_tests
...
Added some beacons execution module integration tests
2016-02-25 09:16:26 -07:00
Mike Place
30eb5fccf7
Additional tests, but disable the test for distinct lists, because of a problem with context in test suite
2016-02-24 13:53:49 -07:00
Mike Place
3d2aec05e5
Check for duplicate grains during list insertion
...
Insert grains into context so that we can know if we're duplicating during multiple inserts in a state run.
Refs #31427
2016-02-24 11:43:24 -07:00
Mike Place
987dd89979
Merge pull request #31445 from rallytime/fix-31366
...
Only use LONGSIZE in rpm.info if available. Otherwise, use SIZE.
2016-02-24 11:35:31 -07:00
Mike Place
979c8b4faa
Merge pull request #31464 from Ch3LL/fix_int_test
...
integartion test: ensure decorator only runs on one method and not class
2016-02-24 11:35:00 -07:00
justinta89
7d32b56015
Added some more checks to verify beacon changes were actually happening
2016-02-24 10:38:23 -07:00
justinta89
2da5285c03
Added codeauthor
2016-02-24 09:56:11 -07:00
Ch3LL
a387d175d8
integartion test- ensure decorator only runs on one method and not entire class
2016-02-25 01:55:35 +09:00
rallytime
9965fe188a
Added to pkg.info_installed test for RedHat and Suse systems
2016-02-24 09:50:52 -07:00
justinta89
fd1e2838ea
Lint
2016-02-23 19:40:42 -07:00
justinta89
421a112914
Added config_dir to test minion config
2016-02-23 19:40:22 -07:00
justinta89
bf6a4c0983
Fixed lint error
2016-02-23 16:20:06 -07:00
justinta89
3566fbbcca
More updates to beacons test
2016-02-23 16:19:07 -07:00
justinta89
37c4bf22d2
Updated beacons integration test
2016-02-23 15:46:21 -07:00
rallytime
1931c61563
Only run this pkg.info_installed test on distros that have that func
2016-02-23 15:22:14 -07:00
rallytime
0488668a00
Fix lowpkg.info function for Ubuntu 12 - make sure we have a pkg name
...
Fixes #31370
2016-02-23 11:09:36 -07:00
justinta89
6db628be1a
Basic integration tests for beacons execution module
2016-02-22 11:22:34 -07:00
Mike Place
e1ade05e54
Merge pull request #31355 from rallytime/fix-31330
...
Fix orchestrate outputter when retcode is appended to orchestrate run
2016-02-22 11:13:07 -07:00
justinta89
3b238c2e68
Started adding beacons execution module tests
2016-02-22 08:53:02 -07:00
Justin Findlay
8623c24335
add integration tests for minion blackout
...
Related to #30868 .
2016-02-19 18:04:31 -07:00
rallytime
28763be519
Remove unused import
2016-02-19 09:51:18 -07:00
rallytime
9b52e39e90
Add testcase for state.orchestrate output
2016-02-19 09:14:46 -07:00
rallytime
7ea9dacbdd
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/beacons/inotify.py
- salt/beacons/load.py
- salt/minion.py
- salt/modules/win_update.py
- salt/modules/yumpkg.py
- salt/utils/pkg/rpm.py
2016-02-18 11:10:44 -07:00
Ch3LL
da9bca625e
pkg.latest epoch test for 2016
2016-02-17 09:51:11 -07:00
Mike Place
c5e5af827c
Merge pull request #31171 from Ch3LL/megan-20158
...
added logic to check for installed package
2016-02-12 15:10:21 -07:00
Ch3LL
9204e3f562
add integration test for issue 30934w
2016-02-12 12:21:50 -07:00
Ch3LL
a12e2f566b
fix lint error
2016-02-12 11:38:29 -07:00
Ch3LL
a123efd4ef
added logic to check for installed package
2016-02-12 11:01:35 -07:00
Colton Myers
076b49a4ca
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-2016.3
...
Conflicts:
README.rst
doc/conf.py
doc/ref/index.rst
doc/ref/proxy/all/salt.proxy.ssh_sample.rst
doc/topics/installation/rhel.rst
doc/topics/releases/2015.8.4.rst
doc/topics/tutorials/states_pt5.rst
salt/cloud/clouds/ec2.py
salt/cloud/clouds/opennebula.py
salt/config/__init__.py
salt/modules/boto_dynamodb.py
salt/modules/boto_ec2.py
salt/modules/boto_elasticache.py
salt/modules/boto_elb.py
salt/modules/boto_iam.py
salt/modules/boto_rds.py
salt/modules/boto_sns.py
salt/modules/boto_sqs.py
salt/modules/dracr.py
salt/modules/git.py
salt/modules/mine.py
salt/modules/systemd.py
salt/modules/win_pkg.py
salt/modules/yumpkg.py
salt/pillar/__init__.py
salt/states/git.py
salt/states/rabbitmq_vhost.py
salt/states/saltmod.py
salt/utils/pkg/rpm.py
setup.py
tests/unit/modules/systemd_test.py
tests/unit/states/rabbitmq_vhost_test.py
2016-02-11 22:33:49 -07:00
Mike Place
b831e0a865
Merge pull request #31131 from Ch3LL/megan-20158
...
integration test for issue #31014
2016-02-11 10:33:23 -07:00
Ch3LL
af82b1233a
integration test for issue #31014
2016-02-10 21:46:22 -07:00
rallytime
742d0a6b04
Change all relevant Boron references to 2016.3.0
...
And more Boron deprecation warnings to Carbon
2016-02-10 15:45:28 -07:00
justinta89
a5eac47b25
Changed npm integration test to install request.
...
Later versions of npm were having trouble installing pm2 with the git link.
2016-02-10 14:31:16 -07:00
Colton Myers
67e17b3022
Revert "Deprecated code removed. "
2016-02-10 11:40:48 -07:00
justinta89
56efb2d06a
File state born deprecations.
...
Backport of #30988
2016-02-08 10:13:15 -07:00
justinta89
7a4be37c06
data.py code deprecations and minor test changes
2016-02-05 15:11:26 -07:00
Erik Johnson
58c4c01743
Add __role to master opts for gitfs integration tests
2016-02-02 21:58:50 -06:00
Erik Johnson
ef14956db0
Integration test for #30820
2016-02-02 15:34:19 -06:00
justinta89
9b5ce69a54
SyntaxError not appropriately caught. Further testing shows that python2.4 will use print() without an error.
2016-02-01 10:34:24 -07:00
justinta89
0acb145aa1
Adjusting script for cmd.script test
...
After #29964 was merged the cmd.script and cmd.script_retcode tests on centos 5
started failing because the /usr/bin/env python version is the system default.
The script used print_fuction from __futures__ which was not introduced until
python2.6.
@The-Loeki, I noticed this after your changes to cmdmod function. If you have
thoughts or comments as to why this behavior changed after that, I'm all ears.
othersie, this should take care of the failures on centos 5 on jenkins.
2016-01-29 11:52:17 -07:00
Nicole Thomas
05349071dc
Merge pull request #30503 from StackPointCloud/profitbricks-cloud-provider
...
Adds cloud provider support for ProfitBricks
2016-01-25 11:28:41 -07:00
Ethan Devenport
de7d1666f6
Updates made after PR review:
...
* Improved and cleaned up documentation.
* Removed unnecessary namespaces.
* Made to fail when no ssh_host is found.
* Cleared pylint violations.
2016-01-25 18:02:10 +00:00
Colton Myers
cb8bf91944
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
doc/ref/configuration/master.rst
doc/topics/cloud/linode.rst
salt/cloud/clouds/linode.py
salt/modules/rh_ip.py
salt/renderers/pyobjects.py
salt/states/file.py
2016-01-21 17:42:50 -07:00
Mike Place
cdc731b8c5
Merge pull request #30521 from basepi/merge-forward-2015.8
...
[2015.8] Merge forward from 2015.5 to 2015.8
2016-01-21 16:05:03 -07:00
Ethan Devenport
44491f69cf
Adds cloud provider support for ProfitBricks Cloud Computing Infrastructure Services.
2016-01-21 22:52:25 +00:00
Colton Myers
117fb205de
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8
...
Conflicts:
tests/unit/modules/boto_vpc_test.py
2016-01-21 14:37:32 -07:00
Erik Johnson
393015edbb
Remove git.list_worktrees tests
...
These are being added back as unit tests.
2016-01-21 15:13:02 -06:00
Justin Findlay
66f06f2bd3
disable pkgrepo test for ubuntu 15.10+
2016-01-21 10:55:37 -07:00
Justin Findlay
fb9972f590
modules.pkg: disable repo int test for ubuntu 15.10
2016-01-19 15:27:12 -07:00
Stephen D. Spencer
18b4b829e9
. adjust regex to account for the presence/absence of version strings on
...
module names (depends on whether or not they're used in the requirements
file)
. finish generalizing pip_successful_install utility function
2015-12-28 18:48:16 +00:00
Stephen D. Spencer
7373758237
fix indentiation
2015-12-28 18:02:24 +00:00
Stephen D. Spencer
22e89838f2
testing against stdout of a cli utility is for the birds. But I think
...
these tests are properly capturing "Success" messages from pip
c.2013-c.2015
2015-12-28 17:19:05 +00:00
Stephen D. Spencer
4ccfa921b3
add re.DOTALL flag to regex
2015-12-28 15:57:55 +00:00
Stephen D. Spencer
84031b6ce0
additional integration tests to verify chained requirements work
...
properly when used in a list of requirements files
2015-12-28 09:30:19 +00:00
Stephen D. Spencer
878def94fd
pip,requirements filej chain support + requirements list arg support
...
modules.pip:
. `requirements` argument now properly supports requirements file
chaining by default--`no_chown` not required)
. `requirements` argument can be formed as a list
. `requirements` files can still be formed as a comma-delimited list
. both list structures support requirements file chaining
states.virtualenv_mod:
. had to give states.virtualenv.managed() a little bit of attention to
provide a cwd argument for modules.pip.installed(). This is done via
os.path.dirname(os.path.abspath(requirements)) if a requirements
argument is present
tests.integration.modules.pip:
. added:
test_requirements_as_list__sans_no_chown___absolute_file_path
test_requirements_as_list__sans_no_chown___non_absolute_file_path
test_chained_requirements__sans_no_chown___absolute_file_path
test_chained_requirements__sans_no_chown___non_absolute_file_path
. all tests passed before commit
2015-12-26 21:30:27 -06:00
Mike Place
c19782a184
Merge pull request #29853 from basepi/merge-forward-develop
...
Merge forward from 2015.8 to develop
2015-12-22 08:05:49 -07:00
Sergey Kizunov
793c0bef75
Fixed Windows salt-master memory leaks in logger
...
__process_multiprocessing_logging_queue:
- A leak was observed in this process on Windows. On Windows, creating a
new process doesn't fork (copy the parent process image). Due to this, we
need to setup extended logging inside this process. The leak was due to
the temp null and temp logging handlers being active which just store
messages but don't process them. Setting up extended logging removes
those handlers and fixes the leak (as well as properly dealing with
incoming logging messages).
setup_multiprocessing_logging:
- A leak was obversed in processes that used this on Windows. Similar
to above, due to lack of fork, the new process will have the temp null
and temp logging handlers enabled, causing the leak. In this function,
removing those handlers prevents the leak.
Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2015-12-20 09:05:19 -06:00
Colton Myers
95fe811724
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
salt/minion.py
salt/modules/network.py
salt/scripts.py
salt/states/file.py
salt/states/git.py
salt/utils/event.py
2015-12-18 15:00:24 -07:00
Thomas S Hatch
ab61f78295
Merge pull request #29775 from lyft/listen-id-declaration-resolution-stable
...
Change listen requisite resolution from name to ID declaration
2015-12-16 15:56:03 -07:00
Paul Fisher
ff3a809c11
Change listen requisite resolution from name to ID declaration
2015-12-16 13:54:49 -08:00