Commit Graph

49640 Commits

Author SHA1 Message Date
Pedro Algarvio
915da594c2 Skip M2Crypto in Windows.
Wwe're installing M2CryptoWin{32,64} which comes compiled
2015-08-17 19:48:00 +01:00
Pedro Algarvio
1ea426e299 Move code to properly handle default requirements.
Refs #26305
2015-08-17 19:48:00 +01:00
Pedro Algarvio
8fda8c0db3 M2CryptoWin{32,64} should only be installed on Salt < 2015.8.0 2015-08-17 19:48:00 +01:00
Pedro Algarvio
0ff2f19aee Override the develop command in cmdclass 2015-08-17 19:47:59 +01:00
Pedro Algarvio
a5aa752a85 Override the develop command when WITH_SETUPTOOLS is set 2015-08-17 19:47:59 +01:00
Pedro Algarvio
4d6841c761 Install M2CryptoWin{32,64} while installing Salt 2015-08-17 19:47:59 +01:00
Mike Place
709499438b Merge pull request #26386 from jahamn/fix-autosign_timeout
Fixes autosign_timeout usage in check_autosign_dir
2015-08-17 12:34:40 -06:00
David Boucha
8d901d7b15 Merge pull request #26328 from twangboy/fix_25562
Removed salt-master role requirement
2015-08-17 12:30:17 -06:00
TheBigBear
a013bb5b3d minor edit 2015-08-17 11:53:05 -06:00
Julien Cigar
f0bc3765d9 No logging should happen on __virtual__ 2015-08-17 11:49:13 -06:00
Julien Cigar
ca406eaf3c proposed fix for #26155 2015-08-17 11:49:13 -06:00
Mike Place
74558f5743 Merge pull request #26362 from garethgreenaway/2015_5_26327_more_invisible_mount_options
Fixes to mount state.
2015-08-17 11:44:55 -06:00
Nicole Thomas
7dbbd90c98 Merge pull request #26379 from s0undt3ch/issues/backport-26353
[2015.5] Backport #26353
2015-08-17 11:19:28 -06:00
Jason Hamner
b2fa2ac9d3 Fixes autosign_timeout usage in check_autosign_dir
Fixes #24334
2015-08-17 11:00:25 -06:00
rallytime
211f6feaf5 Fix test failures - get_attributes shouldn't be called if none are provided 2015-08-17 10:58:44 -06:00
Bastiaan Bakker
ec8d4b0470 test wether RETVAL is 0 with -eq rather than =. 2015-08-17 17:20:33 +02:00
Loren Carvalho
33ed315c85 fixed Packaing -> Packaging typo and added a couple comments on the setuptools/distutils abstract methods 2015-08-17 15:33:51 +01:00
Bastiaan Bakker
a83a5de41e fix issue #26161: on RedHat family systems touch /var/lock/subsys/$SERVICE to ensure the daemon will be stopped on shutdown. 2015-08-17 11:11:12 +02:00
Gareth J. Greenaway
cf532d46dd Some mount options are translated to different options once a share has been mounted, eg. when specifying a protocol for NFS as either tcp or udp this option is translated into either proto=tcp or proto=udp. Change adds a lookup dictionary for these options so that a re-mount isn't forced each time. 2015-08-16 08:15:05 -07:00
rallytime
d8ad023e88 Don't call boto_elb._attributes_present if no attributes were provided
Refs #16049
2015-08-14 15:47:53 -06:00
C. R. Oldham
bcca1b4c5a Merge pull request #26277 from rallytime/fix-26240
Handle exception when user is not found in keystone.user_get
2015-08-14 13:41:59 -06:00
C. R. Oldham
78be3a826f Merge pull request #26326 from rallytime/create_snapshot_return
Make ec2.create_snapshot return less unweildly and more relevant
2015-08-14 13:40:47 -06:00
Justin Findlay
44c9d3063b Merge pull request #26306 from rallytime/fix-16179
Move VM creation details dict to log.trace
2015-08-14 11:39:52 -06:00
twangboy
d4ca1dccbf Removed salt-master role requirement 2015-08-14 10:52:45 -06:00
rallytime
c5395db851 Make ec2.create_snapshot return less unweildly and more relevant 2015-08-14 09:57:53 -06:00
rallytime
670464258f Move VM creation details dict to log.trace
Fixes #16179
2015-08-13 16:44:10 -06:00
Justin Findlay
1e3f33a03c autogenerated 2015.5.4 release notes 2015-08-13 14:32:17 -06:00
Justin Findlay
0a5d1307c4 Merge pull request #26292 from jquast/backport-ubuntu-rabbitmq-fix
Rabbitmq 3.2.4 on Ubuntu has "...done.", not "...done"
2015-08-13 13:53:29 -06:00
Justin Findlay
21cc3c3bf6 Merge pull request #26296 from jquast/bugfix-runas-rabbitmqctl-2015.5
bugfix missing `runas=None' for rabbitmqctl cmds (backport to 2015.5)
2015-08-13 13:52:40 -06:00
Justin Findlay
ee59d154d7 Merge pull request #26293 from jfindlay/reggie
Fix #26268
2015-08-13 13:48:06 -06:00
Justin Findlay
7e94989403 mock pwd calls in pw_user exec mod test
Fixes #26266.
2015-08-13 13:20:11 -06:00
Justin Findlay
26f5b466f5 check for pwd on linux and BSD user exec mods 2015-08-13 13:11:28 -06:00
Mike Place
5dd5ac1198 Merge pull request #26290 from rallytime/fix-25192
Only call convert_to_arn when action name is provided
2015-08-13 12:48:58 -06:00
Justin Findlay
c81dc0b62f Merge pull request #26288 from bbinet/grains-absent-fix
allow to delete grains which value is False
2015-08-13 12:24:36 -06:00
Justin Findlay
91ea964556 add versionadded to reg exec and state mods 2015-08-13 12:13:02 -06:00
Justin Findlay
3348b726c9 fix state/reg unit tests 2015-08-13 12:13:02 -06:00
vr-jack
1fd6fc6ce3 Keep $HOME from being interpretted by Master shell
The command is being sent to a shelled ssh call which allows $HOME to get interpreted by the local shell. This is usually different than the remote user when using sudo (ie, /root vs /home/user) and causes it to fail to find the shim script.

Should fix bugs: https://github.com/saltstack/salt/issues/25134 and https://github.com/saltstack/salt/issues/24863
2015-08-13 12:52:41 -05:00
Jeff Quast
eb77320786 bugfix missing `runas=None' for rabbitmqctl cmds
Problem
=======

