Commit Graph

82989 Commits

Author SHA1 Message Date
Nicole Thomas
bf6153ebe5 Merge pull request #42795 from lomeroe/bp-42744_201611
backport #42744 to 2016.11
2017-08-08 13:17:14 -04:00
Nicole Thomas
44995b1abf Merge pull request #42794 from lomeroe/bp-42744
Backport #42744 to 2017.7
2017-08-08 13:16:30 -04:00
Sergey Kizunov
fa5822009f Fix exception when master_type=disable
The following exception occasionally occurs when `master_type=disable`:

```
  File "/usr/lib/python2.7/site-packages/salt/minion.py", line 1989,
  in handle_event
    self._fire_master(data['data'], data['tag'], data['events'],
    data['pretag'])
  File "/usr/lib/python2.7/site-packages/salt/minion.py", line 1261, in
  _fire_master
    'tok': self.tok}
AttributeError: 'Minion' object has no attribute 'tok'
```

This occurs because it tries to fire a master event when the minion
is not connected to the master, in this case due to an action from a
beacon.

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2017-08-08 11:55:25 -05:00
Sebastian Sobczynski
1cc86592ed Update return data before calling returners 2017-08-08 16:19:29 +01:00
lomeroe
695f8c1ae4 fix #42600 in develop
attempt to write data to regpol file even if data_to_write is empty
(i.e. no policies configured)
2017-08-08 09:24:51 -05:00
lomeroe
0acffc6df5 fix #42600 in develop
attempt to write data to regpol file even if data_to_write is empty
(i.e. no policies configured)
2017-08-08 09:03:35 -05:00
Nicole Thomas
dcf474c47c Merge pull request #42708 from cro/dont_change_args_during_memoize
Do not change the arguments of the function when memoizing
2017-08-08 09:47:01 -04:00
Nicole Thomas
ddb671b8fe Merge pull request #42783 from rallytime/fix-flaky-py3-test
Sort lists before comparing them in python 3 unit test
2017-08-08 09:25:14 -04:00
Adam Mendlik
928b523797 Remove waits and retries from Saltify deployment
The waits and retries are there to give a new VM a chance
to be created and booted. Saltify works against existing
VMs, so there is no need to wait for services to become
available.
2017-08-07 16:26:42 -06:00
Mike Place
d69822fe93 Merge pull request #42721 from hibbert/allow_no_ip_sg
Allow no ip sg
2017-08-07 17:07:18 -05:00
Seth House
c7ea631558 Add more docs on the token_expire param 2017-08-07 15:37:59 -06:00
Mike Place
61fad97286 Merge pull request #42748 from whiteinge/save-before-output
Workaround Orchestrate problem that highstate outputter mutates data
2017-08-07 16:11:32 -05:00
Mike Place
a4e3e7e786 Merge pull request #42764 from amendlik/cloud-win-loop
Fix infinite loop with salt-cloud and Windows nodes
2017-08-07 15:47:06 -05:00
Mike Place
bf7938fbe0 Merge pull request #42769 from terminalmage/issue42538
Fix domainname parameter input translation
2017-08-07 15:46:04 -05:00
Ch3LL
90a2fb66a2 Fix typo for template_dict in http docs 2017-08-07 16:45:42 -04:00
Daniel Wallace
d397c90e92 only read file if it is not a string 2017-08-07 14:37:42 -06:00
rallytime
998834fbac Sort lists before compairing them in python 3 unit test 2017-08-07 16:09:43 -04:00
rallytime
d707f94863 Update all other calls to "cmp" function
Some should just use the new utility function, while others can just
be compared more directly.
2017-08-07 15:38:39 -04:00
rallytime
5605104285 Add a cmp compatibility function utility
The ``cmp`` function has been removed in Python 3. This PR adds the
functionality as a salt utility, so the function can be used across
all Python versions.

