Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
puppet-module-arioch-redis
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenStack
puppet
puppet-module-arioch-redis
Commits
2c378f4c
Commit
2c378f4c
authored
7 years ago
by
Peter Souter
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adding note about Puppet 3 support (#153)
* Adding deprecation warning * First steps towards the work in #152
parent
7591e8c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+12
-0
12 additions, 0 deletions
README.md
manifests/init.pp
+4
-0
4 additions, 0 deletions
manifests/init.pp
spec/spec_helper.rb
+6
-0
6 additions, 0 deletions
spec/spec_helper.rb
with
22 additions
and
0 deletions
README.md
+
12
−
0
View file @
2c378f4c
...
...
@@ -138,6 +138,18 @@ Test against a specific Puppet or Facter version:
$ PUPPET_VERSION=4.10.0 bundle update && bundle exec rake spec
$ FACTER_VERSION=1.6.8 bundle update && bundle exec rake spec
## Puppet 3 Support
Puppet 3 is EOL as-of January 2017. The last release of this module that will
support Puppet 3.X and earlier will be the 3.X.X module releases.
Module versions from 4.X.X onwards will use Puppet 4 only features and will not work with
earlier versions.
We would recommend upgrading your Puppet agent to the latest release, as Puppet 4 comes with a load of awesome new features.
If you're stuck with older Puppet, you could also fork the module from 3.0.0 and use your fork as a Puppet 3 supported version.
## Contributing
*
Fork it
...
...
This diff is collapsed.
Click to expand it.
manifests/init.pp
+
4
−
0
View file @
2c378f4c
...
...
@@ -240,6 +240,10 @@ class redis (
~>
Class
[
'redis::service'
]
}
if
$::puppetversion
and
versioncmp
(
$::puppetversion
,
'4.0.0'
)
<
0
{
warning
(
"Puppet 3 is EOL as of 01/01/2017, The 3.X.X releases of the module are the last that will support Puppet 3
\n
For more information, see https://github.com/arioch/puppet-redis#puppet-3-support"
)
}
# Sanity check
if
$::redis::slaveof
{
if
$::redis::bind
=~
/^127.0.0./
{
...
...
This diff is collapsed.
Click to expand it.
spec/spec_helper.rb
+
6
−
0
View file @
2c378f4c
...
...
@@ -81,6 +81,7 @@ def centos_facts
{
:operatingsystem
=>
'CentOS'
,
:osfamily
=>
'RedHat'
,
:puppetversion
=>
'4.5.2'
,
}
end
...
...
@@ -89,6 +90,7 @@ def debian_facts
:operatingsystem
=>
'Debian'
,
:osfamily
=>
'Debian'
,
:operatingsystemmajrelease
=>
'8'
,
:puppetversion
=>
'4.5.2'
,
}
end
...
...
@@ -96,6 +98,7 @@ def freebsd_facts
{
:operatingsystem
=>
'FreeBSD'
,
:osfamily
=>
'FreeBSD'
,
:puppetversion
=>
'4.5.2'
,
}
end
...
...
@@ -104,6 +107,7 @@ def centos_6_facts
:operatingsystem
=>
'CentOS'
,
:osfamily
=>
'RedHat'
,
:operatingsystemmajrelease
=>
'6'
,
:puppetversion
=>
'4.5.2'
,
}
end
...
...
@@ -112,6 +116,7 @@ def ubuntu_1404_facts
:operatingsystem
=>
'Ubuntu'
,
:osfamily
=>
'Debian'
,
:operatingsystemmajrelease
=>
'14.04'
,
:puppetversion
=>
'4.5.2'
}
end
...
...
@@ -119,6 +124,7 @@ def archlinux_facts
{
:operatingsystem
=>
'Archlinux'
,
:osfamily
=>
'Archlinux'
,
:puppetversion
=>
'4.5.2'
,
}
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment