Commit Graph

54183 Commits

Author SHA1 Message Date
Nitin Madhok
a9a38a20b1 Waiting for vmware tools to be running 2015-06-07 20:55:43 -04:00
Nitin Madhok
94ebd4bc63 Show same examples for memory 2015-06-07 04:21:07 -04:00
Nitin Madhok
e7b855f9ca adding docs for ability to specify memory in mb and gb 2015-06-07 04:18:53 -04:00
Nitin Madhok
53e508dd20 Ability to specify memory in mb and gb along with other minor fixes 2015-06-07 03:49:09 -04:00
Nitin Madhok
a61516c672 The default for power_on should be True instead of False as per the docs 2015-06-07 02:36:57 -04:00
Justin Findlay
dce1f34ee9 Merge pull request #24454 from rhertzog/rhertzog-patch-1
Strip extraneous newline character added in last environment variable
2015-06-06 17:15:26 -06:00
Justin Findlay
d6a4bd90e9 Merge pull request #24420 from aboe76/add_mod_random_integer/develop
added random integer module to mod_random.py
2015-06-06 08:24:59 -06:00
Michael Steed
83a96367a4 Manual merge of #24414 per thatch45 2015-06-06 07:47:52 -06:00
Thomas S Hatch
dccb83e1ca Merge pull request #24424 from skizunov/develop2
On Windows running salt with admin privileges now authenticates
2015-06-05 18:18:28 -06:00
Raphaël Hertzog
b9c950bc2f Avoid extraneous newline character added in last environment variable
The print statement used to dump the environment associated to the 'runas'
user adds a trailing newline at the end of the string. This newline is
kept and injected in the value of the last environment variable. Most of
the time, it is innocuous but in some cases it can have serious
consequences.

In my case, the last variable was HOME and the trailing newline broke the
command that salt was executing because it was not able to create a file
in the home directory (which was non-existing).

Sponsored-By: Offensive Security
Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
2015-06-05 20:13:15 +02:00
Nicole Thomas
98608c8a78 Merge pull request #24423 from garethgreenaway/refactor_random_salt_utils_http
Refactoring random.org module to use salt.utils.http instead of requests
2015-06-05 11:09:17 -06:00
Justin Findlay
ec32648849 Merge pull request #24453 from bechtoldt/pkg_runner_docs
set versionadded Beryllium for salt.runners.pkg
2015-06-05 09:33:53 -06:00
Justin Findlay
cfe1e2cc01 Merge pull request #24442 from ajacoutot/openbsd-network
openbsd: add _openbsd_remotes_on
2015-06-05 09:19:29 -06:00
Justin Findlay
69965de8e2 Merge pull request #24441 from arthurlogilab/patch-6
[doc] Alignement fix on external_auth documentation
2015-06-05 09:15:11 -06:00
Arnold Bechtoldt
9b66f09b83 set versionadded Beryllium for salt.runners.pkg 2015-06-05 16:56:18 +02:00
Antoine Jacoutot
aacf1ebf08 openbsd: add _openbsd_remotes_on
Helper function to natively returns a set of ipv4 host addresses of both local
and remote established connections without needing to depend on lsof(8).
2015-06-05 12:33:46 +02:00
Arthur Lutz
24502e2655 [doc] Alignement fix on external_auth documentation 2015-06-05 12:32:21 +02:00
Gareth J. Greenaway
c95f8be0ae Updating unit tests based on changes to module. 2015-06-04 20:33:52 -07:00
Gareth J. Greenaway
8d7906bce1 removing unnecessary imports. 2015-06-04 20:33:52 -07:00
Gareth J. Greenaway
e896c4a788 Refactoring random.org module to use salt.utils.http instead of requests 2015-06-04 20:33:52 -07:00
Nicole Thomas
0ca6e26e1c Merge pull request #24432 from rallytime/whitespace
Whitespace fix
2015-06-04 19:31:03 -06:00
rallytime
87fd5355c4 Whitespace fix 2015-06-04 19:24:23 -06:00
Nicole Thomas
80d6e6579c Merge pull request #24431 from rallytime/merge-24417
Merge #24417 with pylint fixes
2015-06-04 18:57:46 -06:00
Nicole Thomas
6b0044ad17 Merge pull request #24421 from bechtoldt/update_docs
add missing module documentation
2015-06-04 18:30:39 -06:00
Nicole Thomas
97104eee8c Merge pull request #24415 from garethgreenaway/refactor_slack_salt_utils_http
Switching slack module and slack returner to using salt.utils.http
2015-06-04 18:25:39 -06:00
Nicole Thomas
b770939605 Merge pull request #24425 from jtand/docstring_rpm
Added example docstring to fix test failures
2015-06-04 18:21:49 -06:00
Nicole Thomas
75890b2818 Merge pull request #24410 from jtand/pkg_resource
Changed mock path to be absolute in test_parse_targets
2015-06-04 18:21:07 -06:00
rallytime
e739a99d9f Merge #24417 with pylint fixes
Refs #24417
2015-06-04 18:17:58 -06:00
Justin
356bfa7f74 Added example docstring to fix test failures 2015-06-04 15:44:56 -06:00
Sergey Kizunov
270267ea16 On Windows running salt with admin privileges now authenticates
On Windows, salt.utils.get_specific_user will now return
'sudo_<username>' when the the client process has administrator
privileges (eg used "Run as administrator" option).

