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
Colton Myers
452f688fe5
Merge pull request #9101 from terminalmage/issue9097
...
Fix file.replace bug when replacement str is numeric
2013-12-09 10:08:41 -08:00
Thomas S Hatch
bd6d82175e
Merge pull request #9125 from cachedout/gh-doc-fix
...
Update doc build to use latest GH release system.
2013-12-09 10:08:26 -08:00
Pedro Algarvio
6706aff45c
Merge pull request #9126 from s0undt3ch/features/virtual-terminal
...
Fix lint issues.
2013-12-09 10:06:07 -08:00
Pedro Algarvio
eba8f116e8
Fix lint issues.
2013-12-09 18:05:27 +00:00
Mike Place
e3f6027773
Update doc build to use latest GH release system.
...
It looks like GH has deprecated the download system that we were using. This fix just updates our doc build to point to the new system. Here's the blog post for reference:
https://github.com/blog/1302-goodbye-uploads
This resolves many errors that appear when running 'make linkcheck' against our docs.
2013-12-09 10:51:02 -07:00
Thomas S Hatch
966384521f
Merge pull request #9122 from s0undt3ch/features/virtual-terminal
...
Replace NonBlockingPopen with a VirtualTerminal
2013-12-09 09:51:01 -08:00
Erik Johnson
5b6da97e52
Fix "Invalid Changes data" in file.replace/blockreplace states
...
This commit returns the diffs from these two states within a dictionary,
instead of a string, getting rid of a warning that the changes data is
invalid.
2013-12-09 11:50:12 -06:00
Pedro Algarvio
aae6f0c4a1
Migrate the Jenkins script to the new Terminal class.
2013-12-09 17:23:08 +00:00
Pedro Algarvio
262e787664
Use vt.Terminal
to deploy VM's.
...
Deprecated the `tty` keyword argument since we'll always have a `tty` now.
2013-12-09 17:00:05 +00:00
Pedro Algarvio
fc495cc357
Remove unused imports and add missing.
2013-12-09 17:00:05 +00:00
Pedro Algarvio
b809e58505
Don't use hard coded paths, use syspaths
.
2013-12-09 17:00:05 +00:00
Pedro Algarvio
f947aaf790
Some more doc updates
2013-12-09 17:00:04 +00:00
Pedro Algarvio
50faf9ffce
Doc strings improvements.
2013-12-09 17:00:04 +00:00
Pedro Algarvio
64f0dfcb4a
Improve interaction capabilities (Inspired by Pexpect)
2013-12-09 17:00:04 +00:00
Pedro Algarvio
d11a7fb237
I was able to authenticate against SSH and run a command.
2013-12-09 17:00:04 +00:00
Nicolas Delaby
028d25ae60
Using a dict to iterate orver tuple of static values is overkill
2013-12-09 17:56:43 +01:00
Nicolas Delaby
de354a4d88
Some images might take longer build
...
Make sure we can wait more than 60s
2013-12-09 17:56:43 +01:00
Amir Pakdel
49141cf042
file_recv_max_size config is specified in megabyte
2013-12-09 10:50:52 -05:00
Christophe Drevet-Droguet
bd55966e88
get device list only if mounted
2013-12-09 11:54:25 +01:00
Dmitry Malinovsky
daf074c62b
Added missing checks
2013-12-09 17:30:13 +07:00
Christophe Drevet-Droguet
19437de96c
wanted and current devices comparison and display
...
- only get realpath of wanted device if it is a local path (begins with '/')
- build a current devices list for simple comparison and display
- display wanted (+ realpath) and current devices if different (changes)
- use active[name] construction instead of active.__getitem__(name):
http://docs.python.org/2/reference/datamodel.html#special-method-names
2013-12-09 09:43:05 +01:00
Christophe Drevet-Droguet
8d21ac38e0
unmount comments
2013-12-09 09:43:05 +01:00
Christophe Drevet-Droguet
c5e9347c65
report umount because of different device
...
- Fails if the wrong device couldn't be unmounted
- Reports unmounting the wrong device
2013-12-09 09:43:05 +01:00
Christophe Drevet-Droguet
320bc4f0d9
fix remount because of a different device name
...
- Compare real device path instead of given to those listed by mount (fix #8736 )
- Compare given device name to those given by mount -l (#8725 )
2013-12-09 09:43:05 +01:00
Thomas S Hatch
fa1c9c4401
Disable fileserver events by default
...
@jacksontj, this turns off these event by default and you will
need to set this flag in your config in the future
2013-12-08 22:46:36 -07:00
Erik Johnson
1be24c30c4
Merge pull request #9109 from pakdel/minute_optimization
...
A minute optimization in yumpkg._pkg_arch
2013-12-08 13:11:34 -08:00
Amir Pakdel
e5d284ef36
Preventing deadlock on subprocess.Popen.poll()
...
According to
http://docs.python.org/2/library/subprocess.html#subprocess.Popen.poll
Warning: This will deadlock when using stdout=PIPE and/or stderr=PIPE
and the child process generates enough output to a pipe such that it
blocks waiting for the OS pipe buffer to accept more data.
Use communicate() to avoid that.
We count consecutive iterations that do not have any output, and
only if it reaches a certain threshold, self.communicate() is run.
2013-12-08 15:55:23 -05:00
Amir Pakdel
5382682078
A minute optimization
...
If package name cannot be split by dot, there is
no need to loop through all architectures to
check if package name ends with '.arch-name'.
2013-12-08 15:37:53 -05:00
Amir Pakdel
c934a9bd36
Added an option to limit max size in files_recv
...
The default is set to 100MB, which means pushing
larger files will stop when reaches this limit.
This limit can be adjusted by file_recv_max_size
option in the master's config file.
2013-12-08 15:01:20 -05:00
Pedro Algarvio
92b37c37d6
Remove trailing white-space.
2013-12-08 13:47:21 +00:00
Joseph Hall
afc1efd8b8
Merge pull request #9105 from pyinx/patch-1
...
update versions function: add print minions version
2013-12-08 04:58:10 -08:00
pyinx
3b9d67c96a
update versions function: add print minions version
...
before:
Minion requires update:
- tomcat28
- tomcat41
- tomcat58
after:
Minion requires update:
----------
tomcat28:
0.14.1
tomcat41:
0.14.1
tomcat58:
0.14.1
2013-12-08 20:52:37 +08:00
Pedro Algarvio
8912ba5822
Merge pull request #9102 from gravyboat/develop
...
Updates to several documents regarding backup_mode to make it more visible, as well as a backup_mode documentation type fix.
2013-12-08 00:07:59 -08:00
Forrest Alvarez
52e6d273f6
updated the faq to add a note about backup_mode, fixed a typo in the backup mode docs, and updated one of the file.managed examples with a backup line, as well as an additional note directing the user to the backup mode documentation in a highly visible area.
2013-12-08 05:52:45 +00:00