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

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:// 
$ 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,090 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
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
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,090 points
+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
+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,090 points
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,090 points