Commit Graph

157 Commits

Author SHA1 Message Date
Thomas S Hatch
e9e11479ca Add propper payload formatting to the master publish return 2011-03-07 15:23:21 -07:00
Thomas S Hatch
198ec3f518 made format_package return a pickle, fixed up a docstring 2011-03-07 15:14:31 -07:00
Thomas S Hatch
802f0deb45 Set up the default salt payload 2011-03-07 14:55:40 -07:00
Thomas S Hatch
6833289132 Add a format payload function to the payload module 2011-03-07 14:52:55 -07:00
Thomas S Hatch
2a12f05b1c Fix jid generation issue 2011-03-07 14:22:32 -07:00
Thomas S Hatch
836bed4b62 Remove the .pub from the public keys in the minions dir 2011-03-07 13:54:33 -07:00
Thomas S Hatch
a4ca26b5d5 Get the hosts that a tgt will match 2011-03-07 13:50:16 -07:00
Thomas S Hatch
d1d4db4302 Add in the keyfile reading on the local client 2011-03-07 09:58:23 -07:00
Thomas S Hatch
e4fd8db176 fix minor spacing issue in setup.py 2011-03-07 09:16:12 -07:00
Thomas S Hatch
0be6bff24b Add the data struture for a publish request in the client.py 2011-03-05 12:24:31 -07:00
Thomas S Hatch
04bf7e5bbf remove calling the localserver 2011-03-05 12:04:43 -07:00
Thomas S Hatch
2548fd36de hook in the request to publisher 2011-03-05 12:04:14 -07:00
Thomas S Hatch
f846b983d8 Add client.py module, still in the mapping and planning stage 2011-03-05 00:19:07 -07:00
Thomas S Hatch
f9f6cb4bde Add a script to run a cli client 2011-03-04 23:51:13 -07:00
Thomas S Hatch
63b0fff872 The master and the minion initialize now 2011-03-04 21:58:27 -07:00
Thomas S Hatch
3ea46641d7 Master encrypts the aes key 2011-03-04 21:30:03 -07:00
Thomas S Hatch
8e2e3968ea A bunch of small fixes 2011-03-04 20:48:50 -07:00
Thomas S Hatch
a3fbf41e49 set up some light data in the config files 2011-03-04 20:27:32 -07:00
Thomas S Hatch
e8bf0e76cd clean up public key encryption 2011-03-04 20:09:51 -07:00
Thomas S Hatch
d0bbc556e9 make the get_pub_str method private 2011-03-04 19:58:18 -07:00
Thomas S Hatch
cbadaf70bf Moving encryption out of payload (for now) 2011-03-04 19:51:36 -07:00
Thomas S Hatch
e1eb02751a encrypt the authentication reply 2011-03-04 19:42:27 -07:00
Thomas S Hatch
4e2b8d741d MasterKeys generates the salty bacon authentication token 2011-03-04 17:32:34 -07:00
Thomas S Hatch
0597df2610 Set up the remaining authentication info for the salt master 2011-03-04 17:28:53 -07:00
Thomas S Hatch
a7354c963c Add pubkey string to the MasterKeys object 2011-03-04 17:27:21 -07:00
Thomas S Hatch
44025e870d Add interface to create master keypair 2011-03-04 17:18:12 -07:00
Thomas S Hatch
6e6cee2277 Pass through the aes key and the publication port to the minion 2011-03-04 17:03:26 -07:00
Thomas S Hatch
f6f4a7ddea modilfy crypt to comply with the packaging standard 2011-03-04 16:55:49 -07:00
Thomas S Hatch
03cec87e9a Get rid og this json support idea, what folly! 2011-03-04 16:42:14 -07:00
Thomas S Hatch
c1c144db07 set the config to use the new key generation 2011-03-04 15:24:18 -07:00
Thomas S Hatch
b4ea189069 Add class to encrypt the pickles 2011-03-04 15:20:10 -07:00
Thomas S Hatch
9978a1ca7e Add methods to generate the random aes key 2011-03-04 13:59:48 -07:00
Thomas S Hatch
ca93b46228 Set up the reply structure for the master 2011-03-04 12:48:52 -07:00
Thomas S Hatch
8e771c947b Add id to the authentication payload, so that we have consistency 2011-03-04 12:02:47 -07:00
Thomas S Hatch
664b38a227 Add cmd tag to the sign in payload 2011-03-04 12:01:43 -07:00
Thomas S Hatch
26b4aa45b7 Add in the unpackage function and tie to it 2011-03-04 11:49:12 -07:00
Thomas S Hatch
077386b3c4 Tied master packageing intot he payload module 2011-03-04 11:35:50 -07:00
Thomas S Hatch
d33d0d091e Change id to hostname 2011-03-04 11:07:25 -07:00
Thomas S Hatch
544f394c9e Set logic to fix issues with faulty keys due to a bug in m2crypto 2011-03-04 11:02:11 -07:00
Thomas S Hatch
cb5b6cb0db modified the verify_env method to be a function 2011-03-04 10:22:15 -07:00
Thomas S Hatch
03a871ab90 Add pki dir to master, add cachedir to minon 2011-03-04 10:19:01 -07:00
Thomas S Hatch
f41ea4a5b7 Add in the salt.payload import 2011-03-04 10:13:48 -07:00
Thomas S Hatch
d2dd8520d0 set up the payload packaging system 2011-03-04 10:11:26 -07:00
Thomas S Hatch
58385190bd Add payload module 2011-03-03 17:33:32 -07:00
Thomas S Hatch
bd9d695193 fix master reference in crypt.py 2011-03-03 16:28:03 -07:00
Thomas S Hatch
3639f6d878 changed minon default port 2011-03-03 16:26:43 -07:00
Thomas S Hatch
8513d765a0 Add the salt.modules module to the package 2011-03-03 16:06:18 -07:00
Thomas S Hatch
022ecf31bc rename the modules dir to modules 2011-03-03 16:03:29 -07:00
Thomas S Hatch
6073c54791 fix initial minion object 2011-03-03 16:01:50 -07:00
Thomas S Hatch
c16a2fa09b Fix daemon using the wrong option dict 2011-03-03 16:00:20 -07:00