Thomas S Hatch
d465d5149e
Merge pull request #1588 from blast-hardcheese/develop
...
git state should report "changed" on first clone, also adding git.submodule
2012-07-07 19:59:30 -07:00
Devon Stewart
77378323dd
Adding git.submodule (and associated state option)
...
This should make git more useful for larger projects
2012-07-06 19:13:41 -07:00
Devon Stewart
0e237f8caa
git state should report "changed" on first clone
...
Was trying to write a state that recompiled when the repo changed,
without something like this it wouldn't compile the first time it was
cloned
2012-07-06 17:52:07 -07:00
Jeff Schroeder
f0797390c7
Merge pull request #1587 from blast-hardcheese/develop
...
"git checkout" needs to be run as "runas"
2012-07-06 16:50:51 -07:00
Devon Stewart
f57034a936
"git checkout" needs to be run as "runas"
...
Any files created when switching branches were owned by root, which
makes the directory effectively unusable by the intended user.
2012-07-06 16:43:26 -07:00
Thomas S Hatch
f1230fe8b9
Merge pull request #1586 from bretep/network_bonding
...
Use the more intelligent way of formatting strings
2012-07-06 09:13:06 -07:00
Bret Palsson
697a282525
Use the more intelligent way of formatting strings
...
Reasons for the change:
- Required for python 3.x
- Support added in python 2.5
- Way more flexible
- The salt way of formatting strings
- Just plain awesome
2012-07-06 10:00:02 -06:00
Thomas S Hatch
656f5fb142
Merge pull request #1585 from bretep/network_bonding
...
Network bonding
2012-07-06 08:23:24 -07:00
Bret Palsson
cb37ea9021
Merge branch 'develop' of git://github.com/saltstack/salt into network_bonding
2012-07-06 03:26:07 -06:00
Bret Palsson
ea3a03f3f5
Search for bond interface in modprobe.conf
2012-07-06 03:12:30 -06:00
Bret Palsson
37a8488c5a
Simple syntax error.
2012-07-06 02:50:10 -06:00
Bret Palsson
3e58273f81
Add support for EL5. Already supports EL6
...
- EL5 needs to have bonding options in the /etc/modprobe.conf vs. a configuration file under /etc/modprobe.d
- Quotes needed to be removed from the ifcfg scripts for most options.
2012-07-06 02:44:57 -06:00
Thomas S Hatch
d34c61fce6
Add the sock_dir to the verify_env on the minion
2012-07-06 01:19:08 -06:00
Thomas S Hatch
6ec8c49238
wrap minion in try/except in an attempt to gather data
...
Minions are still creashing and I have been unable to reliable reproduce
the cause. Hopefully this try except block will catch the error
somewhere
2012-07-06 01:03:49 -06:00
Bret Palsson
46060e095f
Add/update more bonding driver parameters
2012-07-06 01:00:05 -06:00
Thomas S Hatch
7a3f761797
Add module function to fire events on the minion bus
2012-07-06 00:47:56 -06:00
Thomas S Hatch
4d1c7c9759
Add minion event sockets
2012-07-06 00:32:39 -06:00
Bret Palsson
3f80f869aa
Don't restart networking everytime
...
- Does not apply global network settings unless things have changed.
- Fixes 'onboot' setting in interface.
- Remove a line when throwing a warning.
2012-07-05 23:55:58 -06:00
Thomas S Hatch
f6f6cbdb46
make tries work in SREQ
2012-07-05 23:41:59 -06:00
Bret Palsson
c4b01fd607
Missed a change for the 'enabled'
2012-07-05 23:40:50 -06:00
Bret Palsson
3d887767fa
Pass around 'enabled' variable
2012-07-05 23:38:45 -06:00
Thomas S Hatch
174787850c
tests validate new SREQ system, all zmq req calls are wrapped
2012-07-05 23:32:22 -06:00
Thomas S Hatch
02be048114
Use SREQ in publish module
2012-07-05 23:26:52 -06:00
Bret Palsson
74527ca115
Syntax error.
2012-07-05 23:23:39 -06:00
Bret Palsson
648d23b439
Required sls value 'enabled' sets 'onboot' option.
...
There really is no reason to have an 'onboot' option. If you want the interface enabled then you want it enabled at boot time. It doesn't make any sense to have it disabled in the state and when you reboot the machine it's enabled again. You would have to re-run highstate to disable the device.
If user sets 'onboot' option, a warning is thrown notifying him that 'onboot' option is set by the 'enabled' option.
2012-07-05 23:16:24 -06:00
Thomas S Hatch
cce9144fdb
import req exception
2012-07-05 23:14:22 -06:00
Thomas S Hatch
be454b9ad8
Set SREQ for use in remote master states
2012-07-05 23:12:31 -06:00
Thomas S Hatch
91c0110376
serial is deprecated
2012-07-05 23:02:13 -06:00
Thomas S Hatch
7b4d1ea7c6
Add timeout cpability to pillar requests
2012-07-05 22:58:50 -06:00
Bret Palsson
7bcaa2a687
Slave devices are controlled by the master device.
2012-07-05 22:50:45 -06:00
Thomas S Hatch
3341d933ba
use new sreq in event system
2012-07-05 22:50:09 -06:00
Thomas S Hatch
09c41a080e
Add import for req error
2012-07-05 22:44:32 -06:00
Thomas S Hatch
b77fe38920
update command returns to use new sreq class
2012-07-05 22:41:08 -06:00
Thomas S Hatch
7712a096d1
Adjust for miliseconds
2012-07-05 22:32:08 -06:00
Thomas S Hatch
995108f4d6
update fileserver to use new sreq libs
2012-07-05 22:25:19 -06:00
Bret Palsson
4e6de299e0
Fix variable
2012-07-05 22:18:40 -06:00
Thomas S Hatch
b9c14ad118
Fix file_list in remote file client
2012-07-05 22:17:54 -06:00
Thomas S Hatch
b631996dc3
Change main file server to use new req system
2012-07-05 22:08:26 -06:00
Bret Palsson
4ac9d8dd75
Fixed missing membership test
2012-07-05 22:07:00 -06:00
Thomas S Hatch
51d0927f37
Add polling erq interface to authentication
2012-07-05 21:57:41 -06:00
Bret Palsson
51d447a93c
Add more logic to interface settings
...
onboot:
We want to honor the onboot parameter set by administrator. If said administraor does not choose to set this option, we want to check to see if he has this interface enabled, which is a required setting. If enabled, we assume enabled.
-userctl:
If the interface is defined then we want to always take control away from non-root users; unless the administrator wants to allow non-root users to control the device.
2012-07-05 21:56:58 -06:00
Thomas S Hatch
6cc73f902d
Fill out exceptions in SREQ
2012-07-05 21:53:51 -06:00
Thomas S Hatch
733cfa0ef3
Add req timeout exception
2012-07-05 21:51:03 -06:00
Thomas S Hatch
9f8a8d9b5c
change the client to use the new SREQ class
2012-07-05 20:28:10 -06:00
Thomas S Hatch
8cbeba202e
more fixes to SREQ class
2012-07-05 20:26:40 -06:00
Thomas S Hatch
7f034cf6ba
See if pushing the timeout to insane levels makes travis stop failing
2012-07-05 20:17:04 -06:00
Thomas S Hatch
e481644179
syntax issue in payload changes
2012-07-05 20:01:05 -06:00
Thomas S Hatch
459ff2c0be
fix timeout, add tries
2012-07-05 18:44:34 -06:00
Thomas S Hatch
d772568cb1
Merge branch 'develop' of github.com:saltstack/salt into develop
2012-07-05 17:38:52 -06:00
Thomas S Hatch
c327d4ffbc
basic frame for new zem REQ wrapper
2012-07-05 17:38:26 -06:00