Skip to content

How to add datasource #125

@p0ntsNL

Description

@p0ntsNL

Hi,

I am fairly new to the whole custom module thing and I was wondering how should I make the configuration if I would like to add a datasource through puppet?

currently my site.pp looks like this:

  include apt, dnsmasq, firewall, vpnserver

  class { 'grafana':
      cfg => {
        server   => {
          http_port     => 3000,
        },
        users    => {
          allow_sign_up => false,
        },
        'auth.anonymous'    => {
          enabled => true,
          org_name => 'Main Org.',
          org_role => 'Viewer',
        },
      },
  },

}```

So how can I add a datasource from here? where should I do it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions