Git Product home page Git Product logo

Comments (4)

dj-wasabi avatar dj-wasabi commented on June 18, 2024

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.

peterjam28 avatar peterjam28 commented on June 18, 2024

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.

dj-wasabi avatar dj-wasabi commented on June 18, 2024

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.

dj-wasabi avatar dj-wasabi commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.