This enables communication with the master if the client and
salt-master processes are run as different users (which is a
common use case when salt-master is run as a service and the
'salt' command is run in an administrator cmd.exe under the
logged in user).

Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
2015-06-04 16:22:56 -05:00
Justin
db839960a0 Moved it back up above exceptions import 2015-06-04 15:17:31 -06:00
Thomas S Hatch
7cd2950ec6 Merge pull request #24418 from garethgreenaway/victorops_support
Victorops support
2015-06-04 14:50:48 -06:00
Niels Abspoel
ef66533c4b Fix lint error and update versionadded to 2015.5.3 2015-06-04 22:42:59 +02:00
Gareth J. Greenaway
921827c8dd removing unneeded imports to fix lint issues. 2015-06-04 13:34:49 -07:00
Thomas S Hatch
ebd63a7a70 Merge pull request #24364 from DSRCompany/salt_ssh_identities_only
Salt ssh identities only
2015-06-04 14:06:58 -06:00
C. R. Oldham
fcb1ae179b Merge pull request #24341 from nKaloussian/add-cloudstack-displayname
Provide option to set a display name. Defaults to instance's name.
2015-06-04 14:03:17 -06:00
Arnold Bechtoldt
fc7f0724d3 add missing module documentation to references 2015-06-04 21:17:24 +02:00
Niels Abspoel
157768c7cc added random integer module to mod_random.py
fixes #24407 this will help solve it
2015-06-04 21:02:05 +02:00
Gareth J. Greenaway
55f1477de7 Adding documentation for some parameters previously missed. If adding the event failed, return False with the failure message. 2015-06-04 11:51:38 -07:00
Gareth J. Greenaway
3fb6ef686f Initial addition for execution and state modules to send events to VictorOps. 2015-06-04 11:51:37 -07:00
Justin
ffb5018c53 Fixed a small pylint error 2015-06-04 12:42:15 -06:00
Gareth J. Greenaway
64dedc0997 Removing unneeded logging statements. Adding log statement that was mistakenly removed. 2015-06-04 11:34:31 -07:00
Gareth J. Greenaway
b480e89688 Switching slack module and slack returner to using salt.utils.http 2015-06-04 11:31:09 -07:00
Nejteh Kaloussian
26e65333e0 Fix PyLint error. 2015-06-04 13:52:45 -04:00
Nejteh Kaloussian
514aafd1a8 Merge branch 'develop' of https://github.com/saltstack/salt into add-cloudstack-displayname 2015-06-04 13:52:11 -04:00
Justin
1df4020ec2 Changed mock path to be absolute in test_parse_targets 2015-06-04 11:11:33 -06:00
Joseph Hall
ca2b7320bb Merge pull request #24404 from edouardb/scaleway-provider-doc
Add Getting Started for Scaleway provider
2015-06-04 09:33:38 -06:00
Justin Findlay
76b54fc886 Merge pull request #24393 from dr4Ke/fix_grains.set_preserve_list_order
Fix grains.set preserve list order
2015-06-04 09:10:19 -06:00
Justin Findlay
a5d14ec78a Merge pull request #24392 from quixoten/use_found_cmd_path
Fix "No such file or directory" in grains/core.py
2015-06-04 09:08:06 -06:00
Nicole Thomas
ddc167907f Merge pull request #24335 from nmadhok/patch-cloud
Only pop the key if the key exists otherwise do nothing
2015-06-04 08:47:58 -06:00