Error Puppet not found when trying to run puppet config command

0 votes

I am trying to configure dns-alt-names, so on running the following command on my ubuntu puppet master where I already installed puppet server,

/opt/puppetlabs/bin/puppet config set dns_alt_names 'puppet,puppet.example.com' --section main
Error: Puppet not found

How should i resolve this? Please help.

Sep 18, 2019 in Puppet by Karan
• 19,610 points
4,262 views

1 answer to this question.

0 votes

This is because you have not added puppet to your path

You will need to do it before anything else.

Execute the following command on your session:

export PATH=${PATH}:/opt/puppet/bin

You should be all set from there.

answered Sep 18, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

Puppet: Error when trying to use many manifests

Your kp::testfile is a defined type, not ...READ MORE

answered Aug 7, 2019 in Puppet by Sirajul
• 59,230 points
502 views
0 votes
1 answer

Error while trying to instal mssql tools using puppet

When you use puppet, you don't use ...READ MORE

answered Feb 25, 2019 in Puppet by Nandita
1,511 views
0 votes
1 answer

Error: Ruby run error after connecting puppet apply to PuppetDB.

If Puppet apply is configured incorrectly, this error is ...READ MORE

answered Jul 31, 2019 in Puppet by Sirajul
• 59,230 points
565 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
3,458 views
+2 votes
1 answer
0 votes
1 answer

Puppet: "puppet command not found" while trying to install puppetDB

This might probably because your puppet installation ...READ MORE

answered Aug 27, 2019 in Puppet by Sirajul
• 59,230 points
5,303 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