Commit Graph

27379 Commits

Author SHA1 Message Date
Thomas S Hatch
ed4ec034ec Merge pull request #11074 from makinacorpus/archive
salt.states.archive: multiple improvments
2014-03-10 08:42:06 -07:00
Thomas S Hatch
026bdf8d0d Merge pull request #11071 from makinacorpus/lxc
Lxc
2014-03-10 08:41:27 -07:00
Thomas S Hatch
5d88210560 Merge pull request #11072 from viraptor/startup_errors
Report errors when preparation fails
2014-03-10 08:40:38 -07:00
Joseph Hall
eb642e82fd Merge pull request #11082 from gtmanfred/cloud
Add volumes to the cloud module, state, and client
2014-03-10 09:08:13 -06:00
Pedro Algarvio
2215310cd7 Merge pull request #11087 from techhat/iptables
Set a default table for iptables flush state
2014-03-10 15:05:50 +00:00
Daniel Wallace
c18eedadf3 use cloud.volume_present
instead of cloud.volume_exists
2014-03-10 10:04:34 -05:00
Joseph Hall
c58fd1a231 Set a default table for iptables flush state 2014-03-10 08:17:29 -06:00
Chris Reeves
5e9c39561e Fix master._clear_old_jobs for ext_pillars with root parameter 2014-03-10 13:50:31 +00:00
Pedro Algarvio
47f15f4119 Merge pull request #11083 from hulu/lxc-typos
fix typos in lxc module
2014-03-10 08:39:15 +00:00
Pedro Algarvio
2adc2a45ab Merge pull request #11084 from hulu/lxc-shadowing
avoid shadowing info() in lxc module
2014-03-10 08:38:11 +00:00
Chris Rebert
42062f4aa6 avoid shadowing info() in lxc module 2014-03-10 00:48:41 -07:00
Chris Rebert
f816bfdd35 fix typos in lxc module 2014-03-10 00:45:59 -07:00
Daniel Wallace
4a9ce0cdae Cleaning up invalid corrections 2014-03-10 02:27:43 -05:00
Daniel Wallace
5f28c0c83e Add the ability to inject files for nova 2014-03-10 02:22:14 -05:00
Daniel Wallace
54f79427f3 Remove nova state
This one shouldn't have every really been used.  It is replaced by just
using regular cloud states now.
2014-03-10 02:20:06 -05:00
Daniel Wallace
b85ca8b3bc cleanup for pep8
Cloud Volume commands
2014-03-10 02:20:06 -05:00
Daniel Wallace
ee3914f9cf libcloud compatibility for destroy_node 2014-03-10 02:20:06 -05:00
Daniel Wallace
19a458faa6 Clean up dictionaries for volumes in cloud state 2014-03-10 02:20:06 -05:00
Daniel Wallace
18da08cbd6 volume_action doesn't always need names
for example, volume_list
2014-03-10 02:20:06 -05:00
Daniel Wallace
31f9d49ea9 Use class for server information
Like libcloud
2014-03-10 02:20:06 -05:00
Daniel Wallace
639f2ba4e4 list_nodes needs to be in SaltNova
for deleting with salt-cloud
2014-03-10 02:20:06 -05:00
Daniel Wallace
33b767232f Add cloud states for volumes 2014-03-10 02:20:06 -05:00
Daniel Wallace
da79380771 Clean up comments for volumes in cloudclient 2014-03-10 02:20:06 -05:00
Daniel Wallace
5a12af45c6 volume_list is now a dictionary
Instead of being a volume object, it returns everything so that we don't
have to generate a response dictionary anymore.
2014-03-10 02:20:06 -05:00
Daniel Wallace
a39b4ab408 Create one map for all volume actions 2014-03-10 02:20:06 -05:00
Daniel Wallace
8456dee98f [salt.cloud] nova cloud driver has the provider injected 2014-03-10 02:20:06 -05:00
Daniel Wallace
a0ebcc3470 [salt.cloud] fix volume_list in SaltNova 2014-03-10 02:20:06 -05:00
Daniel Wallace
66e449291e [salt.cloud] adding volumes to cloud states 2014-03-10 02:20:06 -05:00
Pedro Algarvio
4af4bf13e5 Merge pull request #11081 from cvrebert/patch-1
utils/serializers/yaml.py: fix spelling: polute => pollute
2014-03-10 07:02:48 +00:00
Chris Rebert
cd79293371 utils/serializers/yaml.py: fix spelling: polute => pollute 2014-03-09 21:40:47 -07:00
Matthew Williams
76c8b9535a salt.modules.seed: typo 2014-03-09 22:20:15 -04:00
Matthew Williams
ee70eed662 lxc: saltify -> bootstrap; lxc & seed: doc improvements 2014-03-09 22:16:44 -04:00
Christoph Heer
013f56c497 Add pip_exists_action argument to virtualenv state
If you have some editable packages in a managed virtualenv than
you should be able to set the default action of pip for existing
paths.
2014-03-10 00:08:23 +01:00
Joseph Hall
7dfce9935a Merge pull request #11078 from garethgreenaway/develop
Initial addition of module to manage nftables firewall rules.
2014-03-09 14:28:59 -06:00
Gareth J. Greenaway
29517377f9 Initial additional of module to manage nftables firewall rules. 2014-03-09 12:43:32 -07:00
Pedro Algarvio
2477ebffad Merge pull request #11075 from terminalmage/issue7306
Allow for pkgname.x86_64 to be used in pkg states
2014-03-09 17:58:57 +00:00
Erik Johnson
828b6a206e Normalize name for single package target 2014-03-09 10:03:52 -05:00
Erik Johnson
c6adbb8401 Normalize package names 2014-03-09 09:51:11 -05:00
Erik Johnson
0628599b1e Normalize package names 2014-03-09 09:51:11 -05:00
Erik Johnson
a516db971f Add normalize_name function
This will pave the way for .x86_64 architectures to be used in pkg
states.
2014-03-09 09:51:11 -05:00
Pedro Algarvio
a91ec264d7 Merge pull request #11070 from terminalmage/11002
Fix file.recurse states with trailing slashes in source
2014-03-09 13:46:47 +00:00
Mathieu Le Marec - Pasquet
c481b00df5 salt.states.archive: multiple improvments
- add a new keep paramater to optionnaly not delete the archive after extraction
- Fix the traceback in case of tar error by correctly returning a state return mapping
- Correctly handle extra tar options if any by adding defauts ones if only needed
- Pep8
- When silently extracting with tar, be sure that the no output stuff won't be
  handled as a failed extraction.
