eramoto
53a53820cf
Mitigate trivial warning output on test ( #2872 )
...
* Mitigate trivial warning on test by initializing
Also fixes passing a ambiguous argument.
* Mitigate trivial warning by removing redundant method
Signed-off-by: ERAMOTO Masaya <eramoto.masaya@jp.fujitsu.com>
2018-03-28 11:22:01 -04:00
Clinton Wolfe
4f341acfbc
Catch cloud exceptions and document connection info ( #2636 )
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-14 14:15:20 -05:00
Clinton Wolfe
ded1394e8b
Add resource support declarations for Azure
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-02-09 10:22:56 -05:00
Jared Quick
42779e91a7
Setup azure resources into inspec.
...
Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-07 16:05:58 -05:00
Russell Seymour
cdbe8c1016
Create azure_generic_resource
...
* Rewrite of Inspec Azure Resource pack to allow the testing of _any_ value Azure reosurce.
Closes #36
Closes #37
This fixes #56 so that it works with the latest version of the SDK. In fact it will only work to version >= 0.15
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-12-12 13:20:22 -05:00
Russell Seymour
a2289bfcbe
Updated so that the credentials file is only interogated if it exists ( #42 )
...
* Updated so that the credentials file is only interogated if it exists
Fixes #39
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
* Made change to set credentials to nil as requested
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-10-09 12:54:42 +02:00
Seth Thoenen
fc43e87ee2
Fix issue where tests would fail if public DNS settings are not set ( #38 )
...
Signed-off-by: Seth Thoenen <seththoenen@gmail.com>
2017-10-08 23:08:23 +02:00
Christoph Hartmann
c7adc529b2
deactivate rubocop testing for unspecific exception handling ( #50 )
...
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-10-08 22:56:52 +02:00
Daniel Sanabria
b1254926cd
Using newer arm sdk version ( #44 )
...
Some object methods have been deprecated in v0.11.0 of the arm sdks.
This commit fixes the get_resources method by using the new resources
object instance method. We are also updating the Gemfile accordingly.
Signed-off-by: sanabriad <sanabria.d@gmail.com>
2017-10-08 22:43:46 +02:00
Russell Seymour
ff4a1ba200
Renamed public ip address test
...
Removed debugging flag
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-07 08:15:50 +00:00
Russell Seymour
de1b7134ef
Added new resources
...
Allows testing of network configurations
Closes #2
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-02 14:01:54 +00:00
Russell Seymour
47cda053fb
Renamed matcher to admin_username
...
Closes #30
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-02 11:17:00 +00:00
Russell Seymour
40888db8c5
Added support for Managed Disks
...
Updated README and documentation
Closes #25
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-02 11:10:41 +00:00
Russell Seymour
7842d37fb3
Renamed azure_rg resource
...
Closes #25
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-01 17:32:17 +00:00
Russell Seymour
6f57529a44
Renamed the host attribute on azure_virtual_machine_resource
...
Updated README file
Closes #26
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-01 17:20:59 +00:00
Russell Seymour
a4e0df698a
Renamed resources for readability
...
Closes #27
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-01 17:14:09 +00:00
Russell Seymour
ec072cadd3
Added integration tests for current resources
...
Closes #19
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-03-01 16:00:19 +01:00
Russell Seymour
fe2cf1dc41
Fixed linting issues
...
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 14:34:41 +00:00
Russell Seymour
871efeee96
Subscription number can be used to select the one to use
...
Closes #15
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 14:24:18 +00:00
Russell Seymour
7699ffb6e2
Specific credentials can now be used
...
If not specified the first one in the credentials file is used
Fixes #14
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 14:13:32 +00:00
Russell Seymour
9108c5a237
Fixed linting issue
...
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 13:46:42 +00:00
Russell Seymour
2b7c72c536
Do not get vm if the name has not been specified
...
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 12:59:22 +00:00
Russell Seymour
983900a135
Moved all libraries into one file
...
#11
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 12:46:15 +00:00