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 in Puppet by Karan
• 3,630 points
21 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 by Sirajul
• 30,540 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 in Puppet by Sirajul
• 30,540 points
23 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 in Puppet by Nandita
114 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 in Puppet by Sirajul
• 30,540 points
24 views
+13 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,380 points
180 views
0 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 in Puppet by Sirajul
• 30,540 points
22 views