Skip to content

Commit

Permalink
Release version 0.1.0 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
rendhalver committed Oct 5, 2016
1 parent 8170e10 commit 9126bbf
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 9 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,14 @@ matrix:
env: PUPPET_GEM_VERSION="~> 4.3" FACTER_GEM_VERSION="~> 2.4" HIERA_GEM_VERSION="~> 3.0"
notifications:
email: false
deploy:
provider: puppetforge
user: powerhome
password:
secure: "rHMu92sJNInuh8KMkij5jW1DabnzCkxwvbgdc1X9raCwzGfPBWG0yuTbq+pjUxMxu4DNh288zX9HNUQOhOGLPnAevi5XjtknTlg4BdZ8dfC9yIODlp2jexagbbIZR+EJdS9EnW3Qsl+/fbHx7X/cIQN7cL9y5Xsb5bfeM2NMGlw="
on:
tags: true
all_branches: true
rvm: 2.1
condition:
- $PUPPET_GEM_VERSION = '~> 4.3'
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
##2016-10-06 - Pete Brown <[email protected]> 0.1.0
###Summary

First Puppet Forge Release
Add support for Puppet 4 and PE 2015
Fix restart loop issue.

####Bugfixes
Fix issue #1
Put the installed version in the config file so Lumenvox does not rewrite the
config files on every run and restart the services.
The service then updates the config files and puppet overwrites them.

##2014-06-15 - Justin Aiken <[email protected]> 0.0.1
###Summary

Initial release
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ DEPENDENCIES
facter
hiera
json (= 1.8.3)
json_pure (< 2.0.0)
metadata-json-lint
puppet
puppet-blacksmith
Expand Down
8 changes: 4 additions & 4 deletions Modulefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name 'mojolingo/lumenvox'
version '0.0.1'
source 'https://github.com/mojolingo/puppet-lumenvox'
name 'powerhome/lumenvox'
version '0.1.0'
source 'https://github.com/powerhome/puppet-lumenvox'
author 'Justin Aiken'
license 'MIT'
summary 'Install and manage Lumenvox services'
description 'Install and manage Lumenvox services'
project_page 'https://github.com/mojolingo/puppet-lumenvox'
project_page 'https://github.com/powerhome/puppet-lumenvox'
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[![Build Status](https://travis-ci.org/powerhome/puppet-lumenvox.svg?style=plastic)](https://travis-ci.org/powerhome/puppet-lumenvox)
[![Puppet Forge](https://img.shields.io/puppetforge/v/powerhome/lumenvox.svg?style=plastic)](https://forge.puppetlabs.com/powerhome/lumenvox)
[![Puppet Forge Downloads](https://img.shields.io/puppetforge/dt/powerhome/lumenvox.svg?style=plastic)](https://forge.puppetlabs.com/powerhome/lumenvox)

# Description

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.
Expand Down
26 changes: 26 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
require 'puppet-syntax/tasks/puppet-syntax'

begin
require 'puppet_blacksmith/rake_tasks'
rescue LoadError
end

PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.relative = true
PuppetLint.configuration.send('disable_80chars')
Expand All @@ -26,3 +31,24 @@ task :test => [
:spec,
:metadata_lint,
]

if RUBY_VERSION >= "2.1.0" then
Blacksmith::RakeTask.new do |t|
t.build = false # do not build the module nor push it to the Forge
# just do the tagging [:clean, :tag, :bump_commit]
end

desc "Offload release process to Travis."
task :travis_release => [
:check_changelog, # check that the changelog contains an entry for the current release
:"module:release", # do everything except build / push to forge, travis will do that for us
]

desc "Check Changelog."
task :check_changelog do
v = Blacksmith::Modulefile.new.version
if File.readlines('CHANGELOG.md').grep("Releasing #{v}").size == 0 then
fail "Unable to find a CHANGELOG.md entry for the #{v} release."
end
end
end
10 changes: 5 additions & 5 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "mojolingo/lumenvox",
"version": "0.0.1",
"name": "powerhome/lumenvox",
"version": "0.1.0",
"author": "Justin Aiken",
"summary": "Install and manage Lumenvox services",
"license": "MIT",
"source": "https://github.com/mojolingo/puppet-lumenvox",
"project_page": "https://github.com/mojolingo/puppet-lumenvox",
"issues_url": "https://github.com/mojolingo/puppet-lumenvox/issues",
"source": "https://github.com/powerhome/puppet-lumenvox",
"project_page": "https://github.com/powerhome/puppet-lumenvox",
"issues_url": "https://github.com/powerhome/puppet-lumenvox/issues",
"operatingsystem_support": [
{
"operatingsystem": "CentOS",
Expand Down

0 comments on commit 9126bbf

Please sign in to comment.