Fixes #42697
2017-08-07 15:05:46 -04:00
Nicole Thomas
da85326ad4 Merge pull request #42694 from gtmanfred/2016.11
allow adding extra remotes to a repository
2017-08-07 14:08:10 -04:00
Nicole Thomas
7bf2cdb363 Merge pull request #42388 from The-Loeki/patch-1
pillar.items pillar_env & pillar_override are never used
2017-08-07 13:51:47 -04:00
Daniel Wallace
7ef691e8da make sure to use the correct out_file
When installing more than one package, the out_file is not correct when doing
the install.
2017-08-07 11:44:24 -06:00
Nicole Thomas
9a8c9ebffc Merge pull request #42770 from rallytime/merge-2017.7.1-into-2017.7
[2017.7] Merge forward from 2017.7.1 to 2017.7
2017-08-07 12:21:44 -04:00
Nicole Thomas
c765e528d0 Merge pull request #42768 from rallytime/merge-2017.7
[2017.7] Merge forward from 2016.11 to 2017.7
2017-08-07 12:21:16 -04:00
Erik Johnson
665de2d1f9 Fix domainname parameter input translation
Resolves #42538
2017-08-07 09:51:14 -05:00
rallytime
6d17c9d227 Merge branch '2017.7.1' into '2017.7'
No conflicts.
2017-08-07 10:39:19 -04:00
Nicole Thomas
3f5827f61e Merge pull request #42651 from gtmanfred/2017.7
python2- prefix for fedora 26 packages
2017-08-07 10:35:04 -04:00
rallytime
0f75482c37 Merge branch '2016.11' into '2017.7'
Conflicts:
  - salt/modules/rabbitmq.py
  - salt/netapi/rest_cherrypy/app.py
  - salt/netapi/rest_tornado/saltnado.py
2017-08-07 09:57:03 -04:00
Mike Place
7b2119feee Merge pull request #42669 from garethgreenaway/42642_2016_11_augeas_module_fix
[2016.11] Fixes to augeas module
2017-08-06 12:58:02 -05:00
Mike Place
791248e398 Merge pull request #42689 from hibbert/boto_efs_fix_tags
boto_efs_fix_tags: Fix #42688 invalid type for parameter tags
2017-08-06 12:47:06 -05:00
garethgreenaway
1b3407649b Merge pull request #42745 from terminalmage/issue42705
docker.compare_container: treat null oom_kill_disable as False
2017-08-05 08:28:19 -07:00
Erik Johnson
710bdf6115 docker.compare_container: treat null oom_kill_disable as False
Resolves #42705.
2017-08-04 21:47:07 -05:00
Mike Place
5d5b22021b Merge pull request #42704 from whiteinge/expr_form-warn-scope-bug
Add import to work around likely multiprocessing scoping bug
2017-08-04 18:03:13 -05:00
Seth House
4a9f6ba44f Add token_expire_user_override link to auth runner docstring 2017-08-04 15:10:02 -06:00
Seth House
de60b77c82 Workaround Orchestrate problem that highstate outputter mutates data 2017-08-04 13:01:50 -06:00
garethgreenaway
888e954e73 Merge pull request #42743 from kkoppel/fix-issue-42741
Fix docker.compare_container for containers with links
2017-08-04 09:00:33 -07:00
garethgreenaway
de6d3cc0cf Update dockermod.py 2017-08-04 08:59:33 -07:00
garethgreenaway
03a7f9bbee Merge pull request #42710 from gtmanfred/syndic
use subtraction instead of or
2017-08-04 08:14:13 -07:00
Adam Mendlik
f3dcfca4e0 Fix infinite loops on failed Windows deployments 2017-08-04 09:09:15 -06:00
Kristjan Koppel
58b997c67f Added a helper function that removes container names from container HostConfig:Links values to enable compare_container() to make the correct decision about differences in links.
Fixes #42741
2017-08-04 15:35:41 +03:00
Mike Place
30725769ed Merge pull request #42629 from xiaoanyunfei/tornadoapi
tornado api
2017-08-03 17:21:19 -05:00
Mike Place
f0f00fcee1 Merge pull request #42655 from whiteinge/rest_cherrypy-reenable-stats
Reenable cpstats for rest_cherrypy
2017-08-03 15:44:10 -05:00
Mike Place
005182b6a1 Merge pull request #42670 from gtmanfred/kube
render kubernetes docs
2017-08-03 15:30:55 -05:00
Mike Place
df354ddabf Merge pull request #42712 from twangboy/win_build_pkg
Remove master config file from minion-only installer
2017-08-03 15:25:02 -05:00
Mike Place
21cf15f9c3 Merge pull request #42693 from gilbsgilbs/fix-rabbitmq-tags
Fix RabbitMQ tags not properly set.
2017-08-03 15:23:08 -05:00
Daniel Wallace
683561a711 use subtraction instead of or
If we use or, we will get minions that are in the ret list, but not connected
to the master in cases where the syndic is used.
2017-08-03 09:02:49 -06:00
Daniel Wallace
8784899942 fix syntax 2017-08-03 09:02:09 -06:00
Daniel Wallace
178cc1bd81 make sure names are correct 2017-08-03 09:02:09 -06:00
Daniel Wallace
f179b97b52 add py3 for versionlock 2017-08-03 09:02:09 -06:00
Daniel Wallace
1958d18634 python2- prefix for fedora 26 packages 2017-08-03 09:02:09 -06:00