-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported Platform - windows #98
Comments
Looks like |
@grubernaut my proposal #99 |
I've also created #100 to address enhancement side separately |
Currently we don't have windows support but it should not be difficult to add. |
@ytsarev I tried using #99, unsupported error is gone but it is throwing a different error now. https://gist.github.com/lucky27/27141a1affadcf85d93d @neillturner We use lot of windows modules, so adding windows support would be lot helpful for us. Also I have another question, right now our folder structure is we have manifest folder(with contents of module I want to test) and modules folder with dependencies. I would like to add a site.pp file to all our modules, which has some custom settings like our inhouse chocolatey-nuget repository and other settings. Where should I add this? and how should I use it in the .kitchen.yml file? |
a couple of questions:
I was thinking of creating a minimal windows version that assumes that puppet is install and available on the path. kitchen puppet has 2 parameters: you can see an example in https://github.com/neillturner/puppet_repo |
@neillturner I use chocolatey to install it and yes puppet is available on path. Below is the puppet module structure I want to add, development folder has site.pp which has global settings and manifests/init.pp file contains the current module..how should I add these 2 in .kitchen.yml ? modules folder has the dependency modules. |
closing this in favour of Windows Support #79 |
Hi,
I am trying to use test-kitchen to test windows modules, but getting different errors. Could you please guide me how to fix this, I am new to using test-kitchen.
When I ran
kitchen converge
looks like its trying to install puppet, is there a way to skip that? Since our vagrant boxes are already shipped with puppet. Also would it possible to install puppet on windows using kitchen commands ?This is my .kitchen.yml file..
driver:
name: vagrant
provisioner:
name: puppet_apply
manifests_path: manifests
modules_path: modules
puppet_debug: true
puppet_verbose: true
platforms:
driver:
username: _puppet
password: vagrant
guest: windows
box: win2012r2-virtualbox
transport:
name: ssh
suites:
provisioner:
manifest: site.pp
I tried kitchen converge first fails with
STDERR: Vagrant is configured to generate a random keypair and insert it
onto the guest machine, but it appears Vagrant doesn't know how to do
this with your guest OS. Please disable key insertion by setting
config.ssh.insert_key = false
in the Vagrantfile.I tried to run it again..this time It asks me to enter password, after entering it fails with unsupported platform error. I am using test-kitchen 1.4.2 version, kitchen-puppet 1.0.34 version, kitchen-vagrant 0.19.0.
Below are the detailed errors,
First
https://gist.github.com/lucky27/8a819668fc6e835700b6
https://gist.github.com/lucky27/4188275ac66679466878
The text was updated successfully, but these errors were encountered: