Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
barnumbirr committed Jun 4, 2019
1 parent 12ffd88 commit 3b1a705
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.git/
.*.sw[op]
.metadata
.yardoc
.yardwarns
*.iml
/.bundle/
/.idea/
/.vagrant/
/coverage/
/bin/
/doc/
/Gemfile.local
/Gemfile.lock
/junit/
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/
/tmp/
/vendor/
/convert_report.txt
/update_report.txt
.DS_Store
.project
.envrc
/inventory.yaml
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

All notable changes to this project will be documented in this file.

## Release 0.1.0

**Features**

**Bugfixes**

**Known Issues**
69 changes: 68 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,68 @@
# puppet-openzipkin
# puppet-zipkin

[![Puppet Forge](https://img.shields.io/puppetforge/v/barnumbirr/zipkin.svg)](https://forge.puppetlabs.com/barnumbirr/zipkin)
[![Puppet Forge - downloads](https://img.shields.io/puppetforge/dt/barnumbirr/zipkin.svg)](https://forge.puppetlabs.com/barnumbirr/zipkin)
[![Puppet Forge - scores](https://img.shields.io/puppetforge/f/barnumbirr/zipkin.svg)](https://forge.puppetlabs.com/barnumbirr/zipkin)

1. [Description](#description)
2. [Usage - Configuration options](#basic-usage)
* [Class Parameters](#class-parameters)
4. [Limitations - OS compatibility, etc.](#limitations)
5. [License](#license)

## Description

Install and manage [Apache Zipkin](https://zipkin.apache.org/) via Puppet.

## Basic Usage

### Install rinetd with default config

```puppet
class { '::java':
package => 'openjdk-8-jre',
version => '8u111-b14-2~bpo8+1',
} ->
class { '::elasticsearch':
} ->
class { 'zipkin':
}
```

### Class Parameters

| Parameter | Type | Default | Description |
| :-------------------| :------ |:------------------- | :---------- |
| allow | array | [] | set allow rules |
| autoupgrade | boolean | false | ugrade package automatically if there is a newer version |
| deny | array | [] | set deny rules |
| rules | array | [] | set forwarding rules |
| logfile | string | /var/log/rinetd.log | set logfile path |
| logcommon | boolean | false | use web-server style logfile format |
| ensure | string | present | latest,present or absent |
| service_manage | boolean | true | manage rinetd service state |
| service_restart | boolean | true | manage service restart |

## Limitations

This module is currently only written to work on Debian based operating
systems, although it may work on others. The supported Puppet versions are
defined in the [metadata.json](metadata.json)

## License:

```
Copyright 2019 Martin Simon
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
39 changes: 39 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "barnumbirr-zipkin",
"version": "0.1.0",
"author": "barnumbirr",
"summary": "Install and manage Apache Zipkin via Puppet",
"license": "Apache-2.0",
"source": "https://github.com/barnumbirr/puppet-zipkin.git",
"project_page": "https://github.com/barnumbirr/puppet-zipkin",
"issues_url": "https://github.com/barnumbirr/puppet-zipkin/issues",
"tags": [
"zipkin",
"openzipkin",
"apache",
"tracing"
],
"operatingsystem_support": [
{
"operatingsystem": "Debian",
},
{
"operatingsystem": "Ubuntu",
}
],
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 4.10.0 < 7.0.0"
}
],
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">=2.6.0 < 7.0.0"
}
],
"pdk-version": "1.10.0",
"template-url": "file:///opt/puppetlabs/pdk/share/cache/pdk-templates.git#1.10.0",
"template-ref": "1.10.0-0-gbba9ac3"
}

0 comments on commit 3b1a705

Please sign in to comment.