Nitin Madhok
c992f04f32
Changing permissions of test files and fixing lint violations
2014-12-19 05:50:18 -05:00
Mike Place
951a434228
+x for eventlisten and minionswarm
2014-11-05 14:49:32 -07:00
Thomas S Hatch
da8612ddcc
Merge pull request #14243 from cachedout/masterswarm
...
Refactor into base swarm and master/minion swarm
2014-07-15 12:22:46 -06:00
Mike Place
200ef6b642
Refactor into base swarm and master/minion swarm
2014-07-15 11:31:07 -06:00
Pedro Algarvio
850e38d9eb
Ignore W0221
2014-07-15 01:44:03 +01:00
Mike Place
83ce730ec2
Basic master support for minionswarm
2014-07-14 16:59:44 -06:00
Thomas S Hatch
4551c46abb
Give minions a unique pki dir in raet minion swarm
2014-06-26 12:19:31 -06:00
Thomas S Hatch
ecc9b33859
iraet swarm needs ports
2014-06-26 11:35:12 -06:00
Thomas S Hatch
e20da9feca
Add sock_dir to raet swarming
2014-06-26 11:04:11 -06:00
Thomas S Hatch
d8efa82b15
initial commit for minion swarm to work with raet
...
This skips the single keygen that zeromq transport uses because
1. Key gen is not exposed to salt-key yet for raet
2. raet keys are super fast, so I don't think this will be an issue,
but testing on a grander scale will tell us for sure
2014-06-22 22:40:40 -06:00
Seth House
b336c48b8c
Pass the minionswarm user through to salt-key
...
Otherwise salt-key would fail with a user warning and not write the key
which would then cause the minionswarm to fail when referencing the key.
2014-02-06 10:59:34 -07:00
Seth House
d779354351
Moved grabbing/overriding the minionswarm user to parse-time
...
This change provides a single source of truth for what user the swam
will be running as.
2014-02-06 10:59:34 -07:00
Pedro Algarvio
69d0f907f9
Make use of the print()
function.
2014-02-03 11:07:43 +00:00
Arthur Lutz
0cad68c59d
add user options to salt-key and to tests/minionswarm.py so one can run in userland
2014-01-23 12:44:14 +01:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Henrik Holmboe
4a48dc791b
Prettify subcommand to kill minions
...
I realize that this is just cosmetic change. And possibly that there is
a compatibility issue, if minionswarm is to be used on platforms that
don't have pkill.
2013-10-11 10:02:23 +02:00
Seth House
08127614f9
Updated arg to salt-key in minionswarm script
2013-07-01 17:03:39 -06:00
Chris Rebert
c7ff123a0f
use genexpr & list comp in minionswarm test
2013-05-03 19:45:19 -07:00
Chris Rebert
498d2999db
more typo fixes
2013-05-01 16:52:52 -07:00
Seth House
2facccd849
Fixed double dashes in default minion swarm names
2013-04-14 17:05:43 -06:00
Thomas S Hatch
8ac95960b3
Add name option to minionswarm so many hosts can check in
2013-04-11 15:36:28 -06:00
Thomas S Hatch
2edd526c71
Remove unused import
2013-02-08 10:57:20 -07:00
Joseph Hall
d0f101650d
Give each minion its own pkidir (still using identical keys)
2012-12-11 14:41:40 -07:00
Seth House
8c18c29323
Fixed bungled default logic for minionswarm root_dir
2012-10-09 12:20:46 -06:00
Seth House
17627fea89
Added flag to set the root_dir for a minionswarm
2012-10-08 14:16:53 -06:00
Pedro Algarvio
348cd9e51e
Improve the tests minion swarm.
...
The `pki` and all minion's configuration directories are now all created under the same temporary directory.
The minion's ID's are now something more meaningful and less random to ease the interpretation of what's going on while running.
Minor pep-8 corrections.
2012-09-08 20:31:25 +01:00
Pedro Algarvio
fc3070c3bb
Keep minionswarm temporary files/dirs. Refs #1964 .
...
* Provide an option to the parer which allows not to delete temporary files/directories created for the minionswarm.
2012-09-05 12:01:48 +01:00
Pedro Algarvio
145197b48b
Fix test/minionswarm.py
. Refs #1964 .
...
* Allow the `minionswarm` to run under user space
* Provide some additional configuration to the minions to use the temporary directories created for the swarm.
* Try to properly shutdown the running minions.
* As a last resort, `kill -KILL` all minions still running.
2012-09-05 11:54:17 +01:00
Thomas S Hatch
94a57bd806
repair minionswarm for updated configdir changes
2012-09-02 22:42:49 -06:00
Thomas S Hatch
c29d1d6076
Only generate one pair of minion keys for the swarm
2012-06-13 13:37:28 -06:00
Thomas S Hatch
bb9558b316
Fix exception in minionswarm
2012-06-11 14:43:42 -06:00
Thomas S Hatch
b4f9c22883
Doh! thats the wrong cachedir config!
2012-06-06 11:18:17 -06:00
Thomas S Hatch
7ad6b3c6e4
Add abaility to disable minion modules in the swarm
2012-06-05 11:44:01 -06:00
L.C. Rees
140e8781df
- py3k updates
2012-05-31 23:31:27 -06:00
Baiju Muthukadan
24bb4ea4e0
Fix PEP8 warnings for test cases
2012-05-29 22:10:20 +05:30
Baiju Muthukadan
fa3b39f071
remove trailing whitespaces
2012-05-13 19:48:05 +05:30
Thomas S Hatch
5b1bde8a49
make fd_ more standard
2012-04-25 01:20:49 -06:00
Thomas S Hatch
ed276a8036
make the minion ids more random
...
The tempfile only checks for local unique values, this adds an extra
layer of random data making the ids more scalable
2012-04-20 10:25:26 -06:00
Thomas S Hatch
a2c97e5342
Add master and foreground opts to swarm
2012-04-17 23:58:10 -06:00
Thomas S Hatch
54503aa13b
Initial minion swarming works!
2012-04-17 20:38:15 -06:00
Thomas S Hatch
9e1c58f4f5
Add minionswarm script, still needs testing and to be expanded
2012-04-17 19:12:35 -06:00