Skip to content

Commit 9126bbf

Browse files
authored
Release version 0.1.0 (#4)
1 parent 8170e10 commit 9126bbf

File tree

7 files changed

+68
-9
lines changed

7 files changed

+68
-9
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@ matrix:
2222
env: PUPPET_GEM_VERSION="~> 4.3" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.0"
2323
notifications:
2424
email: false
25+
deploy:
26+
provider: puppetforge
27+
user: powerhome
28+
password:
29+
secure: "rHMu92sJNInuh8KMkij5jW1DabnzCkxwvbgdc1X9raCwzGfPBWG0yuTbq+pjUxMxu4DNh288zX9HNUQOhOGLPnAevi5XjtknTlg4BdZ8dfC9yIODlp2jexagbbIZR+EJdS9EnW3Qsl+/fbHx7X/cIQN7cL9y5Xsb5bfeM2NMGlw="
30+
on:
31+
tags: true
32+
all_branches: true
33+
rvm: 2.1
34+
condition:
35+
- $PUPPET_GEM_VERSION = '~> 4.3'

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
##2016-10-06 - Pete Brown <[email protected]> 0.1.0
2+
###Summary
3+
4+
First Puppet Forge Release
5+
Add support for Puppet 4 and PE 2015
6+
Fix restart loop issue.
7+
8+
####Bugfixes
9+
Fix issue #1
10+
Put the installed version in the config file so Lumenvox does not rewrite the
11+
config files on every run and restart the services.
12+
The service then updates the config files and puppet overwrites them.
13+
14+
##2014-06-15 - Justin Aiken <[email protected]> 0.0.1
15+
###Summary
16+
17+
Initial release

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ DEPENDENCIES
156156
facter
157157
hiera
158158
json (= 1.8.3)
159+
json_pure (< 2.0.0)
159160
metadata-json-lint
160161
puppet
161162
puppet-blacksmith

Modulefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name 'mojolingo/lumenvox'
2-
version '0.0.1'
3-
source 'https://github.com/mojolingo/puppet-lumenvox'
1+
name 'powerhome/lumenvox'
2+
version '0.1.0'
3+
source 'https://github.com/powerhome/puppet-lumenvox'
44
author 'Justin Aiken'
55
license 'MIT'
66
summary 'Install and manage Lumenvox services'
77
description 'Install and manage Lumenvox services'
8-
project_page 'https://github.com/mojolingo/puppet-lumenvox'
8+
project_page 'https://github.com/powerhome/puppet-lumenvox'

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[![Build Status](https://travis-ci.org/powerhome/puppet-lumenvox.svg?style=plastic)](https://travis-ci.org/powerhome/puppet-lumenvox)
2+
[![Puppet Forge](https://img.shields.io/puppetforge/v/powerhome/lumenvox.svg?style=plastic)](https://forge.puppetlabs.com/powerhome/lumenvox)
3+
[![Puppet Forge Downloads](https://img.shields.io/puppetforge/dt/powerhome/lumenvox.svg?style=plastic)](https://forge.puppetlabs.com/powerhome/lumenvox)
4+
15
# Description
26

37
Puppet module for for Lumenvox media engine. Heavily based on Mojo Lingo's [Chef Cookbook](https://github.com/mojolingo/lumenvox-chef) to do the same.

Rakefile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ require 'puppetlabs_spec_helper/rake_tasks'
22
require 'puppet-lint/tasks/puppet-lint'
33
require 'puppet-syntax/tasks/puppet-syntax'
44

5+
begin
6+
require 'puppet_blacksmith/rake_tasks'
7+
rescue LoadError
8+
end
9+
510
PuppetLint.configuration.fail_on_warnings = true
611
PuppetLint.configuration.relative = true
712
PuppetLint.configuration.send('disable_80chars')
@@ -26,3 +31,24 @@ task :test => [
2631
:spec,
2732
:metadata_lint,
2833
]
34+
35+
if RUBY_VERSION >= "2.1.0" then
36+
Blacksmith::RakeTask.new do |t|
37+
t.build = false # do not build the module nor push it to the Forge
38+
# just do the tagging [:clean, :tag, :bump_commit]
39+
end
40+
41+
desc "Offload release process to Travis."
42+
task :travis_release => [
43+
:check_changelog, # check that the changelog contains an entry for the current release
44+
:"module:release", # do everything except build / push to forge, travis will do that for us
45+
]
46+
47+
desc "Check Changelog."
48+
task :check_changelog do
49+
v = Blacksmith::Modulefile.new.version
50+
if File.readlines('CHANGELOG.md').grep("Releasing #{v}").size == 0 then
51+
fail "Unable to find a CHANGELOG.md entry for the #{v} release."
52+
end
53+
end
54+
end

metadata.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "mojolingo/lumenvox",
3-
"version": "0.0.1",
2+
"name": "powerhome/lumenvox",
3+
"version": "0.1.0",
44
"author": "Justin Aiken",
55
"summary": "Install and manage Lumenvox services",
66
"license": "MIT",
7-
"source": "https://github.com/mojolingo/puppet-lumenvox",
8-
"project_page": "https://github.com/mojolingo/puppet-lumenvox",
9-
"issues_url": "https://github.com/mojolingo/puppet-lumenvox/issues",
7+
"source": "https://github.com/powerhome/puppet-lumenvox",
8+
"project_page": "https://github.com/powerhome/puppet-lumenvox",
9+
"issues_url": "https://github.com/powerhome/puppet-lumenvox/issues",
1010
"operatingsystem_support": [
1111
{
1212
"operatingsystem": "CentOS",

0 commit comments

Comments
 (0)