Commit Graph

7688 Commits

Author SHA1 Message Date
Joseph Hall
62ff45c745 Technically, nova is using keystone authentication here 2012-11-05 14:21:59 -07:00
Denis Generalov
9d80606989 fix string formatting 2012-11-06 01:04:24 +04:00
Thomas S Hatch
c1b8b0b53d Merge pull request #2453 from techhat/master
Adding basic openstack nova module
2012-11-05 11:39:56 -08:00
Thomas S Hatch
c71335a40b Merge pull request #2452 from giantlock/develop
bring interface of freebsdservice in order according modules/service.py
2012-11-05 11:35:55 -08:00
Thomas S Hatch
87cefbbb99 Merge pull request #2451 from twinshadow/patch-2
Update salt/modules/network.py: get all interfaces for the `ip` command
2012-11-05 11:31:40 -08:00
Joseph Hall
b5e7983905 Adding basic openstack nova module 2012-11-05 11:04:38 -07:00
Denis Generalov
28be897847 *) add functions enable(name), disable(name), enabled(name), disabled(name) according common service interface.
*) fix pep8 typo
2012-11-05 21:06:04 +04:00
Anthony Cornehl
ca41f7081e Update salt/modules/network.py
The `ip address` command does not list interfaces that are not up/configured. It now gets the output from the `ip link` command as well for those interfaces.

Before:
<pre>
{'brynhilde': {'eth1': {'hwaddr': '00:30:48:34:2a:cb',
                        'inet': [{'address': '10.7.161.4',
                                  'broadcast': '10.7.175.255',
                                  'label': 'eth1',
                                  'netmask': '255.255.240.0'}],
                        'inet6': [{'address': '2620:0:170:9900:230:48ff:fe34:2acb',
                                   'prefixlen': '64'},
                                  {'address': 'fe80::230:48ff:fe34:2acb',
                                   'prefixlen': '64'}],
                        'up': True},
               'eth4': {'hwaddr': '00:02:c9:32:06:30',
                        'inet': [{'address': '75.75.11.23',
                                  'broadcast': '75.75.11.255',
                                  'label': 'eth4',
                                  'netmask': '255.255.255.0'}],
                        'inet6': [{'address': 'fe80::202:c9ff:fe32:630',
                                   'prefixlen': '64'}],
                        'up': True},
               'lo': {'hwaddr': '00:00:00:00:00:00',
                      'inet': [{'address': '127.0.0.1',
                                'broadcast': None,
                                'label': 'lo',
                                'netmask': '255.0.0.0'}],
                      'inet6': [{'address': '::1', 'prefixlen': '128'}],
                      'up': True}}}
</pre>

After:
<pre>
{'brynhilde': {'eth0': {'hwaddr': '00:30:48:34:2a:ca', 'up': False},
               'eth1': {'hwaddr': '00:30:48:34:2a:cb',
                        'inet': [{'address': '10.7.161.4',
                                  'broadcast': '10.7.175.255',
                                  'label': 'eth1',
                                  'netmask': '255.255.240.0'}],
                        'inet6': [{'address': '2620:0:170:9900:230:48ff:fe34:2acb',
                                   'prefixlen': '64'},
                                  {'address': 'fe80::230:48ff:fe34:2acb',
                                   'prefixlen': '64'}],
                        'up': True},
               'eth2': {'hwaddr': '00:07:43:13:48:00', 'up': False},
               'eth3': {'hwaddr': '00:07:43:13:48:08', 'up': False},
               'eth4': {'hwaddr': '00:02:c9:32:06:30',
                        'inet': [{'address': '75.75.11.23',
                                  'broadcast': '75.75.11.255',
                                  'label': 'eth4',
                                  'netmask': '255.255.255.0'}],
                        'inet6': [{'address': 'fe80::202:c9ff:fe32:630',
                                   'prefixlen': '64'}],
                        'up': True},
               'lo': {'hwaddr': '00:00:00:00:00:00', 'up': True}}}
