323 reputation
315
bio website statystyka.net
location Warsaw, Poland
age 36
visits member for 2 years, 11 months
seen Mar 22 at 8:09

Mar
10
accepted Puppet: Is it possible to supply additional information when realizing an exported resource?
Mar
9
revised How to trigger sudo's grace period for a given user via Puppet?
added 402 characters in body
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
@fuero Well, the module bypasses my problem by running the Bundle as root. And it runs the Passenger AppRack: /opt/redmine as www-data as opposed to the dedicated redmine user. I hope it is not a security issue
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
@fuero This repository works perfectly, thank you very much.
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
@fuero Thank you for the link. I'll try to merge it with my own module.
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
Dear @MadHatter. I'll do it as soon as I am able to reproduce it, just give me a 20 minutes. Until then the original question (maybe temporarily) stands.
Mar
9
revised How to trigger sudo's grace period for a given user via Puppet?
added 64 characters in body
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
@MadHatter ATM I have a strange (and possibly unrelated) problem with redmine@redmine $ sudo su sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?. I'll first troubleshoot it and then update the question.
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
@PaulHaldane I do use it exactly like you have written. The problem is that the Bundle occasionally requires admin rights, which tries to get via sudo. And this is where the problem lays.
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
@fuero my Puppet manifest is just a sketch. I definitely don't want to have this NOPASSWD entry to prevail after the installation.
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
@MadHatter Yes, the /etc/sudoers.d is supported and I use it for the /etc/sudoers.d/tty_tickets file.
Mar
9
revised How to trigger sudo's grace period for a given user via Puppet?
added 30 characters in body
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
@fuero From security point of view granting a redmine user right to run sudo without password forever is equivalent to running the web service as root. It is a bad practice. I am considering modifying the sudoers file just for the duration of the Bundle install, but I'd prefer to avoid it, as it creates illogical code dependency (what does the installation of redmine has to do with the sudoers file?)
Mar
9
comment How to trigger sudo's grace period for a given user via Puppet?
@fuero Here you are
Mar
9
revised How to trigger sudo's grace period for a given user via Puppet?
added 1244 characters in body
Mar
9
asked How to trigger sudo's grace period for a given user via Puppet?
Mar
7
comment Puppet: Is it possible to supply additional information when realizing an exported resource?
I didn't find it. I wrongly assumed that all information about resource collectors will be on their dedicated docs.puppetlabs.com/puppet/latest/reference/… page... If you make this an answer I'll accept it.
Mar
6
asked Puppet: Is it possible to supply additional information when realizing an exported resource?
Feb
22
awarded  Critic
Feb
22
comment Puppet: How to display calling stack when failing a manifest (or how to get a calling stack at all)?
That is a great lead. Thank you!