Joseph Hall
aa23eb0e26
Merge pull request #22448 from rallytime/migrate_old_cloud_config_docs
...
Migrate old cloud config documentation to own page
2015-04-08 12:32:35 -06:00
salt_build
6d99681b8d
Moved file deletion to happen after user clicks install
2015-04-08 18:25:56 +00:00
Todd Stansell
8117e9f855
fix #21998 - use yum reposdir as basedir defaults
...
We now use the reposdir list of directories as the default set of repo
directories to manage. When a new repo is created, it will be created in the
first directory in the list that exists. Now that basedir is a list, you can
pass multiple directories in the basedir argument, separated by commas.
2015-04-08 10:44:12 -07:00
Eli Ribble
d96e470f9b
Add the ability to specify key prefix for S3 ext_pillar
...
Users can use the prefix parameter to specify that pillar data should
come only from keys that start with the provided prefix. This allows
users to put pillar data in a 'subdirectory' of their bucket. It also
makes it easier to fully define pillars using S3 using a single bucket
See: https://github.com/saltstack/salt/issues/22472
2015-04-08 11:34:48 -06:00
Seth House
9a3a747d27
Updated wording about nested dictionaries in states.file.managed docs
...
Old wording was too ambiguous. Refs #22463
2015-04-08 09:44:47 -06:00
Thomas Jackson
30db262481
Add timeout to batch tests
2015-04-08 07:53:54 -07:00
Thomas Jackson
8d71c2b222
Cleanup pylint errors
2015-04-08 07:53:47 -07:00
Thomas Jackson
3e67cb54ff
Re-work batching to more closely match CLI usage
...
In the regular CLI we consider a job as completed once all minions aren't running the job anymore. In this batching implementation we will ping all minions, wait up to timeout, then start the batching. In the event of minions returning during the batching we'll add them to the list of targets.
2015-04-08 07:53:39 -07:00
Thomas Jackson
b119faecf4
Stop chdir() in pcre minions
2015-04-08 07:53:31 -07:00
Thomas Jackson
10c6788502
Stop the os.chdir() to do glob
2015-04-08 07:53:24 -07:00
Thomas Jackson
87b364f764
More clear about CKMinions' purpose in the docstring
2015-04-08 07:53:14 -07:00
Thomas Jackson
63e28ba358
Revert "Just use ckminions in batch mode."
...
This reverts commit 6c5f3f8d2e
.
We can't use ckminions since it is a gauranteed superset (not the exact set)
2015-04-08 07:53:03 -07:00
Thomas Jackson
29cf438d3c
Fix CKMinions _check_range_minions
...
In the localclient the range return is already assumed to be a list of the minion_ids. This implementation assumed it was returning a list of fqdns, which makes for unecessary complications. In addition we were making the same range expand N times (N being the number of *total* minions)-- which is a LOT.
Conflicts:
salt/utils/minions.py
2015-04-08 07:52:43 -07:00
rallytime
cecca10668
Kill legacy cloud configuration syntax docs per techhat
2015-04-07 20:09:37 -06:00
Seth House
d7b1f14133
Merge pull request #22445 from rallytime/fix-19044
...
Add docs explaing file_map upload functionality
2015-04-07 19:34:54 -06:00
rallytime
52a3d500e8
Beef up cloud configuration syntax and add pillar config back in
2015-04-07 18:56:40 -06:00
rallytime
9b5318fe71
Move old cloud syntax to "Legacy" cloud config doc
2015-04-07 18:41:21 -06:00
Brandon Rochon
c5ae09b5e7
Issue #20850 puppet run should return actual code
2015-04-07 16:23:57 -07:00
rallytime
7a9ce92dd9
Add docs explaing file_map upload functionality
...
Fixes #16886
2015-04-07 17:23:02 -06:00
Justin Findlay
ade247443d
Merge pull request #22426 from jraby/patch-1
...
don't repeat the "if ret['changes']" condition
2015-04-07 15:42:39 -06:00
Justin Findlay
4c8d351dbf
Merge pull request #22416 from rallytime/bp-21044
...
Backport #21044 to 2014.7
2015-04-07 15:19:32 -06:00
Justin Findlay
f76c5b4a56
Merge pull request #22433 from rallytime/fix-22218
...
Clarify that an sls is not available on a fileserver
2015-04-07 14:36:10 -06:00
Justin Findlay
70ba52fcee
Merge pull request #22434 from rallytime/bp-22414
...
Backport #22414 to 2014.7
2015-04-07 14:34:57 -06:00
Frank Klaassen
4a141c0f89
Lint
2015-04-07 13:19:14 -06:00
Frank Klaassen
09e9b6ea95
Do not look for disk underneath config
2015-04-07 13:19:14 -06:00
rallytime
f22f4dc4fc
Clarify that an sls is not available on a fileserver
...
Instead of just assuming that it should be looking to the master only.
Refs #22218
2015-04-07 13:12:58 -06:00
jraby
e2aa53899b
don't repeat the "if ret['changes']" condition
...
I was having a look at the code since I thought https://github.com/saltstack/salt/issues/21422 was still not fixed.
Turns out 8e0a9e2715 (diff-3b447dc835943beb1326f98f684fe783)
had fixed it, but the code read strange to me (why have `if not changes` followed by `if changes`?)
This seems more straight forward to me.
2015-04-07 13:42:41 -04:00
Mike Place
7dd4b618ba
TCP keepalives on the ret side
...
It turns out that we were not setting the same keepalive settings on the
connection back to the master on TCP4506 as we were on the inbound side on 4505.
In the past, this technique would have been problematic but now that we are caching
SREQs this is far more viable.
2015-04-07 09:38:02 -06:00
Nicole Thomas
28630b4bd6
Merge pull request #22400 from jfindlay/cmd_state_tests
...
adding cmd.run state integration tests
2015-04-07 07:40:09 -06:00
Viet Hung Nguyen
9bf985545f
create host file if it does not exist
2015-04-07 14:03:58 +07:00
Justin Findlay
38482a5b11
Merge pull request #22395 from twangboy/port_pip
...
Fixed problem with pip not working on portable install
2015-04-06 22:09:22 -06:00
Justin Findlay
56364ff571
adding cmd.run state integration tests
2015-04-06 20:32:22 -06:00
Shane Lee
b71602a39c
Update BuildSalt.bat
2015-04-06 17:52:58 -06:00
Shane Lee
4a3a8b4606
Update BuildSalt.bat
2015-04-06 17:52:38 -06:00
Shane Lee
ba1d3965d2
Update BuildSalt.bat
2015-04-06 17:51:49 -06:00
Shane Lee
8e8b4fb26f
Update BuildSalt.bat
2015-04-06 17:50:49 -06:00
salt_build
c898b951bc
Fixed problem with pip not working on portable install
2015-04-06 23:04:24 +00:00
sergey.b
a7361ffc70
new fix #22321 bug
2015-04-06 18:59:12 +03:00
Joseph Hall
66442a7b35
Merge pull request #22379 from alprs/feature-iptables-improved_save_output
...
Improve output when using iptables.save
2015-04-06 09:11:34 -06:00
Mike Place
2ac741b9f9
Merge pull request #22365 from s0undt3ch/2014.7
...
Include `unless` in the state internal keywords.
2015-04-06 08:01:26 -06:00
sergey.b
03ba42c6fd
fix #22321 bug
2015-04-06 15:06:35 +03:00
Andreas Lutro
568e1b77e5
Improve output when using iptables.save
...
This change will append "Wrote X lines to filename" to the comments when
iptables.save is used, instead of repeating the iptables command that
was ran or rendering the filename as "None" (because that's what the
filename variable is when it's passed to the iptables.save function).
2015-04-06 10:39:41 +02:00
Justin Findlay
16eb18e146
Merge pull request #22374 from alprs/fix-iptables-saved_rule_to
...
Corrected output for iptables rule saved to file
2015-04-05 16:15:43 -06:00
Andreas Lutro
bd1ff37b29
Corrected output for iptables rule saved to file
2015-04-05 22:55:21 +02:00
Justin Findlay
9410c1f006
Merge pull request #22372 from alprs/fix-iptables-missing_state_flag
...
iptables needs `-m state` for `--state` arguments
2015-04-05 13:57:39 -06:00
Andreas Lutro
1452082dc0
iptables needs -m state
for --state
arguments
2015-04-05 20:18:36 +02:00
Joseph Hall
5d3dc7a2a1
Merge pull request #22368 from alprs/fix-iptables_proto_protocol_alias
...
Make iptables module build_rules accept protocol as an alias for proto
2015-04-05 09:57:55 -06:00
Andreas Lutro
b62d76a028
Make iptables module build_rules accept protocol as an alias for proto
...
The salt documentation mentions that **kwargs passed to an iptables
state such as iptables.append are passed to the iptables command as a
long command line option. This is not the case, as `--proto` is not an
iptables option, whereas `--protocol` is.
2015-04-05 16:50:41 +02:00
Pedro Algarvio
ff4aa5b989
Include unless
in the state internal keywords.
...
Fixes #22359
2015-04-05 01:00:08 +01:00
Pedro Algarvio
287bce36b8
Add fun
and state
to the runtime internal keywords listing
...
Fixes #21120
Refs #21133
Refs https://github.com/saltstack/salt/issues/18806#issuecomment-76532356
2015-04-05 00:42:10 +01:00