Commit graph

4845 commits

Author SHA1 Message Date
Christoph Hartmann
29fd984a97 remove .kitchen logs
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2017-02-27 14:45:19 +01:00
Basil Peace
4bc1c1df4e
doc: Fix inspec.yml example with several supports settings
Mapping keys should be unique according to YAML specification.
Note that some implementations don't enforce it, but silenty
overwrite previous declaration. See e.g.
https://github.com/ruby/psych/issues/79

Signed-off-by: Basil Peace <grv87@yandex.ru>
2017-02-26 18:09:54 +03:00
Basil Peace
2b4f7ea5c9
doc: Fix problem with link to plugin_kitchen_inspec 2017-02-26 17:25:39 +03:00
John Kerry
e0ae7eb161 correcting a typo, anonymnous -> anonymous
Signed-off-by: John Kerry <john@kerryhouse.net>
2017-02-25 00:44:23 -05:00
jkerry
a1f0d32d6b adding gitignore entries for the tar.gz files that result from the functional tests
Signed-off-by: jkerry <john@kerryhouse.net>
2017-02-25 00:44:23 -05:00
jkerry
927a12c574 resolving old junit unit tests with the new format. Adding a skipped test node as a result 2017-02-25 00:44:23 -05:00
John Kerry
1f92268aa2 Converting the junit reporter to use nokogiri on top of the json reporter output hash 2017-02-25 00:44:23 -05:00
Adam Leff
91396d2029 Merge pull request #1488 from chef/adamleff/fix-multiple-flat-profiles
Generate default profile names, fix bug when using multiple flat profiles
2017-02-24 16:59:31 -05:00
Andrey Aleksandrov
70c33eb606
Remove os.family from kernel_module
Signed-off-by: Andrey Aleksandrov <postgred@gmail.com>
2017-02-24 23:30:00 +03:00
Christoph Hartmann
26dc4e7356 Merge pull request #1510 from trickyearlobe/fix_windows_output_formatting
Fix formatting and colors on Windows
2017-02-24 16:36:44 +01:00
Dominik Richter
6511a679a5 Merge pull request #1505 from chef/adamleff/add-habitat-archiver
Adding a Habitat profile artifact creator
2017-02-24 16:28:01 +01:00
Andrey Aleksandrov
82cf2baadd
fix syntax
Signed-off-by: Andrey Aleksandrov <postgred@gmail.com>
2017-02-24 16:55:20 +03:00
Andrey Aleksandrov
8fb6bd5c66
Fix kernel_module for centos/redhat
Signed-off-by: Andrey Aleksandrov <postgred@gmail.com>
2017-02-24 14:32:57 +03:00
Carl Johnston
3bdf1563e8 Added unit tests for apache_conf inclusion of symlinked files.
Same test added to both Ubuntu and Centos for consistency.

Signed-off-by: Carl Johnston <carldjohnston@gmail.com>
2017-02-24 16:13:22 +11:00
Carl Johnston
efa1b951ab Merge remote-tracking branch 'origin/master' into apache_conf-symlinks 2017-02-24 16:07:02 +11:00
Richard Nixon
ee87dfb405 Fix formatting and colors on Windows
Fixes issue #1508

* Windows terminals don't support extended ANSI colours. Use basic + intensity
* Windows terminals don't support UTF-8 well so don't use special characters

Other OS'es get what they had before.

Signed-off-by: Richard Nixon <richard.nixon@btinternet.com>
2017-02-24 01:34:49 +00:00
Adam Leff
0342cca62e Adding a Habitat profile artifact creator
Two new commands have been created:

 * inspec habitat profile create /path/to/profile
 * inspec habitat profile upload /path/to/profile

The `create` command creates a Habitat artifact that contains the contents
of the Habitat profile found at the provided path. This will be used later
in some Habitat + InSpec integrations.

The `upload` command does the same create process but then uploads the
resulting artifact to the Habitat Depot.

Signed-off-by: Adam Leff <adam@leff.co>
2017-02-23 18:25:22 -05:00
hannah-radish
9e513621fe HM - EmergencyFontFix
Allfont API unreachable so site crash. Removed font API till tomorrow
and added Helvetica, san-serif
2017-02-23 14:55:53 -08:00
Chris Redekop
33d4b196cc Cleanup the cleanup task
Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
2017-02-23 17:41:36 +00:00
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