Commit Graph

23533 Commits

Author SHA1 Message Date
Jeff Frost
05277cfd32 move external_ip to separate file
return empty dict instead of False if requests fails to import
2013-12-10 11:05:10 -08:00
Jeff Frost
22e4cde76a new external_ip grain for salt - requires that requests be installed 2013-12-10 10:19:34 -08:00
Pedro Algarvio
a54ed65b79 Fix white-space related issues, and anomalous backslash. 2013-12-10 12:59:00 +00:00
Joseph Hall
426a7a8870 Merge pull request #9106 from ranl/windows_deploy_script
salt-cloud: ec2 cloud provider fix issue of windows minion deployment
2013-12-10 04:20:00 -08:00
Joseph Hall
2ada43ce70 Merge pull request #9137 from ranl/fix_win_deploy_minion_conf
fix windows deploy minion configuration
2013-12-10 04:09:54 -08:00
Pedro Algarvio
163c98fdf4 Make the regex work in Python 2.6 2013-12-10 11:11:06 +00:00
Pedro Algarvio
1341573532 Fix the SSH password regular expression. 2013-12-10 11:08:52 +00:00
Pedro Algarvio
285d825d8d Fix white-space lint issues 2013-12-10 10:53:24 +00:00
Pedro Algarvio
e45cbf1dca Add unit test for the ssh password regex matching 2013-12-10 10:46:25 +00:00
ranl
77b2bb2c09 salt-cloud: adding authentication validation to windows host in ec2 cloud provider 2013-12-10 11:57:05 +02:00
ranl
68214b2c50 remove spaces from cloud utils 2013-12-10 11:26:44 +02:00
ranl
d8d6de7e21 salt-cloud: enforce mandatory windows config to windows minions 2013-12-10 11:22:26 +02:00
Pedro Algarvio
8b2beacb28 Merge pull request #9135 from pengyao/memcache
Add __virtual__ function for memcache modules
2013-12-10 01:00:30 -08:00
Seth House
2e9985dbea Merge pull request #9136 from pengyao/grains
fixed a typo about reST links
2013-12-10 00:47:59 -08:00
pengyao
444e46c134 fixed a typo about reST links 2013-12-10 15:39:49 +08:00
Thomas S Hatch
ed79041e9c Merge pull request #9133 from terminalmage/issue9121
Fix bug in pkgrepo when switching to/from mirrorlist-based repo def
2013-12-09 19:57:42 -08:00
Thomas S Hatch
5c74ec4d22 Merge pull request #9131 from terminalmage/fix-filemanaged-regression
Fix regression in file.managed
2013-12-09 19:57:20 -08:00
Thomas S Hatch
7d9adc697b Merge pull request #9132 from cachedout/file-client-tests
Starting work on new set of tests for fileclient.
2013-12-09 19:55:02 -08:00
Thomas S Hatch
5379f09a47 Merge pull request #9113 from pengyao/develop
Add grains_list state module
2013-12-09 19:54:31 -08:00
pengyao
366c9153a5 merge grains_list state module to grains state module 2013-12-10 10:00:13 +08:00
Erik Johnson
80ed5fab51 Fix bug in pkgrepo when switching to/from mirrorlist-based repo def
This adds a check to ensure that both of mirrorlist and baseurl aren't
specified, and also deletes mirrorlist when baseurl is specified (and
vice-versa). Additionally, rather than returning a string containing
errors when they are encountered, raise an exception.
2013-12-09 19:24:28 -06:00
Mike Place
55ecc5d0ab Starting work on new set of tests for fileclient.
Also, more integration testing for templates.
2013-12-09 16:47:49 -07:00
Pedro Algarvio
561b97f475 Revert "Migrate the Jenkins script to the new Terminal class."
This reverts commit aae6f0c4a1.
2013-12-09 23:06:17 +00:00
Pedro Algarvio
686d75889b Revert "Make it run!"
This reverts commit a295af62fd.
2013-12-09 23:05:47 +00:00
Pedro Algarvio
363c9b828f Revert "Try to get the tests suite output streamed."
This reverts commit 1ef452a03a.
2013-12-09 23:05:17 +00:00
Pedro Algarvio
8ea7390789 Revert "Let's be explicit in passed keyword arguments."
This reverts commit 60f759dc68.
2013-12-09 23:05:08 +00:00
Pedro Algarvio
3304fe3376 Revert "The minion, needs to be synced first?"
This reverts commit 8b12dd743e.
2013-12-09 23:04:47 +00:00
Erik Johnson
535e6df64a Fix regression in file.managed
Pull request #8818 caused a couple of regressions. Firstly, it assumes
that, if "mode" is not specified (and thus defaults to None), that you
want the permissions to be equal to those dictated by the umask. This
means that a file with perms 640, which already exists, will be chmod'ed
to 644 if the system umask is 022 and no "mode" parameter was specified
in the state. This is not the expected behavior.

