Commit graph

5576 commits

Author SHA1 Message Date
Russell Seymour
002617d751 Updated CHANGELOG
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 14:41:14 +00:00
Russell Seymour
6d420f35ec Merge pull request #16 from chef/russellseymour/credentials
Using Credentials
2017-02-23 14:39:36 +00: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
7812e7d2f6 Updated README
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 14:27:03 +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
b011b71a27 Updated CHANGELOG
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 13:52:07 +00:00
Russell Seymour
2b9513f520 Merge pull request #13 from chef/russellseymour/azure-backend
Fixed loading of internal classes
2017-02-23 13:50:13 +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
9c3cec433f Moved example controls into examples
Added check for the name of hte resource group
#11

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-23 13:32:59 +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
Joseph Benden
1fdecc6680 Add FreeBSD support for ZFS datasets and pools
The following new resources have been added; however, they
presently only support FreeBSD and similar.

* `zfs_dataset`: tests if a named ZFS dataset is present
  and/or has certain properties.
* `zfs_pool`: tests if a named ZFS pool is present and/or
  has certain properties.

Additionally, the `mount` resource has been reworked to
include support for FreeBSD; while the existing class
was renamed to LinuxMountParser.

Unit-tests were added for all of the above.

Signed-off-by: Joseph Benden <joe@benden.us>
2017-02-22 10:29:49 -07:00
Russell Seymour
86a442985e Merge pull request #12 from chef/russellseymour/relative-libs
Updated how internal libraries are located
2017-02-22 15:57:57 +00:00
Russell Seymour
d781cdbf63 Updated how internal librares are located
Closes #11

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-22 15:55:05 +00:00
Chris Redekop
ee6fbe6ac1 Update README to match Rakefile
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-22 14:16:58 +00:00
Chris Redekop
040d5cbffc Rename integration tasks
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-22 14:15:12 +00:00
Russell Seymour
05377a846e Updated changelog
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-21 09:16:31 +00:00
Russell Seymour
8e48f2ac53 Merge pull request #10 from chef/russellseymour/helpers
Reconfigured the way in which Helpers work
2017-02-21 09:13:52 +00:00
Russell Seymour
bb83d3eadb Removed local debugging file
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-20 17:18:14 +00:00
Russell Seymour
b3fc4c07cd Added azure_mgmt_network to Gemfile
Updated RubyDoc annotation on classes and methods

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-20 17:15:40 +00:00
Russell Seymour
c658924b05 Removed need for multiple Azure class helpers
Updated the RubyDoc on Classes and Methods

Fixes #9

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-20 17:02:26 +00:00
Russell Seymour
24e6153c4e Corrected syntax in README
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-20 14:10:53 +00:00
Russell Seymour
f18c22fca5 Added CHANGELOG.md
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-20 14:09:15 +00:00
Russell Seymour
5af16fad70 Merge pull request #8 from chef/russellseymour/resource-groups
Added support for checking Resource Group resources
2017-02-20 14:03:12 +00:00
Russell Seymour
9c9bb27540 Checkstyle Fixes
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-20 13:57:00 +00:00
Russell Seymour
7a6cbff579 Added support for checking the resource group resources
Fixes #6

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-20 13:51:41 +00:00
Russell Seymour
c2bc6dc40d Merge pull request #7 from chef/russellseymour/vm-resources
Added more VM resource controls
2017-02-20 10:08:24 +00:00
Russell Seymour
d5a9a39a00 Updated README for the new resources
Fixes #5

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-20 10:05:40 +00:00
Russell Seymour
c8378d513e Added more resources that can be tested
Updated the example to show how to use them
Refactored the way in which the VM is retrieved

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-20 09:52:28 +00:00
Russell Seymour
b2ce9c3f35 Removing obsolete dummy credential file for Azure 2017-02-17 18:42:35 +00:00
Russell Seymour
0f7a58153a Merge pull request #4 from chef/russellseymour/data-disks
Testing Machine data disks
2017-02-17 18:41:53 +00:00
Russell Seymour
3913e0e661 Modified tests to only run lint checks 2017-02-17 18:40:23 +00:00
Russell Seymour
7c7d557c3a Update .travis.yml
Changed layout so that all ENV vars are set in one build
2017-02-17 18:20:51 +00:00
Russell Seymour
993847c941 Added environment variables to travis.yml
Fixed `inspec check` violations

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-17 17:39:10 +00:00
Russell Seymour
93f5dcd072 Corrected rubocop offences
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-17 17:25:30 +00:00
Russell Seymour
2e55c32ee0 Added travis configuration file
Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-17 17:18:00 +00:00
Russell Seymour
37fc5e6130 Added new resource to test data disks
Fixes #1

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
2017-02-17 17:06:15 +00:00
Viktor Yakovlyev
88f6e5f716 update readme with new integration test behaviour
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 15:28:30 -05:00
Viktor Yakovlyev
5d6900fb86 add cleanup by default on integration tests
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 15:25:27 -05:00
Chris Redekop
6a098470fd Merge pull request #16 from chef/issue13
Fixes #13, return of false values for ec2#exists
2017-02-16 15:05:30 -05:00
Viktor Yakovlyev
bdd86542b0 add negative case test for exists?
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 14:33:21 -05:00
Viktor Yakovlyev
f0773ccc75 fix tests
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 14:27:35 -05:00
Viktor Yakovlyev
46919d7155 Merge branch 'issue13' of https://github.com/chef/inspec-aws into issue13 2017-02-16 14:03:08 -05:00
Viktor Yakovlyev
6ee43f8fb5 Adding check for ec2 instance existence. #13
Signed-off-by: Viktor Yakovlyev <Viktor.Y@D2L.com>
2017-02-16 14:02:44 -05:00
Chris Redekop
3cad7d1e78 #13, Ec2#exists returns false positives
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-16 14:02:44 -05:00
Adam Leff
bf07a58ed7 Merge pull request #1489 from chef/adamleff/doc-fix
Doc fix for SourceReaders::InspecReader
2017-02-15 09:28:39 -05:00
Adam Leff
cb53b8360e Merge pull request #1487 from chef/ap/packages-redhat
Packages resource support for RedHat
2017-02-15 09:27:43 -05:00
Alex Pop
88975bff2a Switch package resource to os.redhat detection and use two spaces as fileds delimited
Signed-off-by: Alex Pop <apop@chef.io>
2017-02-15 11:07:10 +00:00
Alex Pop
fae96f6249 Add RedHat support for packages resource
Fix dpkg trimming of first line
Signed-off-by: Alex Pop <apop@chef.io>
2017-02-15 11:07:10 +00:00