Skip to content

Commit

Permalink
Forge Release 0.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
fsalum committed Feb 20, 2014
1 parent ce7f2b7 commit aa38d3e
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
pkg/
Gemfile.lock
.vagrant
.librarian
.tmp
Puppetfile.lock
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Release notes for the fsalum-redis module.

------------------------------------------

#### 0.0.11 - 2014-02-19

* system_sysctl parameter for redis class (@tehmaspc)

#### 0.0.10 - 2014-02-19

* Allow conf_bind to be unset (@stevelacey)
Expand Down
2 changes: 1 addition & 1 deletion Modulefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name 'fsalum-redis'
version '0.0.10'
version '0.0.11'
source 'git://github.com/fsalum/puppet-redis.git'
author 'Felipe Salum'
license 'Apache License, Version 2.0'
Expand Down
2 changes: 2 additions & 0 deletions Puppetfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mod "redis",
:git => "git://github.com/fsalum/puppet-redis.git"
18 changes: 18 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vbguest.auto_update = false
config.hostmanager.enabled = false

config.vm.define 'redis' do |node|
node.vm.box = "centos65"
node.vm.hostname = "redis.local"
node.vm.network :private_network, ip: "192.168.100.100"
node.vm.provision :shell, :inline => "yum install -y git && gem install librarian-puppet --no-ri --no-rdoc"
node.vm.provision :shell, :inline => "cd /vagrant ; librarian-puppet install --clean --path /etc/puppet/modules"
node.vm.provision :puppet do |puppet|
puppet.manifests_path = ["vm", "/etc/puppet/modules/redis/tests"]
puppet.manifest_file = "init.pp"
end
end

end
12 changes: 9 additions & 3 deletions tests/init.pp
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
node default {

package { 'epel-release':
ensure => present,
source => 'http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm',
provider => rpm,
}

class { 'redis':
conf_port => '6379',
conf_bind => '0.0.0.0',
conf_port => '6379',
conf_bind => '0.0.0.0',
system_sysctl => true,
}

}

0 comments on commit aa38d3e

Please sign in to comment.