puppetlabs-toy-chest / puppetlabs-aws

Puppet module for managing AWS resources to build out infrastructure
Apache License 2.0
188 stars 216 forks source link

user_data script on AWS Windows Instance #504

Open tarunmangla07 opened 6 years ago

tarunmangla07 commented 6 years ago

I am trying to pass a user_data script with my puppet launch code to deploy an EC2 instance and send a powershell script to load the puppet agent at the time of ec2 instance creation. But nothing happens on my windows instance after launch. Beloware the code . I have stored the windows-pe.erb file inside /etc/puppetlabs/code/environments/production/modules/aws/templates/windows-pe.erb' i am giving the manifests as user_data =>template(aws/windows-pe.erb)

Can you suggest me where i am going wrong.