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)
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.