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,180 points
45 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,140 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,050 points
912 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,050 points
1,597 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,050 points
847 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,050 points
283 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,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,140 points
56 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,140 points
85 views