Comments (4)
Hi Peterjam28
I just pushed an solution for this. The following classes are changed so they have an extra parameter database_path
:
- zabbix::server
- zabbix::proxy
- zabbix::database::postgresql
- zabbix::database::mysql
You can use it like this:
class { 'zabbix':
zabbix_url => 'zabbix.example.com',
database_path => '/opt/postgres/9.3/bin',
}
The value will be appended to the original "PATH" (/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
), so you don't have to worry about other path settings like '/bin' or '/sbin' for breaking the configuration.
In your setup, "PATH" will be like this when executing the psql commands:
/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/opt/postgres/9.3/bin
Is this acceptable for you?
Kind regards,
Werner
from puppet-zabbix.
That is exactly what I was hoping for, thanks. Will this be in 1.0.2?
On 22 Jan 2015 19:12, "Werner Dijkerman" [email protected] wrote:
Hi Peterjam28
I just pushed an solution for this. The following classes are changed so
they have an extra parameter database_path:
- zabbix::server
- zabbix::proxy
- zabbix::database::postgresql
- zabbix::database::mysql
You can use it like this:
class { 'zabbix':
zabbix_url => 'zabbix.example.com',
database_path => '/opt/postgres/9.3/bin',
}The value will be appended to the original "PATH" (
/bin:/usr/bin:/usr/local/sbin:/usr/local/bin), so you don't have to worry
about other path settings like '/bin' or '/sbin' for breaking the
configuration.In your setup, "PATH" will be like this when executing the psql commands:
/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/opt/postgres/9.3/bin
Is this acceptable for you?
Kind regards,
Werner—
Reply to this email directly or view it on GitHub
#44 (comment)
.
from puppet-zabbix.
No, in 1.1.0.
When I got confirmation from an other issue (Hopefully today or tomorrow), I'll create an git tag and create the release for the forge.
from puppet-zabbix.
I uploaded release 1.1.0 to the forge.
I'll close this ticket. If you have any questions or problems at all, please reopen this ticket or create a new ticket please.
Kind regards,
Werner
from puppet-zabbix.
Related Issues (20)
- When specifying a zabbix::agent::zbx_macro you cannot select a type other than plaintext.
- Module forces v5 repos when running on a non windows OS HOT 5
- Set DirectoryIndex in the zabbix module
- RHEL 9 packages fails to install
- Apache module version 9 support HOT 1
- overwriting module params HOT 6
- Can't contact API, getting 302 because of corporate proxy
- Windows zabbix agent could not be installed if C:\programdata\zabbix folder missing
- Support for Deferred functions / lookups for sensitive parameters
- database schema creation fails because create.sql.gz appears to now be named schema.sql.gz HOT 1
- Outdated tag 9.2 HOT 2
- Module dependency version cause Acceptance test failure
- puppet aio dependency in acceptanse test
- Add Ubuntu 22.04 support
- Use shared example in acceptance
- Refactoring test HOT 1
- zabbix::proxy on 10.0.0 fails to build HOT 1
- Zabbix Proxy 10.0.0 redeclare issue HOT 1
- AIX init script "status" should exit 3 when Zabbix not running HOT 1
- Update documentation in conf template
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-zabbix.