Git Product home page Git Product logo

boundary_puppet's Introduction

Boundary module

This is the Boundary module.

To use it with Boundary Premium:

class { 'boundary':
  token => 'api_token'
}

To use it with Boundary Enterprise:

class { 'boundary':
  token => 'org_id:api_key',
  tags  => [ 'these', 'are', 'tags' ]
}

Or, as of Boundary Meter 3.1, you can use it with both at the same time:

class { 'boundary':
  token => 'api_token,org_id:api_key',
  tags  => [ 'these', 'are', 'tags' ]
}

To remove a meter change your include to:

class { 'boundary::delete' }

To specify a stand-alone meter you can use the boundary_meter resource:

boundary_meter { "name_of_meter":
  ensure => present,
  token  => ['api_token'],
  tags   => [ "production", "web", "cluster" ],
}

You can also use the proxy_addr and proxy_port options to specify an HTTPS proxy server if required.

Requirements

APT based distros will require the puppetlabs-apt module which requires wget. This has not been added as dependency because yum based distros shouldn't have to install an apt module.

Dashboard Support

It is possible to use this module from Puppet Dashboard (aka Console). To use the module add boundary to the list of classes. Then add the boundary class directly to a node or a group. The following dashboard parameters are supported:

  • token
  • tags

The tags parameter is an array of tag names to apply to this meter (e.g., [ 'a', 'list', 'of', 'tags' ] ).

Authors

Zachary Schneider [email protected]

James Turnbull [email protected]

The boundary_meter type and provider is heavily based on work by Joe Williams and Ben Black from Boundary.

Copyright

Puppet Labs 2011-2013

Boundary 2014

License

Apache 2.0

boundary_puppet's People

Contributors

jamtur01 avatar busterb avatar jhulten avatar loe avatar rhoml avatar kronn avatar alvagante avatar alaz avatar bodepd avatar emeier avatar hunner avatar vtereshko avatar sigil66 avatar

Stargazers

Matt Hanley avatar Danny Martini avatar

Watchers

Josh Whybark avatar  avatar jen20 avatar James Cloos avatar Ray Jenkins avatar Marcelo Labardini avatar Richard Qin avatar  avatar Christopher Frazier avatar VINOD VERMA avatar  avatar jenkins avatar  avatar Jose Mathew avatar  avatar Chester Le avatar  avatar Nathan Thompson avatar  avatar

boundary_puppet's Issues

Add support for plugin management

I'd like to be able to manage plugins via Puppet so I don't need to use the Boundary UI to manually add them to each relevant instance.

Puppet creates and triggers Boundary_Meter[$fqdn] on every run

On every single Puppet run, a new boundary meter is created for $fqdn which triggers a restart of the service. For example:

Info: Applying configuration version '"testing-705cdf5"'
[v4.1.1-607: provisio: 0460,create_meter] provisioning meter for node 'host.domain.com'
[v4.1.1-607: provisio: 0499,create_meter] successfully authenticated premium api credentials
[v4.1.1-607: provisio: 0521,create_meter] meter successfully provisioned in /etc/boundary
Notice: /Stage[main]/Boundary/Boundary_meter[host.domain.com]/ensure: created
Info: /Stage[main]/Boundary/Boundary_meter[host.domain.com]: Scheduling refresh of Service[boundary-meter]
Notice: /Stage[main]/Boundary/Service[boundary-meter]: Triggered 'refresh' from 1 events
Notice: Finished catalog run in 10.70 seconds

This is Ubuntu 14.04, Puppet 3.7.3 and boundary-meter 4.1.1-607.

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.