Some rabbitmqctl client commands were executed without
honoring the ``runas`` state keyword, resulting in
system commands executed as the minion. States that
previously succeeded are now failed by parser error
traceback when failing to split by expected tabstops
output, wheras the output likely contains some error.

Solution
========

Forward the ``runas=None`` keyword parameter in the
standard pattern for supplementary functions that
were introduced by cd0212e8e, ``_check_perms_changes``
and ``_check_tags_changes``.

All calls to ``__salt__['rabbtimq.(...)']`` were
audited, no further bugs of this pattern found.

Example Symptom
===============

```
Failure: rabbitmq_user_|-rabbitmq-user-xxx_|-xxx_|-present: An exception occurred in this state: Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/salt/state.py", line 1561, in call
      **cdata['kwargs'])
    File "/usr/lib/python2.7/site-packages/salt/states/rabbitmq_user.py", line 147, in present
      if _check_tags_changes(name, tags):
    File "/usr/lib/python2.7/site-packages/salt/states/rabbitmq_user.py", line 70, in _check_tags_changes
      return __salt__['rabbitmq.list_users']()[name] - set(newtags)
    File "/usr/lib/python2.7/site-packages/salt/modules/rabbitmq.py", line 116, in list_users
      return _output_to_dict(res, func)
    File "/usr/lib/python2.7/site-packages/salt/modules/rabbitmq.py", line 94, in _output_to_dict
      key, values = row.split('\t', 1)
  ValueError: need more than 1 value to unpack
```
2015-08-13 10:50:04 -07:00
Justin Findlay
3f74a389ce return test results when test=True 2015-08-13 11:05:11 -06:00
Geraint Jones
39ef653bc2 Rabbitmq 3.2.4 on Ubuntu has ...done. not ...done, change the if to be more portable 2015-08-13 10:00:47 -07:00
rallytime
a1f90fa070 Only call convert_to_arn when action name is provided
Refs #25192
2015-08-13 10:57:14 -06:00
rallytime
0b6977335e Clean it up 2015-08-13 10:42:20 -06:00
rallytime
5edabfd271 It's a dict - git problems... 2015-08-13 10:40:53 -06:00
rallytime
39d3eb66f0 Log error and return error - make returns consistent. 2015-08-13 10:39:03 -06:00
Mike Place
65ab5aa495 Merge pull request #26263 from rallytime/fix-24882
Don't make changes when test=True for openstack present/absent funcs
2015-08-13 10:30:31 -06:00
Mike Place
3d1a9cfedd Merge pull request #26265 from rallytime/fix-24484
Don't stacktrace on query return in ec2.create_snapshot
2015-08-13 10:28:48 -06:00
Mike Place
5778cb3f01 Merge pull request #26285 from stanislavb/2015.5
Remove explicit version from instance identity URL
2015-08-13 10:25:32 -06:00
Bruno Binet
f46722aaeb allow to delete grains which value is False 2015-08-13 18:22:21 +02:00
Mike Place
679dc089c0 Merge pull request #26275 from cachedout/mm_reinit
Re-init modules on multi-master reconnect
2015-08-13 09:52:50 -06:00
Nicole Thomas
75fff28779 Merge pull request #26273 from garethgreenaway/2015_5_schedule_list_show_jobs_enabled
Fixes to schedule module in 2015.5
2015-08-13 09:34:42 -06:00