Is it possible to run PuppetDB directly from source without installing it

0 votes
Is there a way where I can run the PuppetDB directly from source without having to install it? This is because my system doesn't support installation from official packages that are available. What's the way forward in this case?
Jul 31, 2019 in Puppet by Sam
• 6,260 points
389 views

1 answer to this question.

0 votes

To run PuppetDB directly from source:

  • Run the following commands:

$ mkdir -p ~/git && cd ~/git 
$ git clone git://github.com/puppetlabs/puppetdb 
$ cd puppetdb  # Download the dependencies 
$ lein deps
  • This will let you develop on PuppetDB and see your changes by simply editing the code and restarting the server. It will not create an init script or default configuration directory. 

  • To start the PuppetDB service when running from source, you will need to run the following:

$ lein run services -c /path/to/config.ini
  • A sample config file is provided in the root of the source repo: config.sample.ini. You can also provide a conf.d-style directory instead of a flat config file.

  • Next, you will need to setup some test users to run the tests locally.

answered Jul 31, 2019 by Sirajul
• 59,230 points

Related Questions In Puppet

0 votes
1 answer

Is it possible to install puppet agent in a docker container on linux?

Hey @Janice, this is pretty simple. Create ...READ MORE

answered Mar 12, 2019 in Puppet by Jason
1,328 views
0 votes
1 answer

How do I install Puppet directly from the source?

Hey @Laksha,  First, install the Puppet tarball from ...READ MORE

answered Mar 8, 2019 in Puppet by Yesha
522 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
581 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,503 views
+2 votes
1 answer
0 votes
1 answer

What is PSON in puppet and how is it different from JSON?

PSON is a variant of JSON which ...READ MORE

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

Error: PuppetDB is running but Puppet Master can't reach it.

If PuppetDB is running but the Puppet ...READ MORE

answered Jul 31, 2019 in Puppet by Sirajul
• 59,230 points
931 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