Commit Graph

22266 Commits

Author SHA1 Message Date
Seth House
e55d9852bd Added links to the Salt RTD and YouTube channel
Refs #8414
2013-11-11 18:10:40 -07:00
Seth House
6f6110b743 Merge pull request #8417 from terminalmage/issue8399
file.replace: replicate ownership/permissions on new file
2013-11-11 16:58:19 -08:00
Erik Johnson
e6a87fc5b7 Add salt.utils.file_perms function
Converting the st_mode value from os.stat results to something usable
for os.chmod seemed like it would be a useful thing to have in
salt.utils, so this commit moves that functionality there.
2013-11-11 18:03:04 -06:00
Seth House
4701c25bbc Misc. rST fixes 2013-11-11 16:25:29 -07:00
Seth House
ee0dd1a669 Added autodoc generated cloud module docs 2013-11-11 16:25:28 -07:00
Seth House
8807eea450 Added directory for clouds modules documentation 2013-11-11 16:25:28 -07:00
Thomas S Hatch
2ff93432a2 Fix CkMinions class ref 2013-11-11 16:13:59 -07:00
Erik Johnson
4406ed6cd7 file.replace: replicate ownership/permissions on new file
Since file.replace was changed to use fileinput.input (and perhaps
before this), this function would create a new file with the desired
replacements, and this file would be owned by the user running salt,
with permissions governed by the umask. This is not the expected
behavior. One would expect that the new file would have the same
ownership and permissions as the original file. This commit performs an
os.stat before making changes, and then sets the ownership/permissions
after the changes are made.

