rallytime
3149da1bcc
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-06-29 16:16:46 -06:00
Nicole Thomas
94e094652c
Back-port #34324 to 2015.8 ( #34344 )
...
* Add test to match against custom grains
* Lint
* Forgot to add custom grain
2016-06-28 16:35:32 -04:00
rallytime
c6f18fac3f
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/minion.py
2016-05-10 15:13:24 -06:00
rallytime
449176f06e
Merge branch '2015.5' into '2015.8'
...
No conflicts.
2016-05-10 11:58:55 -06:00
Justin Anderson
8b1e34fb17
Skipping salt-call --local test
2016-05-10 10:48:18 -06:00
rallytime
92e0c17645
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-05-09 13:55:06 -06:00
rallytime
0fd5e9d157
Merge branch '2015.5' into '2015.8'
...
Conflits:
- salt/minion.py
- tests/integration/states/file.py
2016-05-06 12:04:06 -06:00
Megan Wilhite
61d126cb98
add test for installing package while using salt-call --local ( #33025 )
...
* add test for installing package while using salt-call --local
* fix pylint
2016-05-05 07:17:12 -07:00
Justin Findlay
aac1ae35c5
fix some shell tests for MacOS ( #32852 )
...
* auth.pam int test: use unhashed pw for MacOS
* shell tests: strip whitespace from shell return
Similar to 2f1c0cf
.
* modules.mac_user.delete: update example for int test
integration.shell.call.CallTest.test_user_delete_kw_output expects this
exact string to be in the doc for user.delete:
```
salt '*' user.delete name remove=True force=True
```
2016-04-26 09:47:35 -06:00
Ch3LL
665468b5e8
fix pylint
2016-03-30 10:28:48 -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
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
35b2076584
Pylint fixes
2016-03-15 14:55:35 -06: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
Colton Myers
efb479a1bd
Merge remote-tracking branch 'upstream/2015.8' into merge-forward-develop
...
Conflicts:
doc/topics/cloud/vmware.rst
salt/cloud/clouds/vmware.py
salt/grains/chronos.py
salt/grains/marathon.py
salt/loader.py
salt/modules/chronos.py
salt/modules/marathon.py
salt/proxy/chronos.py
salt/proxy/marathon.py
salt/state.py
salt/states/chronos_job.py
salt/states/marathon_app.py
salt/states/user.py
salt/utils/schedule.py
2015-11-13 15:18:45 -07:00
Mike Place
785bf94f55
Add transport setting to shell test
2015-11-12 14:32:39 -07:00
Mike Place
9b18f372e6
Normalize IPC check among transports
2015-11-11 16:26:32 -07:00
Thayne Harbaugh
3bedbb713b
Use "test.versions" instead of "-g" (pid in grains changes).
...
integration.shell.call.test_issue_15074_output_file_append test just needs any
output that is repeatable. Previously it used the grains output ("-g"
argument). Unfortunately grains now includes the PID which changes for each
invocation of "salt-call" and is therefore not predictably comparable. Use
"test.versions" that should have constant output across multiple invocations.
2015-11-03 14:10:37 -07:00
Pedro Algarvio
e7681f7c75
Try to overcome a failure to get cwd in Cent tests
2015-07-28 12:07:04 +01:00
Justin Findlay
a95353b4e3
add tcp transport to shell.key tests
2015-07-20 17:02:25 -06:00
Colton Myers
c4f5e231fa
Merge remote-tracking branch 'upstream/2015.5' into merge-forward-develop2
...
Conflicts:
doc/_themes/saltstack2/layout.html
doc/conf.py
doc/index.rst
doc/ref/modules/all/salt.modules.hipchat.rst
doc/topics/releases/index.rst
salt/client/ssh/client.py
salt/cloud/clouds/vsphere.py
salt/modules/boto_dynamodb.py
salt/modules/boto_route53.py
salt/modules/data.py
salt/modules/http.py
salt/modules/tls.py
salt/output/compact.py
salt/states/boto_elb.py
salt/states/linux_acl.py
salt/states/rabbitmq_user.py
salt/states/win_servermanager.py
salt/utils/dictupdate.py
salt/wheel/config.py
2015-05-29 15:10:13 -06:00
Justin Findlay
6b6280442c
disable intermittently failing tests
...
This commit is to be reverted when #23623 is merged.
2015-05-28 16:23:57 -06:00
Thayne Harbaugh
6f4cfd01fc
Specify compound matches as lists
...
Compound matches, such as nodegroups, can now be specified as lists. This
avoids splitting on whitespace which may be part of a key or value.
Right now this only works for nodegroups. Making the argument to "-C"
(compound list) a JSON argument is a future task.
2015-04-24 17:00:04 -06:00
Thayne Harbaugh
993373655a
Allow grain and pillar delimiter to be specified in compound matcher syntax.
2015-04-23 23:26:49 -06:00
Thayne Harbaugh
d6fe499f55
Allow compound expressions to begin with "not"
2015-04-22 17:38:17 -06:00
Pedro Algarvio
f7e6f716e3
Make PEP-8 checker happier
2015-04-21 20:35:14 -06:00
Colton Myers
ef583295d5
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/beacons/service.py
2015-04-20 11:41:25 -06:00
Thayne Harbaugh
b37b6b2849
Add a test for incorrectly-nested nodegroups that cause a resolution loop.
2015-04-17 17:01:47 -06:00
Thayne Harbaugh
6c1d4d58e9
Fix failure with nested nodegroups:
...
If a nodegroup was re-used - even if it wasn't a circular reference - it
would fail the nodegroup expansion with the following message:
Failed nodegroup expansion: illegal nested nodegroup "min"
This was simply because already-visited nodegroups are pushed into `skip`
but were never popped.
* Add another test case for this situation.
* Pop the current nodegroup from `skip` when leaving the expansion
context
Fixes : #22797
2015-04-17 15:20:34 -06:00
rallytime
1e4b93dec9
Python 3 compat fixes for develop
2015-04-17 12:00:01 -06:00
Colton Myers
000de95974
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
.pylintrc
doc/ref/runners/all/salt.runners.nacl.rst
doc/topics/cloud/config.rst
salt/cli/salt.py
salt/client/mixins.py
salt/client/ssh/__init__.py
salt/loader.py
salt/minion.py
salt/modules/cassandra_cql.py
salt/modules/gpg.py
salt/modules/grains.py
salt/modules/iptables.py
salt/modules/yumpkg.py
salt/netapi/rest_cherrypy/app.py
salt/renderers/pyobjects.py
salt/returners/mysql.py
salt/runners/jobs.py
salt/state.py
salt/states/file.py
salt/states/service.py
salt/utils/minions.py
tests/integration/__init__.py
tests/integration/netapi/rest_tornado/test_app.py
tests/integration/states/cmd.py
2015-04-16 12:15:44 -06:00
Thomas S Hatch
b626149245
fix tests
2015-04-15 11:59:25 -06:00
Colton Myers
5b6d410119
Fix calltest
2015-04-11 15:59:06 -04:00
Colton Myers
99744b9568
Fix lint
2015-04-11 15:56:09 -04:00
Colton Myers
cc8785e980
Fix the test.fib tests
2015-04-11 14:48:59 -04:00
Thayne Harbaugh
1c3536fb8e
Support nested nodegroups
...
Nodegroups can be recursively expanded without worrying about other
compound matcher expansions. Once the nodegroups are expanded on the
master the remaining flattened compound match can be expanded without the
nodegroup information.
2015-04-08 23:16:39 -06:00
Thomas S Hatch
234cb65a23
Merge pull request #22319 from plastikos/improvement-pillar_pcre
...
Improvement: add pillar PCRE matching
2015-04-07 09:09:49 -06:00
Thayne Harbaugh
a7a33b381c
Various fixes:
...
* Add missing spaces in help
* Correct order of arguments to _check_cache_minions() (not part of pillar_pcre)
* Add platening of pillar_pcre to pillar_exact_minions
* Add missing match to pillar_pcre
* Correct unit test
2015-04-03 18:32:52 -06:00
Justin Findlay
fb8b1858a7
shell {en|dis}abled tests for cmdline, templates
2015-04-03 18:08:13 -06:00
Thayne Harbaugh
c91392bc91
Add option -J/--pillar-pcre to match on pillar PCREs
2015-04-03 02:47:19 -06:00
Colton Myers
3c5f9af2d4
Lint (blank lines)
2015-03-21 15:36:04 -06:00
Colton Myers
70406867a4
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/client/__init__.py
salt/modules/file.py
salt/modules/yumpkg.py
salt/modules/zypper.py
tests/integration/shell/auth.py
tests/unit/states/archive_test.py
tests/unit/states/module_test.py
2015-03-20 20:09:19 -06:00
Colton Myers
2b1f400ab4
Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
...
Conflicts:
doc/topics/topology/syndic.rst
salt/client/__init__.py
salt/daemons/masterapi.py
salt/minion.py
salt/modules/dockerio.py
2015-03-19 16:03:29 -06:00
Justin Findlay
f735f0b96d
add eauth pam group tests
...
Adds test for #17380 .
2015-03-17 14:25:57 -06:00
Justin Findlay
ebc6a1f4c8
fix matcher tests for 2015.2->develop merge
2015-02-23 15:39:44 -07:00
Colton Myers
c8eb2d4665
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
doc/topics/installation/windows.rst
salt/cloud/clouds/joyent.py
salt/daemons/flo/core.py
salt/minion.py
2015-02-23 14:25:51 -07:00
Colton Myers
c3b7be0655
Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
...
Conflicts:
doc/topics/installation/rhel.rst
salt/output/__init__.py
salt/utils/__init__.py
2015-02-20 13:51:59 -07:00
Justin Findlay
0d6663b8a8
conform shell integration tests to txt runner
2015-02-17 15:40:17 -07:00