Commit Graph

254 Commits

Author SHA1 Message Date
Sean Channel
a75682416c change equals to colon for acceptance_wait_time
simple correction
2012-09-07 12:33:21 -07:00
Thomas S Hatch
ce8a94d7cb Add key_logfile to master template per #1990 2012-09-07 10:48:06 -06:00
Pedro Algarvio
74518be1a6 Set a lower default for max open files. Fixes #1991. 2012-09-07 16:44:54 +01:00
Pedro Algarvio
7c50be20a0 Keep configuration variables to the minimum possible. Refs #1981. 2012-09-06 20:04:14 +01:00
Pedro Algarvio
f6edff66e9 Restore the date to the logfile datefmt. Fix #1981. 2012-09-06 19:51:24 +01:00
Pedro Algarvio
89cffc051e Raise max open files when starting master. Refs #1964
When `salt-master` starts, it checks the soft and hard limits for max open files, it then raises it's process allowed max open files to the maximum if `max_open_files` is unset on the configuration file or to the set value.
2012-09-06 18:07:30 +01:00
Thomas S Hatch
c6aa8ec49a Add state_verbose settings to minion template 2012-08-18 00:47:49 -06:00
Thomas S Hatch
a7afa5670a Add state_verbose data to default master config 2012-08-18 00:47:03 -06:00
Thomas S Hatch
e0c24edf29 Add setting data to the master config template for client_acl 2012-08-18 00:39:17 -06:00
Ulrich Dangel
2b8d4aa5ff Support unix style wildcard for autosigning 2012-07-26 09:17:32 +02:00
Ulrich Dangel
8d4bef6663 Support autosigning for keys - closes #1690 2012-07-26 08:31:20 +02:00
Ulrich Dangel
5ca6939b14 Use master.d and minion.d config directories per default (closes #1683) 2012-07-26 03:59:09 +02:00
Grier Johnson
16d8af2b3d Allowing permissive pki group ownership
Allow for an optional directive that allows the salt pki_dir
to be owned by any group that root is a member of, not just
the primary group listed in the passwd directory.  This is
potentially insecure, but allows some limited access for
headless accounts to run salt without the need for sudo and
the config that goes along with that.

Conflicts:

	salt/__init__.py
	salt/utils/verify.py
2012-07-24 14:55:15 -07:00
Thomas S Hatch
7a2973a10a Merge pull request #1540 from s0undt3ch/master
Improved logging stuff
2012-06-30 15:57:40 -07:00
Pedro Algarvio
3f6b4ac7b8 Improved logging configuration options from the configuration files.
* Added the ability to configure the log levels for the console logger separate from the logfile logger. The log level provided from the cli script will override the console log level set on the configuration file but not the logfile logger setting, unless theres no setting for the logfile setting in which case it will be the same as the console log level.
* Added the ability to provide the logging formats for both the console and the logfile.
* Added the ability to provide the date format to be used.
* The module name formatting("%(name)s") now remembers the widest name, this will improve log readability.
* Also catch `KeyboardInterrupt`s while the minion is waiting to connect to the master and not just on `minion.tune_in()`.

All these new configuration settings are documented on the configuration file templates.
2012-06-30 23:40:03 +01:00
Intchanter
5f98f6cc83 Remove 'DO NOT EDIT', as distros copy as-is. 2012-06-30 12:14:58 -06:00
Andy Sykes
fbbe74bb35 Bugfixes/documentation update for the 'include' option
Bugfixes:
- handle case where 'include' option has an empty value
- globs were not handled correctly
- warning issued if any include option fails to match any files; this
may be deliberate by the user, but it's there to catch the case where
someone typos the path

Documentation updated with a few examples of how to use it. Minion
template config file also updated with similar examples.
2012-06-26 20:53:27 +01:00
Thomas S Hatch
037013569b Add config comments for job_cache 2012-06-13 15:42:26 -06:00
Baiju Muthukadan
0dc4341a94 Fix typos in configuration templates 2012-06-09 22:05:29 +05:30
Michael Prokop
15eb31f1da Fix some typos in configuration template and manpage
* usefule -> useful
* the the -> the
* issolate -> isolate
* coppied -> copied
2012-06-07 23:18:03 +02:00
Matt Haggard
8035751678 Clarified where the top.sls file goes 2012-06-05 14:54:21 -06:00
Thomas S Hatch
459035812e Add peer_run to the master config template 2012-06-02 20:50:20 -06:00
Dax Kelson
27050174e7 Spelling fix 2012-05-24 10:48:58 -06:00
Thomas S Hatch
fbdb8649ac Add cython data on the master, Fix #1331 2012-05-21 14:33:42 -06:00
Thomas S Hatch
02485beea0 Add config data for master runner_dirs 2012-05-18 18:31:55 -06:00
Thomas S Hatch
a97d5f7b89 Add config examples for ext_pillar 2012-04-07 16:47:41 -06:00
Thomas S Hatch
b5255cff31 remove incorrect commas from the master config template, fix #1001 2012-03-25 09:48:11 -06:00
Grier Johnson
3a3db83012 Adding in append_domain config values. Allows for a harcoded domain to
be appended to minions.  This helps with systems like solaris who, by
default, give back the short name when you ask for socket.getfqdn()
2012-03-14 18:35:07 -07:00
Thomas S Hatch
2003cd7b42 Add providers blurb to minion config 2012-03-14 15:11:11 -06:00
Thomas S Hatch
c09d8547b4 Add pillar_roots to the master config 2012-03-08 15:26:44 -07:00
Thomas S Hatch
738a74f6ee iAdd pillar_roots to the minion config 2012-03-08 15:16:19 -07:00
Grier Johnson
f5642c9073 Adding Range Support to Salt
Range is a cluster based metadata store.  It was used internally at
yahoo and recently open source.  You can read about range here:

https://github.com/grierj/range/wiki/Introduction-to-Range-with-YAML-files

Range allows arbitrary grouping of hosts via clusters and the storage
of metadata along with them.  Additionally there is a powerful DSL that
allows for set operations, regexes, and multilayer cluster referencing.

The implementation here runs the range query and reduces it to a list
style expression format, which means only the salt master needs to know
about range or have the range libraries installed.
2012-03-06 18:26:23 -08:00
Thomas S Hatch
3e5bc4ff5a Add state_top to the minion config 2012-03-04 22:15:06 -07:00
Thomas S Hatch
fd792c1caa Add file directory settings to the minion config template 2012-03-04 21:59:39 -07:00
Thomas S Hatch
140b36b8a5 Add dns)_check to the minion config 2012-03-01 10:24:19 -07:00
Thomas S Hatch
bfdebaa21b Add timeout doc to master config 2012-02-05 22:54:24 -07:00
blast_hardcheese
50f95e24ea Tightened up configuration documentation
Fixed a couple typos, run-on sentences, and reworded a particularly
confusing section.
2012-02-03 21:17:01 -08:00
Thomas S Hatch
7e9cc5e50e Add environment to the minion config 2012-01-31 22:21:06 -07:00
Thomas S Hatch
5409ff1f43 fix typo in minion config template 2012-01-30 07:55:02 -07:00
Thomas S Hatch
d4971abf2e Add external_nodes to the config system 2012-01-25 17:01:02 -07:00
Thomas S Hatch
d113d1b442 Merge branch 'develop' of https://github.com/rubic/salt into rubic-develop 2012-01-18 14:52:42 -07:00
Jeff Bauer
30308b6a5b run salt in user space 2012-01-18 14:29:38 -06:00
Thomas S Hatch
302857aca0 Add cache_jobs to the minion config template 2012-01-17 23:59:01 -07:00
Jeff Bauer
94a8b927de added salt/config.py, setup.py changes 2012-01-16 13:36:39 -06:00
Jeff Bauer
7f30955675 rename conf files to templates, issue #518 2012-01-16 13:29:49 -06:00
Thomas S Hatch
582199a376 Add missing examples tot he config 2012-01-13 15:29:24 -07:00
Thomas S Hatch
99e7b1c704 clean up the master config a little more 2012-01-13 12:31:20 -07:00
Thomas S Hatch
b27aec6ca2 update master config with serial option 2012-01-13 11:40:32 -07:00
Byron Clark
94d022c869 root_dir is also prepended to sock_dir. 2012-01-12 21:09:12 -07:00
Brad Barden
31f7175932 very minor wording correction in config desc 2011-12-31 20:41:55 -06:00
Brad Barden
3bec12e5b7 updated description of acceptance_wait_time 2011-12-31 20:31:06 -06:00
Brad Barden
54c4eefcdb add acceptance_wait_time minion config parameter 2011-12-31 19:53:07 -06:00
Chris Scheller
47703d6b87 using compound targets for the groups now 2011-12-16 10:16:44 -05:00
Chris Scheller
b725c2d884 merge of upstream/develop to bring in compound target support 2011-12-13 14:24:59 -05:00
Thomas S Hatch
3a32864e9a Add state_verbose: False option to make states less chatty 2011-12-10 00:15:57 -07:00
Chris Scheller
3a9bb45e35 example format of the groups in the master config 2011-12-07 13:43:21 -05:00
Corey Quinn
5e404e8674 Fixed a typo or two 2011-11-26 16:15:43 -08:00
Thomas S Hatch
e9b048d5b4 add failhard to the master config file 2011-11-24 00:22:31 -07:00
Thomas S Hatch
862cf236c4 update minion config with new sub_timeout option 2011-10-24 22:48:55 -06:00
Thomas S Hatch
f6c3c31e31 Disable Cython module loading by default 2011-09-14 17:14:56 -06:00
Thomas S Hatch
b720b200a1 Add syndic data to the default config 2011-08-27 11:08:59 -06:00
Thomas S Hatch
a2363eca76 update the master config file 2011-08-27 08:51:38 -06:00
Erik Nolte
1d71c9ce19 Move remaining salt-monitor code to the salt-monitor project 2011-08-10 13:54:38 -06:00
Erik Nolte
4b442d52dd Update conf alert examples to match new syntax 2011-08-09 11:09:01 -06:00
Erik Nolte
6ee2e2befe Use the new ${var:format} syntax. Add sample alert options. 2011-08-08 12:40:27 -06:00
Erik Nolte
78067ac3db Update examples to include expression in command. 2011-08-02 13:27:38 -06:00
Erik Nolte
878e7e5846 Merge branch 'master' of github.com:thatch45/salt 2011-08-01 16:22:02 -06:00
Erik Nolte
51efb239e8 Add comments and sample mongo monitor returner 2011-08-01 16:21:01 -06:00
Thomas S Hatch
879b47b3ff Add peer publish stuff to the config 2011-07-29 22:50:17 -06:00
Thomas S Hatch
66222bcebc Fix config to reflect new default value 2011-07-29 20:54:55 -06:00
Erik Nolte
68f098fc1f Logging defaults for the monitor are different from the minion 2011-07-28 17:27:42 -06:00
Erik Nolte
1b9248b1dd Move monitor configuration from /etc/salt/minion to /etc/salt/monitor. 2011-07-28 10:41:28 -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
63b3ed0032 Add sample monitor configuration. 2011-07-26 15:44:28 -06:00
Travis Cline
dfe8563671 Added new option: root_dir to be prepended to 'pki_dir', 'cachedir', and 'log_file' to aid in non-root installations. 2011-06-20 21:24:50 -05:00
Thomas S Hatch
adb4fef229 Add the renderer to the master config comments 2011-05-28 13:40:37 -06:00
Thomas S Hatch
8b4473c27c Change the top file structure to be lighter 2011-05-28 12:12:05 -06:00
Thomas S Hatch
677cac28c3 Add environment seeking to the master file server 2011-05-26 23:35:45 -06:00
Thomas S Hatch
77c67af2cc Add the new file server layout to the conf file 2011-05-26 22:30:38 -06:00
Pedro Algarvio
3f157549c2 Improved Logging Conclusion.
Concluded the improved logging stuff; Added `log_granular_levels` which will allow to tweak specific logger's levels.
Adapted the default configuration to include the improved logging stuff.
2011-05-26 11:22:37 +01:00
Pedro Algarvio
e8cac6a61f Make Cython Support Optional.
Allow the user to choose not to have the cython module searching and loading enabled.
This helps with packages installed in "develop" mode where the ".pyx"'s are still present and will be tried to be compiled and loaded even though that package is fully working.
2011-05-25 09:29:48 +01:00
Thomas S Hatch
8bb3efed2d Add test config option 2011-05-22 21:06:26 -06:00
Thomas S Hatch
27afcbf59f Add File server valuse to the config file 2011-05-21 17:11:21 -06:00
Thomas S Hatch
8a9037df59 fix default specified in the minion conf 2011-05-19 20:45:18 -06:00
Thomas S Hatch
463eba0d5c Add renderer info to the config file 2011-05-16 22:37:54 -06:00
Thomas S Hatch
61dc847706 update the master config for new topology changes 2011-05-13 22:14:07 -06:00
Thomas S Hatch
58aabd107b Add some options to the default config 2011-05-13 22:07:27 -06:00
Thomas S Hatch
dd9aef3938 Add some more module managers to the minion 2011-05-10 14:14:10 -06:00
Thomas S Hatch
3df637f0bd Add module paths to the default minion config 2011-04-22 08:52:55 -06:00
Thomas S Hatch
b24801fc0d change the hostname var to id in the config stack 2011-04-12 13:56:03 -06:00
Thomas S Hatch
43d705bfc1 Add the config backend for multiprocessing 2011-04-11 10:46:26 -06:00
Thomas S Hatch
c4b5300850 Add module configuration examples to the config file 2011-04-07 11:33:48 -06:00
Thomas S Hatch
5689a5e616 remove ucarp cluster data from the code 2011-04-01 18:35:55 -06:00
Thomas S Hatch
6797c3f3da Add documentation to the salt master configuration file 2011-03-28 23:34:54 -06:00
Thomas S Hatch
b487e7a4c6 clean up the default minion configuration file 2011-03-28 23:10:49 -06:00
Thomas S Hatch
da612fdfca Clean up the default master configuration file 2011-03-28 22:59:54 -06:00
Thomas S Hatch
b5c05799c8 Add keep_jobs option to the configuration 2011-03-24 21:59:01 -06:00
Thomas S Hatch
fa258ab1ff Add new configuration options to the default configuration files 2011-03-24 21:53:47 -06:00
Thomas S Hatch
24db7402fb Add auto_accept to the config file 2011-03-24 19:19:10 -06:00
Thomas S Hatch
5bc5591e8e Add disable_modules option to the minion conifg 2011-03-14 22:28:30 -06:00
Thomas S Hatch
3b5d4484a9 Add open mode options to the configs 2011-03-10 08:55:48 -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
95abf25bd2 Change the configuration backend paths 2011-03-03 10:57:11 -07:00
Thomas S Hatch
c9bbcbde66 Add configuration templates 2011-02-20 13:33:52 -07:00