Jira (PDB-4944) Set up a primary server using the JSON fact cache

8 views
Skip to first unread message

Austin Blatt (Jira)

unread,
Oct 27, 2020, 11:51:03 AM10/27/20
to puppe...@googlegroups.com
Austin Blatt created an issue
 
PuppetDB / Task PDB-4944
Set up a primary server using the JSON fact cache
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/10/27 8:50 AM
Fix Versions: PDB n/a
Priority: Normal Normal
Reporter: Austin Blatt
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Austin Blatt (Jira)

unread,
Oct 27, 2020, 11:52:03 AM10/27/20
to puppe...@googlegroups.com

Austin Blatt (Jira)

unread,
Oct 27, 2020, 11:55:04 AM10/27/20
to puppe...@googlegroups.com
Austin Blatt updated an issue
Test configuring a puppetserver to use the JSON fact cache so that we know how to have the puppetdb module configure the {{routes.yaml}} file.

Josh Cooper (Jira)

unread,
Nov 3, 2020, 8:16:03 PM11/3/20
to puppe...@googlegroups.com
Josh Cooper commented on Task PDB-4944
 
Re: Set up a primary server using the JSON fact cache

I tested this by running the puppetserver presuite which installs puppetdb using the puppetlabs-puppetdb module. I ssh'ed to the server and edited routes.yaml.erb to use json as the fact terminus, and then ran all of puppet's server beaker tests using the last passing puppetserver#main build. All of the tests passed:

$ env | grep BEAKER
BEAKER_LOADPATH=ruby/puppet/acceptance/lib
BEAKER_OPTIONSFILE=acceptance/config/beaker/options.rb
BEAKER_HELPER=acceptance/lib/helper.rb
BEAKER_PRESUITE=acceptance/suites/pre_suite/foss
BEAKER_TESTSUITE=ruby/puppet/acceptance/tests
BEAKER_POSTSUITE=acceptance/suites/post_suite
BEAKER_TYPE=aio
$ echo $GEM_SOURCE
https://artifactory.delivery.puppetlabs.net/artifactory/api/gems/rubygems/
$ ./acceptance/scripts/generic/testrun.sh -p
...
# edited routes.yaml.erb on puppetserver node and ran puppet agent -t
$ ./acceptance/scripts/generic/testrun.sh -r 
...

Reply all
Reply to author
Forward
0 new messages