</pre>
2012-11-05 09:03:22 -08:00
Thomas S Hatch
8578c69df4 Merge pull request #2450 from giantlock/develop
Module for viewing and modifying sysctl parameters for FreeBSD
2012-11-05 08:46:33 -08:00
Thomas S Hatch
7e3319cff5 minor spelling fix in doc string 2012-11-05 09:38:37 -07:00
Denis Generalov
d2986cb1e8 Module for viewing and modifying sysctl parameters for FreeBSD 2012-11-05 19:49:18 +04:00
Joseph Hall
763f8098dd Merge pull request #2447 from danielliang/develop
fix two typos in pip module: --extra-index-url, --download-cache
2012-11-05 05:41:32 -08:00
Pedro Algarvio
667f3f0fcb Travis-CI should build on all branches. 2012-11-05 13:32:52 +00:00
Hung-te Liang
fecf0e4d2a fix two typos in pip module: --extra-index-url, --download-cache 2012-11-05 17:38:36 +08:00
Thomas S Hatch
0ec74c8a5c Merge pull request #2443 from petersanchez/develop
Use proper exception when checking for user information at salt-master startup
2012-11-04 20:36:30 -08:00
Thomas S Hatch
096fe2cef0 Tell the master to only keep the external job cache if it is turned on 2012-11-04 21:08:18 -07:00
Thomas S Hatch
5f49a49a67 Instruct ext_job_cache to initiate the returner on function calls 2012-11-04 21:08:18 -07:00
Thomas S Hatch
f6d7d9546c Add a space to jobs runner between functions 2012-11-04 21:08:18 -07:00
Thomas S Hatch
65384a8440 brush up returner module to work, tested with the redis returner 2012-11-04 21:08:17 -07:00
Thomas S Hatch
7424d3379b Add returner module to gather return data from a returner database 2012-11-04 21:08:17 -07:00
Thomas S Hatch
4b3fc92b5d Add redis get_jid and get)fun returner functions 2012-11-04 21:08:17 -07:00
Thomas S Hatch
4d886d6583 update print statements to be functions 2012-11-04 21:08:17 -07:00
Thomas S Hatch
c948ba5beb kill stray print statement 2012-11-04 21:08:17 -07:00
Thomas S Hatch
5b0cf5e3b9 fix string to be .format 2012-11-04 21:08:17 -07:00
Thomas S Hatch
9c9e95c6eb Fix more exception syntax 2012-11-04 21:08:17 -07:00
Thomas S Hatch
9f4665a00a fix another exception syntax in the pip state 2012-11-04 21:08:17 -07:00
Thomas S Hatch
dc35881213 Found another in the git state 2012-11-04 21:08:17 -07:00
Thomas S Hatch
0035820c06 Fix exception handle in git state 2012-11-04 21:08:17 -07:00
Thomas S Hatch
b23ac03570 Another exception update 2012-11-04 21:08:17 -07:00
Thomas S Hatch
b0dee7ab2d Another commit error 2012-11-04 21:08:16 -07:00
Thomas S Hatch
0d8ed64963 update syntax to exception check 2012-11-04 21:08:16 -07:00
Thomas S Hatch
7d91473fe1 Add a .format string to pillar_ldap 2012-11-04 21:08:16 -07:00
Thomas S Hatch
38e6a6ca79 Add mongo future returner 2012-11-04 21:08:16 -07:00
Thomas S Hatch
d25fca72ab change the redis returner to be called just redis 2012-11-04 21:08:16 -07:00
Thomas S Hatch
d1bcfe73ec Merge pull request #2446 from archtaku/yumpkg5_file
Add ability to install pkg from file (yumpkg5)
2012-11-04 19:33:03 -08:00
Thomas S Hatch
3de39388d6 Merge pull request #2445 from twinshadow/state-svn
Add the state file for Subversion
2012-11-04 19:30:12 -08:00
Erik Johnson
e42b9d27ad Add ability to install pkg from file (yumpkg5) 2012-11-04 21:22:07 -06:00
Anthony Cornehl
f943850ca0 Final pass for lint 2012-11-04 19:03:41 -08:00
Anthony Cornehl
8b19defab3 Updated state based on testing 2012-11-04 18:44:32 -08:00
Thomas S Hatch
995b068481 Merge pull request #2444 from giantlock/develop
virtualization detection fix for freebsd/jail
2012-11-04 15:21:41 -08:00
Anthony Cornehl
63d5b50229 Stub out new state 2012-11-04 14:56:10 -08:00
Anthony Cornehl
2cc001d5de Adding the state for SVN 2012-11-04 14:45:16 -08:00
Denis Generalov
dbd14623c7 sysctl -n security.jail.jailed always return non empty string and we should evaluate this string 2012-11-05 02:31:13 +04:00
David Boucha
cf8edd88b1 Merge pull request #2442 from petersanchez/8254405f81dca442ef0982a5055a7150d5d6bcae
Fix of vague permissions failure error when starting salt-master
2012-11-04 13:38:19 -08:00
Peter Sanchez
a71b927a96 Use IndexError instead of KeyError for pwd.struct_passwd object. #2441 2012-11-04 12:20:04 -08:00
Peter Sanchez
8254405f81 Exception switch to OSError. More specific error message upon PID file change ownership failure. #2440 2012-11-04 12:16:18 -08:00
Thomas S Hatch
04545815ef Merge pull request #2439 from s0undt3ch/develop
Fix tests.
2012-11-04 09:29:02 -08:00
Thomas S Hatch
fe4387c2a5 Merge pull request #2438 from twinshadow/module-svn
Add a module for SVN
2012-11-04 09:27:23 -08:00
Pedro Algarvio
4d38754f38 Uncomment required line. 2012-11-04 12:22:46 +00:00
Pedro Algarvio
8fa59505c7 Have travis-ci install rabbitmq-server to run tests for it. 2012-11-04 11:54:21 +00:00