7f375bd8d2
Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
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.
Getting started
To get started, you need a running instance of PuppetDB. You can find instructions on how to install it here.
Installation
- Install the plugin with
yarnin the root of your Backstage application directory:
yarn --cwd packages/app add @backstage/plugin-puppetdb
- 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
- Configure
puppetdbproxy. As this plugin uses the Backstage proxy to securely communicate with PuppetDB API, add the following to yourapp-config.yamlto enable this configuration:
proxy:
'/puppetdb':
target: https://your.puppetdb.instance.com
