Ask Your Question

amzn-2017.03-x86_64 in Puppet Enterprise

asked 2017-08-10 15:50:03 -0600

jamie.wells gravatar image

Unable to install puppet on amazon linux. However, documents say its possible in newest version of puppet enterprise using redhat rpm. Does that mean to install puppet agent somehow through the rpm process, and what rpm should I use and which rpm repository? thanks.

edit retag flag offensive close merge delete


What command did you run to attempt the install? What error message was outputted?

Red Cricket gravatar imageRed Cricket ( 2017-08-13 13:10:15 -0600 )edit

I ran this command. curl -k | sudo bash returned this error: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2

jamie.wells gravatar imagejamie.wells ( 2017-08-14 08:54:49 -0600 )edit

I cant post the script, character limit. But, its thescript that the puppetmaster provides.

jamie.wells gravatar imagejamie.wells ( 2017-08-14 08:55:11 -0600 )edit

That looks like the right way to install the puppet agent. No need to post the script. Did you verify that the script got downloaded by executing: `curl -k` then `ls -l install.bash`?

Red Cricket gravatar imageRed Cricket ( 2017-08-15 21:37:24 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-08-22 22:55:56 -0600

updated 2017-08-23 19:24:41 -0600

Hi Jamie,

I'm able to install Puppet agent. Please add following script into your puppet agent node use data:

yum update -y
echo "$localIp $instanceId $hostname">>/etc/hosts
#update hostfile include puppetmaster IP
echo "172.3x.x.x ip-172-3x-2x-xxx ip-172-3x-xx-xxx.domain-staging.vpc">>/etc/hosts
yum install puppet3 -y
#update puppet.conf on the agent node
echo -e "[main]\n" "server = ip-172-3x-x-1xx.domain-staging.local\n" "certname = $hostname">/etc/puppet/puppet.conf
echo "environment = dev">>/etc/puppet/puppet.conf
puppet agent -t

Good luck!


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-08-10 15:50:03 -0600

Seen: 184 times

Last updated: Aug 23 '17