Files
backstage/plugins/puppetdb
Tomas Dabasinskas 7f375bd8d2 Add screenshot
Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
2023-04-13 09:05:19 +03:00
..
2023-04-13 09:05:13 +03:00
2023-04-13 09:05:11 +03:00
2023-04-13 09:05:17 +03:00
2023-04-13 09:05:02 +03:00
2023-04-13 09:05:16 +03:00
2023-04-13 09:05:13 +03:00
2023-04-13 09:05:19 +03:00

PuppetDB Plugin

A frontend plugin to integrate PuppetDB with Backstage. When combined with the catalog-backend-module-puppetdb plugin, this frontend plugin allows viewing PuppetDB reports, including their logs and events, of Backstage resource entities.

Reports list

Getting started

To get started, you need a running instance of PuppetDB. You can find instructions on how to install it here.

Installation

  1. Install the plugin with yarn in the root of your Backstage application directory:
yarn --cwd packages/app add @backstage/plugin-puppetdb
  1. Import and use the plugin in packages/app/src/App.tsx:
import { PuppetDbPage } from '@backstage/plugin-puppetdb';

const routes = (
  <FlatRoutes>
    {/* ...other routes */}
    <Route path="/puppetdb" element={<PuppetDbPage />} />
  </FlatRoutes>
);

Configuration

  1. Configure puppetdb proxy. As this plugin uses the Backstage proxy to securely communicate with PuppetDB API, add the following to your app-config.yaml to enable this configuration:
proxy:
  '/puppetdb':
    target: https://your.puppetdb.instance.com