Commit Graph

1151 Commits

Author SHA1 Message Date
Erik Nolte
5baafbf911 Merge branch 'master' of github.com:thatch45/salt 2011-07-28 12:07:02 -06:00
Erik Nolte
c1d3fdda98 Change salt-monitor config default to /etc/salt/monitor. 2011-07-28 12:02:29 -06:00
Erik Nolte
4a4b3eacd9 Add a convenience Makefile and pacman package builder for testing Arch packages before committing changes to git. 2011-07-28 11:53:48 -06:00
Erik Nolte
cedb8ac89d Update messages to refer to /etc/salt/monitor instead of /etc/salt/minion. 2011-07-28 11:52:54 -06:00
Erik Nolte
6178e6e6de Prepend salt-master paths with root_dir. 2011-07-28 11:45:56 -06:00
Erik Nolte
1febbde776 Fix syntax error: missing ':' 2011-07-28 11:00:39 -06:00
Erik Nolte
1b9248b1dd Move monitor configuration from /etc/salt/minion to /etc/salt/monitor. 2011-07-28 10:41:28 -06:00
Joseph Hall
10c713534e Add apache.signals, fix subs to actually use __detect_os() 2011-07-28 09:14:14 -06:00
Joseph Hall
e9ce4383a6 Added support for apache via apachectl 2011-07-28 00:25:49 -06:00
Thomas S Hatch
58f11a865f Clean the publish module 2011-07-27 23:18:01 -06:00
Thomas S Hatch
5756f43329 Make SAuth inherit Auth, add gen_token method 2011-07-27 22:47:43 -06:00
Thomas S Hatch
5402542ad2 Add the publish module, so we can use the minion client 2011-07-27 22:36:37 -06:00
Thomas S Hatch
502cc1dff5 Prevent minion publications from becoming recursive, that would be bad 2011-07-27 21:36:39 -06:00
Erik Nolte
34811e045c Use American LICENSE spelling 2011-07-27 19:30:30 -06:00
Erik Nolte
7d5f246dd5 Add salt-monitor to the scripts distributed. 2011-07-27 19:19:38 -06:00
Erik Nolte
2fc1664a21 Add /etc/rc.d and /etc/init.d scripts to start and stop the salt monitor. 2011-07-27 19:18:07 -06:00
Erik Nolte
8354cc6f8a Change from British LICENCE to American LICENSE spelling to match spelling in LICENSE file and packaging files 2011-07-27 18:09:56 -06:00
Erik Nolte
fed9c28f26 Add /etc/salt/monitor in anticipation of moving monitor configuration from /etc/salt/minion 2011-07-27 17:59:26 -06:00
Erik Nolte
32eeccf653 Add myself to the authors file 2011-07-27 17:55:31 -06:00
Erik Nolte
8918f26a14 Add salt-monitor documentation 2011-07-27 17:54:36 -06:00
Erik Nolte
1ca58adb79 Fix spelling error: recieve -> receive 2011-07-27 17:46:53 -06:00
Erik Nolte
74fab8b706 Separate the salt minion from the salt monitor by creating the salt-monitor standalone command.
Run 'salt-monitor' rather than 'salt-minion' to start the monitor.
2011-07-27 15:57:13 -06:00
Erik Nolte
c6324f1bba Move the SMinion class to the top of minion.py
in anticipation of subclassing Minion from SMinion.  Change SMinion.__init__()
to take a configured minion opts dict instead of the string path to /etc/salt/minion
because scripts/salt-minion (and now salt-monitor) parses /etc/salt/minion and
modifies the resulting opts dict with command line options.  Those modified options
are used to verify the environment and to configure logging.
2011-07-27 15:50:45 -06:00
Erik Nolte
7dcca8b5f7 Fix syntax error by applying format() to juxtapose-concatenated strings rather that trying to juxtapose-concatenate the result of format() and a string 2011-07-27 15:31:44 -06:00
Thomas S Hatch
f15f0adf02 Add the SMinion class 2011-07-26 23:24:48 -06:00
Thomas S Hatch
384b1dc3de Merge branch 'master' of github.com:thatch45/salt 2011-07-26 22:54:44 -06:00
Thomas S Hatch
5ffe8adf79 fill out the minion publish function, and add minion verification (make
sure the minion is who it says it is)
2011-07-26 22:52:58 -06:00
Erik Nolte
3aa22c8137 Include the command id when trace logging each command's sleep 2011-07-26 16:35:21 -06:00
Erik Nolte
63b3ed0032 Add sample monitor configuration. 2011-07-26 15:44:28 -06:00
Erik Nolte
74fc316aac Enable log.trace debugging in compiled monitor commands
Allow user to specify command id that appears in log and error messages
2011-07-26 15:42:39 -06:00
Erik Nolte
87a96d31e5 remove unnecessary 'import multiprocessing' 2011-07-26 13:53:38 -06:00
Erik Nolte
9a2134da24 fix syntax error ("is" -> "if" in ternary expression) 2011-07-26 13:51:26 -06:00
Erik Nolte
3b870a6196 Merge branch 'master' of github.com:thatch45/salt
Conflicts:
	salt/__init__.py
2011-07-26 13:50:57 -06:00
Erik Nolte
5323f8cdd2 Use fork to create the monitor process rather than the multiprocessing library
since the minion and monitor never interact.
2011-07-26 13:38:36 -06:00
Thomas S Hatch
20a24d557e Initial commit for minion client in the master 2011-07-26 00:00:24 -06:00
Thomas S Hatch
3142ecd0d9 Wrap encryption for AES communication in the master 2011-07-25 23:14:53 -06:00
Thomas S Hatch
0895395f74 Make mdadm virtual, it is now raid and only for Linux 2011-07-25 22:48:30 -06:00
Thomas S Hatch
cb0d887bb3 Merge branch 'master' of github.com:thatch45/salt 2011-07-25 22:46:44 -06:00
Thomas S Hatch
479a2a8a46 Encapsulate AES and CLEAR functions in the master 2011-07-25 22:46:00 -06:00
Joseph Hall
8b157bccee Fixed bug with splitting on ':' 2011-07-25 11:15:53 -06:00
Joseph Hall
be002bded9 Fix the state of each device 2011-07-25 11:03:25 -06:00
Joseph Hall
1b23c58940 Formatting for mdadm --detail key names 2011-07-25 10:56:52 -06:00
Joseph Hall
5253cff0dd Added basic module for mdadm management 2011-07-25 10:40:00 -06:00
Thomas S Hatch
aa49419279 Explicitly define the version of python in the shebang 2011-07-23 21:41:56 -06:00
Thomas S Hatch
5790946b2e Add docstring to start_monitor 2011-07-23 21:40:50 -06:00
Thomas S Hatch
d3e2176a05 Specify python2, fix docstring refs 2011-07-23 21:37:11 -06:00
Thomas S Hatch
7cab5ebc88 Fix cron.py doctrings to be more consistent 2011-07-23 21:33:28 -06:00
Erik Nolte
db7d31fb6d Add threading and use sleepers to supply sleep times between actions
right now there is something wrong in the threading usage and the monitor daemon hangs
2011-07-22 16:30:29 -06:00
Erik Nolte
147f6df361 Allow plural time units (seconds,minutes,hours,days) 2011-07-22 15:08:53 -06:00
Erik Nolte
9846fd8ab5 oops .. missed change from config to self.config 2011-07-22 14:34:41 -06:00