On 07/20/2017 11:29 AM, Alexandre Monteiro wrote:


We are unable to create the recommended pg_trgm indexes due to
the extension not being installed correctly.  Run the command:

    CREATE EXTENSION pg_trgm;

as the database super user on the PuppetDB database to correct
this, then restart PuppetDB.

Can this impact the viewing of my PuppetDB?
Sure -- creating the extension and restarting PuppetDB will cause an index to be created that will make certain types of regular expression queries against facts more performant. I recommend creating it, but it isn't required for the service to operate.

Wyatt





Em quinta-feira, 20 de julho de 2017 15:13:38 UTC-3, Wyatt Alt escreveu:

    That's the behavior I'd expect -- I believe the issue is you're
    just not
    hitting an endpoint. If you're trying to verify that the service
    is up
    and running, the way we typically do that is with

    curl http://localhost:8080/pdb/meta/v1/version
    <http://localhost:8080/pdb/meta/v1/version>

    which should return a blob with a version number.

    Wyatt


    On 07/20/2017 08:28 AM, Alexandre Monteiro wrote:
    > Hi folks,
    >
    > I'm installing PuppetDB on my desktop. All configuration of
    > puppetserver, postgre is OK .. but occurring return 302 in my curl
    > test. I read many forums and it still did not work ..
    > Here is the error:
    >
    > # curl -v http://localhost:8080
    > * About to connect() to localhost port 8080 (#0)
    > *   Trying 127.0.0.1...
    > * Connected to localhost (127.0.0.1) port 8080 (#0)
    > > GET / HTTP/1.1
    > > User-Agent: curl/7.29.0
    > > Host: localhost:8080
    > > Accept: */*
    > >
    > < HTTP/1.1 302 Found
    > < Date: Thu, 20 Jul 2017 15:27:18 GMT
    > < Location: /pdb/dashboard/index.html
    > < Content-Length: 0
    > < Server: Jetty(9.2.z-SNAPSHOT)
    > <
    > * Connection #0 to host localhost left intact
    >
    > Has anyone seen this yet?
    >
    > Tks!!
    >
    > --
    > You received this message because you are subscribed to the Google
    > Groups "Puppet Users" group.
    > To unsubscribe from this group and stop receiving emails from
    it, send
    > an email to puppet-users...@googlegroups.com
    > <mailto:puppet-users+unsubscr...@googlegroups.com>.
    > To view this discussion on the web visit
    >
    
https://groups.google.com/d/msgid/puppet-users/809eaf77-52b8-4451-be17-5556b8416943%40googlegroups.com
    
<https://groups.google.com/d/msgid/puppet-users/809eaf77-52b8-4451-be17-5556b8416943%40googlegroups.com>

    >
    
<https://groups.google.com/d/msgid/puppet-users/809eaf77-52b8-4451-be17-5556b8416943%40googlegroups.com?utm_medium=email&utm_source=footer
    
<https://groups.google.com/d/msgid/puppet-users/809eaf77-52b8-4451-be17-5556b8416943%40googlegroups.com?utm_medium=email&utm_source=footer>>.

    > For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com <mailto:puppet-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/70798eb8-e204-483d-8f3d-ce24c6e4d082%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/70798eb8-e204-483d-8f3d-ce24c6e4d082%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1d77350d-87aa-644a-7cd3-f11298607a82%40puppet.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to