Skip to content
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

Windows workstation support #20

Open
gmiranda23 opened this issue Jul 29, 2015 · 0 comments
Open

Windows workstation support #20

gmiranda23 opened this issue Jul 29, 2015 · 0 comments

Comments

@gmiranda23
Copy link

Add the ability to build windows workstations for students. Adding content like so

 machine "#{name}-workstation#{i}" do
   machine_options :bootstrap_options =>{
    :image_id => "ami-f70cdd9c",
    :security_group_ids => "training-#{name}-win-workstation-sg"
   }, :is_windows => true
   recipe 'chef_workstation::windows_workstation'
   tag 'workstation'
 end

Produces this error

================================================================================
Error executing action `converge` on resource 'machine_batch[default]'
================================================================================

SocketError
-----------
getaddrinfo: nodename nor servname provided, or not known

Resource Declaration:
---------------------
# In /Users/gmiranda/Documents/Development/chef_classroom/local-mode-cache/cache/cookbooks/chef_classroom/recipes/deploy_windows_workstations.rb

 51: machine_batch do
 52:   1.upto(count) do |i|
 53:     machine "#{name}-workstation#{i}" do
 54:       machine_options :bootstrap_options =>{
 55:         :image_id => "ami-f70cdd9c",
 56:         :security_group_ids => "training-#{name}-win-workstation-sg"
 57:       }, :is_windows => true
 58:      recipe 'chef_workstation::windows_workstation'
 59:       tag 'workstation'
 60:      end
 61:   end
 62: end
 63:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant