How to configure Puppet Master

0 votes

Hi Guys,

I am new to the puppet. I want to configure puppet master in the AWS EC2 instance. I have launch one Linux instance. How to configure the puppet master node?

Dec 31, 2020 in Puppet by akhtar
• 38,260 points
691 views

1 answer to this question.

0 votes

Hi@akhtar,

To configure the Puppet master in your EC2 instance, you can follow the below steps.

  • Install the puppet server software.

$ rpm -Uvh https://yum.puppetlabs.com/puppet5/puppet5-release-el-7.noarch.rpm
$ yum install puppetserver -y
  • Now set the RAM size.

$ vim /etc/sysconfig/puppetserver

And reduce the amount of allocated RAM for the Puppet server (for example, I specified 512m instead of 2g):

JAVA_ARGS="-Xms512m -Xmx512m"
  • After that set the DNS name of the puppet master in puppet.conf file.

$ vim /etc/puppetlabs/puppet/puppet.conf
      dns_alt_names= private dns of master(same m/c)
  • Next, Update the DNS name in the /etc/hosts file.

$ vim /etc/hosts
    DNS name
  • Now let’s start the Puppet server.

$ sudo systemctl start puppetserver
answered Dec 31, 2020 by MD
• 95,460 points

Related Questions In Puppet

0 votes
1 answer

How can i check the requests of certificates from puppet agent to puppet master?

You could do this by executing the ...READ MORE

answered Jul 24, 2019 in Puppet by Sirajul
• 59,230 points
3,005 views
0 votes
1 answer

How to install and configure r10k in puppet?

In order to get the latest version, ...READ MORE

answered Jul 29, 2019 in Puppet by Sirajul
• 59,230 points
3,693 views
0 votes
1 answer

How to connect my puppet master to PuppetDB?

Working on your Puppet master server(s), follow all ...READ MORE

answered Jul 30, 2019 in Puppet by Sirajul
• 59,230 points
1,854 views
0 votes
1 answer

Puppet: How many slave nodes can i configure with a single puppet master?

Open source Puppet doesn't have any kind ...READ MORE

answered Aug 9, 2019 in Puppet by Sirajul
• 59,230 points
1,043 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,039 views
+2 votes
1 answer
0 votes
1 answer

How to pull the catalog from the puppet master node?

Hi@akhtar, The puppet agent is configured to run ...READ MORE

answered Dec 31, 2020 in Puppet by MD
• 95,460 points
1,402 views
0 votes
1 answer

How to change the Puppet Server memory allocation?

Hi@akhtar, By default, Puppet Server is configured to ...READ MORE

answered Dec 31, 2020 in Puppet by MD
• 95,460 points
3,046 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP