run puppet apply from powershell as user data script on aws

asked 2016-05-01 06:09:58 -0500

rafal ammado gravatar image

updated 2016-05-01 06:11:09 -0500

Hi, I ran into this problem a while ago but still cannot find any reliable solution. I pass a pwershell script as user data script when i instantiate a ec2 instance on amazon. it installs puppet quietly, disables puppet agent and so on .. but i'd like to execute puppet apply within it. Anyone came across any solution for that?

i checked out this post but to no avail

any suggestions/

edit retag flag offensive close merge delete


What have you tried so far? what's your current command to run the puppet apply inside powershell and what error are you encountering? Maybe we can identify the problem

maynero gravatar imagemaynero ( 2016-05-03 16:24:59 -0500 )edit