2014-03-09 12:08:46 +00:00
Stanisław Pitucha
701775643b Report errors when preparation fails
Previously salt daemons could fail to start without giving any
reason, when (for example) chown failed during the startup.
This change doesn't fix anything, but at least reports the error
back to the user.
2014-03-09 02:21:14 +00:00
Mathieu Le Marec - Pasquet
01b6b492ef Safebelts for lxc provisionning:
Cloud:
    - Allow to use alternate config prefixes
    - Filter default options

LXC module:
    - Filter default options in create
2014-03-08 22:25:02 +00:00
Mathieu Le Marec - Pasquet
5941827d17 salt.cloud.lxc: Optimized salt client 2014-03-08 22:25:01 +00:00
Erik Johnson
b5fe4ebb09 Fix file.recurse states with trailing slashes in source
Resolves #11002.
2014-03-08 12:03:54 -06:00
Joseph Hall
8f8577e336 Merge pull request #11069 from s0undt3ch/hotfix/minor
Minor corrections
2014-03-08 05:35:33 -07:00
Pedro Algarvio
ba80b2ecfa Show how to use __virtualname__ 2014-03-08 11:03:20 +00:00
Pedro Algarvio
e26d7f1db9 Update doc to reflect proper __virtual__ usage. 2014-03-08 11:03:07 +00:00
Pedro Algarvio
a88720fec9 Compare to None instead.
Which is what's returned by `salt.utils.which` in case the binary is not
found.
2014-03-08 11:02:47 +00:00