Rather than stat-ing the file again after making the changes, since stat
can be an expensive operation, the ownership and permissions are set
irrespective of whether or not they differ from the original state.
2013-11-11 17:04:51 -06:00
C. R. Oldham
20a23977ce Merge pull request #8416 from cro/fix_test_valid_docs_fail
Fix test valid docs fail
2013-11-11 14:00:04 -08:00
C. R. Oldham
f2da10af02 Merge remote-tracking branch 'upstream/develop' into fix_test_valid_docs_fail 2013-11-11 14:57:02 -07:00
C. R. Oldham
7561944049 Add CLI example so test_valid_docs test passes 2013-11-11 14:56:22 -07:00
Thomas S Hatch
9abaa79c70 Merge pull request #8415 from terminalmage/issue8381
Improve module state documentation
2013-11-11 13:53:36 -08:00
Thomas S Hatch
b5b134a410 Add manage.present runer 2013-11-11 14:45:13 -07:00
Erik Johnson
ac740adacb Improve module state documentation 2013-11-11 15:39:00 -06:00
Thomas S Hatch
1e7bac2245 Merge pull request #8410 from utahcon/develop
Adding support for cron comments
2013-11-11 13:10:34 -08:00
Joseph Hall
799d7cc40e Merge pull request #8407 from holmboe/doc-test-changes
Doc changes (mostly regarding the test suite)
2013-11-11 11:24:05 -08:00
Adam Barrett
65da2ba1c1 Adding support for cron comments 2013-11-11 12:06:29 -07:00
Henrik Holmboe
0bc956b940 Link to the hacking doc instead of including it all
Serves the purpose and is easier to manage.
2013-11-11 19:55:28 +01:00
Henrik Holmboe
7f2041f4f8 Add link to SaltStack Inc blog 2013-11-11 19:55:28 +01:00
Henrik Holmboe
939cc09e1c Remove section title
Since this is a very short chapter, it didn't really add any value.
2013-11-11 19:55:27 +01:00
Henrik Holmboe
3179e97cc8 Unify documentation regarding the test suite
There were a whole lot of information regarding running the test suite
in the hacking file, while there are a separate tests section of the
documentation. I attempt to slim this down a bit and give a helpful
pointer to the full section in order to avoid duplicated texts.
2013-11-11 19:55:21 +01:00
Henrik Holmboe
86b993a4bf Remove duplicate "here" 2013-11-11 19:47:55 +01:00
Henrik Holmboe
06ae6e111d Change header title
Aligns better with the previous header which is "Installing Salt for
development".
2013-11-11 19:47:55 +01:00
Erik Johnson
ad02ed9a1b Merge pull request #8408 from olenz/develop
Add option "fromrepo" to install.
2013-11-11 08:47:02 -08:00
Olaf Lenz
03e4e8a8d3 Reduce verbosity of pkg.py when many packages were unchanged. 2013-11-11 17:38:09 +01:00
Olaf Lenz
5dac0bfa77 Add option "fromrepo" to install. 2013-11-11 17:26:03 +01:00
Thomas S Hatch
fce5fb1b00 Merge pull request #8401 from vhgroup/develop
Cloud map template rendering fixed.
2013-11-11 08:01:13 -08:00
Thomas S Hatch
5e19db30e3 Merge pull request #8375 from evinrude/develop
Added missing function
2013-11-11 08:00:25 -08:00
Joseph Hall
f90dad5c44 Merge pull request #8400 from regilero/blockreplace
fix comment example of blockreplace, fix #8342
2013-11-11 05:13:52 -08:00
Joseph Hall
621f799a8e Merge pull request #8396 from s0undt3ch/hotfix/ssh-module-tests
The GitHub IP changed
2013-11-11 05:06:23 -08:00
Diego Woitasen
6d6bba9e7c Cloud map template rendering fixed. 2013-11-11 09:25:32 -03:00
regilero
cad9e97199 fix comment example of blockreplace 2013-11-11 13:12:33 +01:00
Pedro Algarvio
4adc222ada Use decorators.which to assert that the binaries exists.
Minor formatting changes.
2013-11-11 07:45:27 +00:00
Pedro Algarvio
d88d34ca24 The GitHub IP changed. 2013-11-11 07:45:10 +00:00
Seth House
a566e2829c Revert inline links to anonymous link targets, but with valid rST
@s0undt3ch reports this syntax is better for translations.
2013-11-11 00:29:54 -07:00
Pedro Algarvio
48763549e6 Merge pull request #8395 from s0undt3ch/hotfix/string-format-no-index
Force indexes in string format calls
2013-11-10 22:39:31 -08:00
Pedro Algarvio
44342fea9b Under Python 2.6, curly braces in strings to .format() MUST be indexed.
Less local variables.
2013-11-11 06:37:42 +00:00
Pedro Algarvio
2f119b6ae5 Under Python 2.6, curly braces in strings to .format() MUST be indexed. 2013-11-11 06:35:14 +00:00
Pedro Algarvio
f7d6f185ef Under Python 2.6, curly braces in strings to .format() MUST be indexed. 2013-11-11 06:34:39 +00:00
Pedro Algarvio
6dde259fa5 Under Python 2.6, curly braces in strings to .format() MUST be indexed. 2013-11-11 06:33:57 +00:00
Pedro Algarvio
9d498ee099 Under Python 2.6, curly braces in strings to .format() MUST be indexed. 2013-11-11 06:31:50 +00:00
Pedro Algarvio
186ab4546d Under Python 2.6, curly braces in strings to .format() MUST be indexed. 2013-11-11 06:31:10 +00:00
Pedro Algarvio
db02bfdfa2 Under Python 2.6, curly braces in strings to .format() MUST be indexed. 2013-11-11 05:39:37 +00:00
Pedro Algarvio
a949e94aca Under Python 2.6, curly braces in strings to .format() MUST be indexed. 2013-11-11 05:36:14 +00:00
Pedro Algarvio
0234a9cfb4 Under Python 2.6, curly braces in strings to .format() MUST be indexed. 2013-11-11 05:35:23 +00:00
Pedro Algarvio
033ef692ac Under Python 2.6, curly braces in strings to .format() MUST be indexed.
Double to single quotes and minor formatting.
2013-11-11 05:35:23 +00:00
Pedro Algarvio
90d3a0b279 ABOLISH un-indexed curly braces on strings to format on Jenkins too!!!! 2013-11-11 02:27:15 +00:00
Pedro Algarvio
166f624023 Merge pull request #8391 from s0undt3ch/develop
ABOLISH un-indexed curly braces on strings to format!!!!
2013-11-10 18:21:21 -08:00
Pedro Algarvio
ff6e7997ff ABOLISH un-indexed curly braces on strings to format!!!! 2013-11-11 02:20:48 +00:00
Erik Johnson
8f7ac73100 Mock yaml.scanner in docs conf.py 2013-11-10 15:39:27 -06:00