Comments (8)
The question is: Why is the install.pp executed twice? ;-)
You should call the main class redis::install
only once. Its a class, not a defined type.
from puppet-redis.
Any chance of this getting sorted before the end of the day? I am using https://vagrantcloud.com/puppetlabs/boxes/centos-7.0-64-puppet, if thats helps.
from puppet-redis.
Did you also open an Issue for the puppet nodejs maintainers? They seem to have the same issue by not using ensure_packages
. I will see to it. Or you can send me a PR ;)
from puppet-redis.
So try it with this master. It should work now.
from puppet-redis.
Getting:
==> default: Error: Could not find dependent Anchor['redis::prepare_build'] for Package[make]
Change:
'Debian', 'Ubuntu': {
ensure_packages('build-essential', {'before' => Anchor['redis::prepare_build']} )
}
'Fedora', 'RedHat', 'CentOS', 'OEL', 'OracleLinux', 'Amazon': {
ensure_packages(['make', 'gcc', 'glibc-devel'], {'before' => Anchor['redis::prepare_build']})
}
from puppet-redis.
Why is this closed if it has not been released yet?
from puppet-redis.
because it it fixed in the master. But dont worry, there will be a new release soon.
from puppet-redis.
Sadly, the 'before' => Anchor
part of this:
ensure_packages('build-essential', {'before' => Anchor['redis::prepare_build']} )
makes it throw a duplicate declaration error because I also use ensure_packages in a different module like this:
ensure_packages([
'atop',
'bc',
'build-essential',
'curl',
'git-core',
'glances',
'htop',
'libpam-cracklib',
'locate',
'logrotate',
'lsof',
'mailutils',
'ncdu',
'nethogs',
'nscd',
'ntp',
'psmisc',
'rsync',
'silversearcher-ag',
'snmpd',
'sysstat',
'tmpreaper',
'unzip',
'vim',
'wget',
'zsh',
]
)
If you remove that, then the catalog compiles fine. Just putting this here for anyone else who runs into it.
from puppet-redis.
Related Issues (20)
- Typos HOT 6
- missing @ in sentinel systemd template line 2
- Centos6.4 redis 3.2 can not work HOT 2
- Duplicate declaration on build-essential HOT 1
- Duplicate declaration: Exec[systemd_service_{name}_preset]
- sentinel conf error with multiple monitors and optional params HOT 1
- Add support for setting niceness HOT 1
- Add support for binding to NUMA HOT 1
- Missing newline in Sentinel template causes syntax error in config
- Unit is not loaded properly: Bad message HOT 10
- redis::server thinks that OracleLinux 6 has systemd
- Failed to start on CentOS 7.2 after update to 1.8.0 HOT 3
- redis-check-dump was renamed to redis-check-rdb in redis version 3.2 HOT 3
- redis-check-dump doesn't exists in redis 3.2 HOT 3
- Possible param missing - stop-writes-on-bgsave-error
- Systemctl unable to start redis-server: Can't open the log file: Permission denied HOT 2
- CentOS 6: /var/run/redis directory not created HOT 3
- Add support to run redis server instances under non-root user HOT 2
- ensure_packages requires an Array (Ubunut 14.04)
- Debian 8 is using systemd by default, this module doesn't act accordingly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-redis.