Secondly, the calculated perms are passed to file.check_perms as an
integer whose octal representation is the correct value for the file
permissions (i.e. 0o644, which is == 420 in decimal). However,
file.check_perms is designed to be run from the CLI, and thus requires
a value of 644 (decimal) to be passed, in order to set 644 permissions.
file.check_perms can also accept the mode as a string, so this is how
this commit passes the value to file.check_perms when a new file is
created.
2013-12-09 16:55:53 -06:00
Pedro Algarvio
8b12dd743e The minion, needs to be synced first? 2013-12-09 21:38:06 +00:00
Thomas S Hatch
6fb3962a96 Merge pull request #9129 from terminalmage/deprecate-yumpkg
Deprecate yumpkg in favor of yumpkg5
2013-12-09 12:50:49 -08:00
Erik Johnson
3a6274fb3b Remove reference to yumpkg5 in provider override example
yumpkg5 is the default now, so it shouldn't be included in an example of
overriding the provider.
2013-12-09 14:16:19 -06:00
Erik Johnson
6d636ae0d6 Force all distros which use yum to use yumpkg5 2013-12-09 14:06:31 -06:00
Erik Johnson
64e217c864 Deprecate yumpkg.py provider for yum 2013-12-09 14:06:09 -06:00
Pedro Algarvio
2648ed90ba Fix lint issues. 2013-12-09 20:02:25 +00:00
Pedro Algarvio
60f759dc68 Let's be explicit in passed keyword arguments. 2013-12-09 19:54:00 +00:00
Pedro Algarvio
1ef452a03a Try to get the tests suite output streamed. 2013-12-09 19:34:29 +00:00
Thomas S Hatch
e85654ee62 Merge pull request #9110 from pakdel/subprocess.Popen.poll_deadlock
Preventing deadlock on subprocess.Popen.poll()
2013-12-09 10:50:55 -08:00
Thomas S Hatch
2609dae3c5 Add a config wrapper for the utf8 updates to the yaml renderer
Per #9053 @regilero please let me know if you think another config
key will be better then yaml_utf8
2013-12-09 11:40:12 -07:00
Thomas S Hatch
8408c1a583 Merge pull request #9053 from regilero/utf8-sls
Proposal for utf-8 support in sls files
2013-12-09 10:41:15 -08:00
Thomas S Hatch
48adc63bb7 Fix extra space per pylint 2013-12-09 11:32:19 -07:00
Thomas S Hatch
4bffa13abf Merge pull request #9108 from pakdel/file_recv_max_size
Added an option to limit maximum size of a file that can be pushed to master by files_recv
2013-12-09 10:34:06 -08:00
Pedro Algarvio
b569b6ce2b Fix the SSH password detection regex. 2013-12-09 18:32:44 +00:00
Thomas S Hatch
9f1de0c177 Merge pull request #9116 from malinoff/fix-#6870
Fix for issue #6870
2013-12-09 10:29:48 -08:00
Thomas S Hatch
85ae1202da Merge pull request #9119 from ticosax/add-timout-for-docker-build
Some images might take longer to build
2013-12-09 10:27:10 -08:00
Thomas S Hatch
cf73e911a6 Merge pull request #9115 from dr4Ke/mount_device_realpath
mount state: better handling of wanted and current device
2013-12-09 10:26:51 -08:00
Pedro Algarvio
9b3acff59c Merge pull request #9127 from s0undt3ch/features/virtual-terminal
make it loop
2013-12-09 10:21:03 -08:00
Pedro Algarvio
a295af62fd Make it run! 2013-12-09 18:20:22 +00:00
Pedro Algarvio
9faacae0fe Add missing white space. 2013-12-09 18:20:21 +00:00
Thomas S Hatch
2571d4706c Merge pull request #9059 from terminalmage/issue5919
Add check for '.' in require/watch requisites
2013-12-09 10:17:45 -08:00
Colton Myers
396cb89b90 Merge pull request #9124 from terminalmage/issue9123
Fix "Invalid Changes data" in file.replace/blockreplace states
2013-12-09 10:09:21 -08:00