Commit Graph

6115 Commits

Author SHA1 Message Date
Thomas S Hatch
705509cf62 Merge pull request #1910 from alekibango/develop
fix wrong rst syntax in yaml_idiosyncrasies.rst
2012-08-29 14:25:00 -07:00
David Pravec
956b89013e fix wrong rst syntax in yaml_idiosyncrasies.rst
and this time i also verified the builded documentation to be ok.
Sorry i didnt do it last time.
2012-08-29 19:06:19 +02:00
Thomas S Hatch
f510dcbc2f Take out the first person speak 2012-08-29 10:41:39 -06:00
Thomas S Hatch
44ad17237e Merge pull request #1907 from alekibango/develop
explained how to (not) use UTF8 with YAML
2012-08-29 09:36:55 -07:00
Thomas S Hatch
34aef57b6f Merge pull request #1908 from uggedal/develop
Use `systemctl list-unit-files` for finding systemd units.
2012-08-29 09:34:42 -07:00
Eivind Uggedal
8ab6de500b Strip shell escape sequences from systemctl list-unit-files call.
Without this the matches against each unit's state for get_enabled and
get_disabled will not match.
2012-08-29 16:20:02 +02:00
Eivind Uggedal
578aec642a Merge branch 'develop' of git://github.com/saltstack/salt into develop 2012-08-29 15:59:47 +02:00
Eivind Uggedal
d5080a12fa Use systemctl list-unit-files for finding systemd units.
Since we get the state of each unit with one command we don't
have to call `systemctl is-enabled` one time per unit to find
all enabled or disabled services. In addition we now get
a list of all units, not only those of the service type.
2012-08-29 15:56:49 +02:00
David Pravec
7df0764bcb explained how to (not) use UTF8 with YAML
yaml is really pain sometimes... It does support ASCII characters only.
This little text explains how to write extra characters if its needed.
2012-08-29 15:56:12 +02:00
Thomas S Hatch
6eb99f8815 Merge pull request #1903 from uggedal/develop
Ability to handle other systemd unit types than service (like socket).
2012-08-28 15:47:03 -07:00
Eivind Uggedal
2dcb76c0c8 Merge branch 'develop' of git://github.com/saltstack/salt into develop 2012-08-29 00:35:50 +02:00
Eivind Uggedal
9ba058e420 Ability to handle other systemd unit types than service (like socket). 2012-08-29 00:32:17 +02:00
Thomas S Hatch
5574e8c657 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-08-28 15:46:13 -06:00
Thomas S Hatch
c9412cbc78 clean up socket management for the minion event system 2012-08-28 15:45:46 -06:00
Thomas S Hatch
3175430300 Merge pull request #1901 from scott-w/develop
Added hg state
2012-08-28 14:41:07 -07:00
Scott Walton
cb97314cf6 Some clean-up #330 2012-08-28 21:48:45 +01:00
Thomas S Hatch
b79bbe1943 Fix typo in recent commit 2012-08-28 13:50:50 -06:00
Thomas S Hatch
73d46753f7 Merge pull request #1899 from alekibango/develop
improved and fixed docstrings for file.(un)comment and state.show_sls
2012-08-28 12:49:51 -07:00
Thomas S Hatch
cd2850edd1 Merge pull request #1898 from uggedal/develop
Make salt recognize systemd service units in /etc/systemd/system.
2012-08-28 12:45:43 -07:00
Thomas S Hatch
47bd829764 Merge pull request #1895 from s0undt3ch/issues/1864
Fix #1864 - Support `makedirs` to `salt.states.file.append()`
2012-08-28 12:40:39 -07:00
Thomas S Hatch
e175fc4cea Merge pull request #1894 from s0undt3ch/issues/1879
Fix #1879
2012-08-28 12:39:39 -07:00
Thomas S Hatch
1ab5a46f4a Merge pull request #1893 from jeffh/pip_removed
Applied patch from fix #1881.
2012-08-28 12:36:30 -07:00
Thomas S Hatch
77244fe9d4 Merge pull request #1892 from jeffh/pip_requirements
Fixed support for running pip install requirements with another user.
2012-08-28 12:35:32 -07:00
David Pravec
b17b609d68 Fixed wrong CLI example in show_sls docstring
simple edit:
    state.sls -> state.show_sls
