Giter VIP home page Giter VIP logo

Comments (6)

wilful avatar wilful commented on June 23, 2024

Or need disable overriding service file by puppet if i use package method, i don't know how set it

from puppet-consul.

solarkennedy avatar solarkennedy commented on June 23, 2024

bin_dir
https://github.com/solarkennedy/puppet-consul/blob/e4d41bd4826b4e4fb27d9298b7dacb706232f2c3/manifests/init.pp#L37

You could argue this is a bug?

from puppet-consul.

wilful avatar wilful commented on June 23, 2024

By default Service overdid version from repository, and set to local/bin. If i set instal_method from package i expect what service file will be from rpm package or some

from puppet-consul.

rhandimartin avatar rhandimartin commented on June 23, 2024

Is this possibly related to the version of systemd being used? i know they have gone from camptocamp-systemd to puppet-systemd, and i have been tracking fora discussing unexpected behavior on the 3.x branch of the new module

from puppet-consul.

FcoCalero avatar FcoCalero commented on June 23, 2024

Hi,

I made that work commenting from the /etc/systemd/system/consul.service file the following lines:

User=consul
Group=consul

If you run the process manually with root, it works, however if you tries the server unit, it doesn't work because it launches the service under consul user which apparently doesn't have permissions to do it, maybe adding a line to sudo file might solve the problem, i ignore if it is like that with other install method.

Hope this helps.

Regards

from puppet-consul.

FcoCalero avatar FcoCalero commented on June 23, 2024

Hi,

I made that work commenting from the /etc/systemd/system/consul.service file the following lines:

User=consul Group=consul

If you run the process manually with root, it works, however if you tries the server unit, it doesn't work because it launches the service under consul user which apparently doesn't have permissions to do it, maybe adding a line to sudo file might solve the problem, i ignore if it is like that with other install method.

Hope this helps.

Regards

***Update

The folder/files where the app is installed is not owned by consul user, i have done a chown to consul user and it works.

from puppet-consul.

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.