Re: [Puppet Users] Re: Copy files after Apache install...but only once.

2014-02-01 Thread Louis Coilliot
Hello, for a an individual config file you can : 1° delete the file unless there is a special tag line in it 2° then ensure the file with replace = false Example here : https://github.com/lofic/puppet-jboss7/blob/master/templates/domain.xml.jboss-as-7.1.1#L35 https://github.com/lofic/puppet-jbos

Re: [Puppet Users] Question: performing actions based on user account being present

2014-02-01 Thread José Luis Ledesma
I think there are two options. 1. Make use if hiera. If you don't have a lot of zimbra servers could be the best option, but you should maintain this manually. 2. A custom fact that reports if the server has zimbra or not. Regards, El 01/02/2014 06:13, "Matthew Reams" escribió: > I want to creat

Re: [Puppet Users] FreeBSD / osfamily

2014-02-01 Thread Tim Bishop
It looks like the package name should be of the format category/name not just name. But sshd is part of the base system on FreeBSD, so there's no need to install it anyway. Tim. On Fri, Jan 31, 2014 at 01:38:57PM -0800, John wrote: > I've got the following code error: > Error: openssh: not in req

[Puppet Users] puppet jobs list?

2014-02-01 Thread Jason Antman
Is there a puppet jobs list or board anywhere? (not jobs at PL, jobs dealing with Puppet) If not, where would you advertise/post (or look, I guess) for engineers with strong puppet skills, both on the usage/admin side, and skilled ruby devs (preferably with some Puppet experience)? We'er hiring,

Re: [Puppet Users] puppet jobs list?

2014-02-01 Thread Christopher Wood
No idea on job boards these days, but in 2008 I was hired as a systems administrator based on my application to a job posted on workopolis.com. (I hadn't heard of puppet at that point.) I notice that places I read like http://highscalability.com offer sponsored Job Openings posts, for example:

Re: [Puppet Users] puppet jobs list?

2014-02-01 Thread Peter Bukowinski
I get pinged by headhunters via LinkedIn. Have you tried posting/searching there? -- Peter > On Feb 1, 2014, at 10:14 AM, Jason Antman wrote: > > Is there a puppet jobs list or board anywhere? (not jobs at PL, jobs > dealing with Puppet) > > If not, where would you advertise/post (or look, I

[Puppet Users] call exec into another class as a variable / how to get output of shell echo $(($(date +%s) / 60 / 60 / 24)) into variable

2014-02-01 Thread jyotir bhandari
Hi I have date as shell command 'echo $(($(date +%s) / 60 / 60 / 24))', I want to call this command in parameter of puppet module, how can i do it. or how can i use exec { "date": commnand => 'echo $(($(date +%s) / 60 / 60 / 24))' } redirect ouput into some variable as $date and call into puppe

[Puppet Users] Using new trusted data certname in hiera

2014-02-01 Thread Carlos Sanchez
Hi, I was trying to move a master using hiera with clientcert in the hierarchy to use the 3.4 $trusted["certname"] --- :backends: - yaml :yaml: :datadir: './hieradata' :hierarchy: - '%{::clientcert}' - '%{::custom_location}' - 'default' I tried to change %{::clientcert} to several opt

Re: [Puppet Users] call exec into another class as a variable / how to get output of shell echo $(($(date +%s) / 60 / 60 / 24)) into variable

2014-02-01 Thread José Luis Ledesma
Hi, It seems you are thinking that puppet is like other scripting language, but it is not. With puppet you define a final state, a model, so there is not "first I exec this, get the output and do something". If you ask how to get a date to model something, I would answer just use (custom) f

[Puppet Users] Puppet 3.4.1: Could not find relationship target

2014-02-01 Thread Sergey Arlashin
Hi! I've just run into a problem. Puppet agent fails with the following message: Error: Could not retrieve catalog from remote server: Could not intern from text/pson: Could not convert from pson: Could not find relationship target "File[]" and then refuses to proceed further. Then I starte

[Puppet Users] Re: Puppet 3.4.1: Could not find relationship target

2014-02-01 Thread Sergey Arlashin
Oh, I found what caused this error. There was a mistake in one of my modules - file {'': ... } with empty name. But I was able to find it only after I'd run 'puppet apply' locally via vagrant. Puppet apply showed the name of faulty module and the exact line number. Error: Parameter path failed

[Puppet Users] Re: call exec into another class as a variable / how to get output of shell echo $(($(date +%s) / 60 / 60 / 24)) into variable

2014-02-01 Thread jyotir bhandari
Hi I tried to create custom facts, but still on client it is not reflecting as desired. Please check the $::epoch_date called in setpass. I'm trying setpass from *http://projects.puppetlabs.com/projects/1/wiki/Password_Management_Patterns* Files *epoch_date.rb* require 'facter' Facter.add

[Puppet Users] Re: Using new trusted data certname in hiera

2014-02-01 Thread Eric Sorenson
This doesn't currently work, unfortunately. Hiera needs an update to support that hash interpolation syntax. The bug tracking this is: https://tickets.puppetlabs.com/browse/HI-14 it's slated for Hiera 1.4.0 but we don't have a specific release date scheduled. As a workaround you can set a top s