2012-08-28 17:43:45 +02:00
David Pravec
f5251f80d5 Fixed docstring for file.comment/uncomment
(just used text from module file)
2012-08-28 17:41:14 +02:00
Eivind Uggedal
c6c0ed2275 Make salt recognize systemd service units in /etc/systemd/system. 2012-08-28 15:15:13 +02:00
Pedro Algarvio
b3a03e391f Fix #1864 - Support makedirs to salt.states.file.append() 2012-08-28 12:05:50 +01:00
Pedro Algarvio
8b645b339b Fix #1879. Searching/matching is now done on multiple lines.
* `salt.modules.file.contains()`, `salt.modules.file.contains_regex()`, `salt.modules.file.contains_glob()` and `salt.utils.find` now do the searching/matching against chunks of data; using defaults, 32KB chunks of data in files; instead of searching/matching line by line.
* Based on the above changes `salt.states.file.append()`, when checking if the text to append is already present, now uses `salt.modules.file.contains_regex()` in order to match spanning multiple lines ignoring the addition/deletion of white-space or new lines, except inside commas.
* The regex used on the above item is built at runtime using `salt.utils.build_whitepace_splited_regex()`, just feed the text to it and you'll get back the proper regex to the matching/searching on, for example `salt.modules.file.contains_regex()`.
* Added tests for all this code.
2012-08-28 10:03:11 +01:00
Jeff Hui
bb1c7f659b Applied patch from fix #1881. 2012-08-28 00:47:33 -07:00
Jeff Hui
519b837aa0 Fixed support for running pip install requirements with another user. Also moved salt:// requirements support from virtualenv state to pip module.
Closes #1891.
2012-08-28 00:37:00 -07:00
Thomas S Hatch
7ca15f47cf Merge pull request #1889 from herlo/master
fixed 'recurse' typo in several locations
2012-08-27 22:06:13 -07:00
Thomas S Hatch
e2e79ced5a Add Tom Vaughan's state tree 2012-08-27 22:56:31 -06:00
Clint Savage
a79caf940d fixed 'recurse' typo in several locations 2012-08-27 21:26:41 -06:00
Scott Walton
e2d4268cd4 Added hg state ripped off from git.py. Will probably be related to #330 2012-08-27 22:53:59 +01:00
Thomas S Hatch
e7d8e10550 Merge branch 'develop' of github.com:saltstack/salt into develop 2012-08-27 13:29:23 -06:00
Thomas S Hatch
921300afa0 Add daemonize_if to bsd services, Fix #1888 2012-08-27 13:28:53 -06:00
Thomas S Hatch
4301d01422 Add daemonize_if to systemd 2012-08-27 13:26:33 -06:00
Thomas S Hatch
ce0100a724 Add daemonize_if to gentoo service 2012-08-27 13:25:11 -06:00
Thomas S Hatch
ba358cc00c Import salt.utils 2012-08-27 13:24:50 -06:00
Thomas S Hatch
4c3d99a392 Add daemonize_if to rh_service 2012-08-27 13:23:36 -06:00
Thomas S Hatch
850ec58baa Add daemonize_if for the geenric service module 2012-08-27 13:22:52 -06:00
Thomas S Hatch
5ce88e24be Add daemonize if for upstart 2012-08-27 13:21:44 -06:00
Thomas S Hatch
7f517521e2 Merge pull request #1887 from kjkuan/develop
Pass __opts__ to the invocation of __init__ in a salt module.
2012-08-27 12:13:58 -07:00
Jack Kuan
597c0c3957 Pass __opts__ to the invocation of __init__ in a salt module. 2012-08-27 15:09:27 -04:00
Thomas S Hatch
a05dc6097d Add ipc_mode
This is to fix #1882
This adds some options to allow for the minion event system to bind to
tcp ports instead of an ipc interface. This is primarily to fix the
minion local event system on Windows platforms
2012-08-27 12:48:32 -06:00
Thomas S Hatch
14478d747b Fix #1853 2012-08-27 12:31:19 -06:00
Thomas S Hatch
3fb8e20d97 initial docs on testing interface 2012-08-27 10:44:00 -06:00
Seth House
7e6ac74686 Added Disqus commenting to documentation pages 2012-08-26 10:44:46 -07:00
Pedro Algarvio
797defc320 Add the failing test for saltstack/salt#1879 2012-08-26 00:38:39 +01:00
Thomas S Hatch
269bef7112 Fix #1842 2012-08-25 17:17:13 -06:00