Erik Johnson
ccc7665c42
Tweak docs for consistency and correctness
...
The grains example would traceback if the grain was not defined, so I
have replaced this example with a better one. Also made a few changes
for consistency in formatting, and made a couple terms into links to the
relevant documentation.
2014-02-23 10:19:10 -08:00
Joseph Hall
a5544fd3a8
Merge pull request #10661 from bretep/filter-instances-to-destroy-when-specifying-a-profile
...
Ability to destroy instances matching a profile
2014-02-23 07:22:50 -07:00
Seth House
3ae5f93efe
Merge pull request #10676 from dwfreed/url-fixes
...
Fix some broken docs URLs
2014-02-22 23:13:23 -08:00
Erik Johnson
08eb99c45b
Merge pull request #10667 from endyman/fix_for_keydeploy
...
fix for broken salt-ssh key_deploy
2014-02-22 20:24:44 -08:00
Joseph Hall
d6035ae95c
Merge pull request #10675 from cvrebert/develop
...
copyedit cron docs somewhat
2014-02-22 20:58:32 -07:00
Chris Rebert
f404410dbc
copyedit cron docs somewhat
2014-02-22 19:56:07 -08:00
Seth House
d0dc53b54d
Added missing .0 to end of the verion in the docs conf
2014-02-22 20:27:44 -06:00
Joseph Hall
1dfe6f8b60
Merge pull request #10674 from gtmanfred/nova
...
[salt] nova.volume_show needs to have name
2014-02-22 19:26:42 -07:00
Thomas S Hatch
83301be0eb
Merge pull request #10648 from makinacorpus/doccron
...
add some version infos for cron
2014-02-22 18:08:45 -08:00
Daniel Wallace
ba9015b642
[salt] nova.volume_show needs to have name
...
instead of volume_name
2014-02-22 19:33:14 -06:00
Pedro Algarvio
a51784e877
Merge pull request #10673 from s0undt3ch/develop
...
Lint Fixes
2014-02-23 00:37:24 +00:00
Pedro Algarvio
147f6086ae
Remove duplicate method
2014-02-23 00:35:31 +00:00
Pedro Algarvio
7daa4eba7f
Make pyling skip the file
2014-02-23 00:34:22 +00:00
Douglas Freed
3f860dae64
Fix some broken docs URLs
...
These URLs were probably broken by some docs restructuring, so fix them
to point to the right place.
2014-02-23 00:31:58 +00:00
Pedro Algarvio
1f0754dc0e
Merge pull request #10671 from gtmanfred/nova
...
Remove extraneous volume_delete
2014-02-23 00:31:10 +00:00
Daniel Wallace
1448ce31ff
Remove extraneous volume_delete
...
Fixing pylint errors
Discovered in #10661
2014-02-22 16:32:11 -06:00
Samuel Smith
e98347a668
Merge pull request #10670 from SmithSamuelM/sam_raet_9
...
Sam raet 9 Added name attributed to devices and .dids to stack so can reverse lookup did by name
2014-02-22 11:42:35 -07:00
Samuel M Smith
6cf27d2be5
Merge remote-tracking branch 'upstream/develop' into sam_raet_9
2014-02-22 11:41:25 -07:00
Samuel M Smith
ddb10db368
removed print
...
updated test
2014-02-22 11:40:40 -07:00
Samuel M Smith
735da8846b
Converted debug prints to console.verbose
2014-02-22 11:36:30 -07:00
Samuel M Smith
8e113ad642
Devices now have .name attribute
...
Stack keeps list of .dids by name so can look up did for a given device by name
stack.dids[name] returns device did
device = stack.devices[stack.dids[name]]
2014-02-22 11:26:46 -07:00
Pedro Algarvio
1354c212ee
Merge pull request #10659 from rallytime/mac_user_test
...
Even more mac_user tests!
2014-02-22 17:21:57 +00:00
Samuel M Smith
4678553e25
Changed Timer to StoreTimer so will be easier to debug in ioflo
...
Changes name of message queue since UdpStack don't need udp in incoming outgoing msg queue name
since not actually udp message in those queues
2014-02-22 10:11:25 -07:00
Pedro Algarvio
b2f2c963fb
Merge pull request #10668 from kuerzn/fixes
...
Fixed Bug in pacman Module
2014-02-22 14:36:01 +00:00
Pedro Algarvio
19b322b3bd
Merge pull request #10655 from aboe76/develop
...
Updated suse rpm specfiles for 2014-1 release
2014-02-22 14:25:00 +00:00
Joseph Hall
fbeb717835
Merge pull request #10663 from borgstrom/pyobjects_nomenclature
...
Change the StateFactory naming to follow conventional CamelCase (pyobjects)
2014-02-22 07:03:43 -07:00
johannes@scriabin
993443e994
Fixed Bug in pacman Module
2014-02-22 14:29:52 +01:00
Nils Domrose
7b36bfaedb
fix for broken salt-ssh key_deploy
2014-02-22 14:00:09 +01:00
Joseph Hall
f855db5d9b
Merge pull request #10664 from terminalmage/nova
...
Fixes for nova module
2014-02-21 19:15:30 -07:00
Samuel Smith
25b0c5fdf1
Merge pull request #10665 from SmithSamuelM/sam_raet_8
...
Sam raet 8
2014-02-21 19:09:06 -07:00
Samuel M Smith
0b7ad3edbc
Merge remote-tracking branch 'upstream/develop' into sam_raet_8
...
Conflicts:
salt/transport/road/raet/test/test_packeting.py
2014-02-21 19:07:54 -07:00
Samuel M Smith
a43c07f52d
removed now obsolete bl and cl fields from header
2014-02-21 19:05:17 -07:00
Samuel M Smith
d557f6ee29
Finished refactor of segmentation
2014-02-21 18:57:09 -07:00
Erik Johnson
1b9713e409
Fixes for nova module
...
Fixed a NameError and potential KeyError. Also added versionadded RST
directives where appropriate.
2014-02-21 17:18:31 -08:00
Erik Johnson
4f54f1a972
Merge pull request #10662 from gtmanfred/nova
...
[salt] begin nova states
2014-02-21 17:14:30 -08:00
Evan Borgstrom
0bf13082f3
Change the StateFactory naming to follow conventional CamelCase
...
Previously states like "postgres_user" ended up being named
Postgres_user, which isn't very Pythonic. Now it becomes PostgresUser,
which is much nicer.
2014-02-21 19:43:49 -05:00
Samuel M Smith
b52edc89da
Some refactoring of segmentation
2014-02-21 17:41:10 -07:00
Bret Palsson
8392a646c6
Fix pylint error No space allowed around keyword
...
```shell
00:09:50 + pylint --rcfile=/var/lib/jenkins/workspace/salt-pr-lint/.testing.pylintrc salt/
00:13:45 ************* Module salt.cloud.cli
00:13:45 salt/cloud/cli.py:241: [E8251(unexpected-spaces-around-keyword-/-parameter-equals), ] PEP8 E251: unexpected spaces around keyword / parameter equals
00:13:45 salt/cloud/cli.py:241: [E8251(unexpected-spaces-around-keyword-/-parameter-equals), ] PEP8 E251: unexpected spaces around keyword / parameter equals
00:13:45 salt/cloud/cli.py:241: [C0326(bad-whitespace), ] No space allowed around keyword argument assignment
00:13:45 profile = self.options.profile
```
2014-02-21 17:40:44 -07:00
Daniel Wallace
a55986030c
[salt] begin nova states
...
Starting with volumes existing, because that is the only one I care
about right this second.
2014-02-21 18:37:47 -06:00
Bret Palsson
4d4c0cb62a
Ability to destroy instances matching a profile
...
There exists times when there may be multiple providers for a single
region. For example in ec2 you might have a provider for each region.
When salt-cloud runs get_running_by_names it will return runnung
instances for each provider. The ec2 provider returns all running
instances for the entire region, thus the same instance will return
for each avaliability zone. Once salt-cloud destroys this instance
it will thrown an exception when it tries again.
The logic is, if you can specify a profile when creating, why not
when destroying?
Example:
```bash
root@localhost:~# salt-cloud example1234 -d
[INFO ] salt-cloud starting
The following virtual machines are set to be destroyed:
us-west-2b-devops:
ec2:
example1234
us-west-2b-dev:
ec2:
example1234
us-west-2a-dev:
ec2:
example1234
us-west-2a-devops:
ec2:
example1234
```
After this fix:
```bash
root@localhost:~# salt-cloud -p usw2a-dev-web example1234 -d
[INFO ] salt-cloud starting
The following virtual machines are set to be destroyed:
us-west-2a-dev:
ec2:
example1234
```
2014-02-21 16:55:56 -07:00
rallytime
4e1c73f9e9
Even more mac_user tests!
2014-02-21 16:11:09 -07:00
Joseph Hall
17034b79d5
Merge pull request #10652 from gtmanfred/nova
...
[salt] add most of the nova volume functions
2014-02-21 15:42:27 -07:00
Niels Abspoel
f252aa2f29
Updated suse rpm specfiles for 2014-1 release
...
removed symlinks to systemd service files now pypi tarball
includes pkg folder. Updated spec file to match these sources.
2014-02-21 22:22:20 +01:00
Daniel Wallace
7ded2d6825
[salt] document private functions
...
_server_by_name and _volume_get
2014-02-21 15:18:43 -06:00
Daniel Wallace
a9455fd543
[salt] add nove.volume_delete
2014-02-21 15:16:41 -06:00
Daniel Wallace
a888c2c990
[salt] add nova.volume_attach and detach
2014-02-21 14:57:31 -06:00
Daniel Wallace
b8ec69e768
[salt] add volume commands to nova
2014-02-21 14:57:31 -06:00
Mike Place
64f07ebc38
Merge pull request #10651 from rallytime/mac_user_test
...
more mac_user tests
2014-02-21 13:56:11 -07:00
rallytime
4a5bbd0c1d
more mac_user tests
2014-02-21 13:49:17 -07:00
C. R. Oldham
571eeb6a8a
Merge pull request #10650 from cro/pylint_fixes_0221
...
Pylint fixes.
2014-02-21 13:29:48 -07:00