[Puppet Users] Differences between Resource Defaults statement and per block default?

2017-12-13 Thread Tobias Koeck
and using a per block default like described in https://puppet.com/docs/puppet/5.3/lang_data_default.html#per-block-resource-defaults is? Greetings Tobias -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this gro

Re: [Puppet Users] puppetlabs-concat module depends on puppetlabs/stdlib 4.2.0 but only 4.1.5 is available at puppetlabs

2017-02-21 Thread tobias . koeck
Sounds great. How can I search for it. Do I really have to look at all metadata.json files or is there a puppet command which can tell me "conflicht in that or that module ..."? I haven't found anything in the man pages. Greetings Tobias Am Dienstag, 21. Februar 2017 11:21:0

Re: [Puppet Users] puppetlabs-concat module depends on puppetlabs/stdlib 4.2.0 but only 4.1.5 is available at puppetlabs

2017-02-21 Thread tobias . koeck
pet module install --ignore-dependencies` to install only this module --- I can reach the url and other packages can be installed without a problem. puppetlabs-stdlib (v4.15.0) is installed Greetings Tobias Am Dienstag, 21. Februar 2017 10:40:04 UTC+1 schrieb Dominic Cleal: >

[Puppet Users] puppetlabs-concat module depends on puppetlabs/stdlib 4.2.0 but only 4.1.5 is available at puppetlabs

2017-02-21 Thread tobias . koeck
unmet dependencies I cannot install the package. :-( I have already written a bug report but no reaction so far. Any solutions available? Greetings and thanks Tobias Köck -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe

Re: [Puppet Users] Puppet module and Hiera variable access

2016-07-20 Thread Tobias Koeck
Hi that worked. Thanks. So if I want to force the user to set the variables in Hiera I have to use the hiera( .. ) function? Greetings Tobias On Mon, Jul 18, 2016 at 9:11 PM, Robert Story wrote: > On Mon, 18 Jul 2016 20:54:43 +0200 Tobias wrote: > TK> for testing Hiera a have

[Puppet Users] Puppet module and Hiera variable access

2016-07-18 Thread Tobias Köck
.)? Greetings and thanks, Tobias -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the w

Re: [Puppet Users] random hex string in erb template

2015-11-25 Thread tobias . koeck
quot; + > Array.new(3){range.sample}.join %> > > The "<% range ... -%>" can be anywhere in your template as long as it's > before where you generate the random value. I usually put stuff like that > near the top of the template. If you're generatin

[Puppet Users] random hex string in erb template

2015-11-25 Thread tobias . koeck
I want to create a random hex string in the format 041f798-a5f inclusive the dash in a XML file. I have tried using a self written shell script which generates the string with <%= exec('/var/somedir/somescript') %> in the template. That unfortunately didn't work. I suspect I have to write a

Re: [Puppet Users] strange line wrapping behavior

2015-11-24 Thread Tobias Koeck
I got the case where the backslash should be used. If you have a string that is too long (> 80 characters) you can solve it by writing $watchdog_txt="httpd -f /u1/cust1/www/conf/httpd.conf | /sbin/httpd -f\ /u1/cust1/www/conf/httpd.conf" On Thu, Nov 19, 2015 at 2:29 PM, wrote: > It works now

Re: [Puppet Users] strange line wrapping behavior

2015-11-19 Thread tobias . koeck
It works now. Thanks for your informative answers. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discus

[Puppet Users] Re: strange line wrapping behavior

2015-11-18 Thread tobias . koeck
> Have you tried omitting the '\'? As far as I know, Puppet has no > requirement that array literals be expressed all on one line, and newlines > are permitted as part of the optional whitespace between elements. > It will work without the "\". I was just wondering why because I haven't found

[Puppet Users] Re: strange line wrapping behavior

2015-11-18 Thread tobias . koeck
> Have you tried omitting the '\'? As far as I know, Puppet has no > requirement that array literals be expressed all on one line, and newlines > are permitted as part of the optional whitespace between elements. > It will work without the "\". I was just wondering why because I haven't found

Re: [Puppet Users] strange line wrapping behavior

2015-11-17 Thread tobias . koeck
eb Garrett Honeycutt: > > On 11/17/15 11:08 AM, tobias...@gmail.com - tracked > wrote: > > Hi, > > > > I got a file resource > > > > file {'/usr/java/jboss-as/server/somesoftware/deploy/jontram-ds.xml': > > ensure => file, &g

[Puppet Users] strange line wrapping behavior

2015-11-17 Thread tobias . koeck
Hi, I got a file resource file {'/usr/java/jboss-as/server/somesoftware/deploy/jontram-ds.xml': ensure => file, owner => 'root', group => 'root', mode=> '0655', content => template('somesoftware/jboss/jontram-ds.xml.erb'), require => [ Class['somesoftware::cpfil

[Puppet Users] puppetlabs/apache module and changin the default port

2015-10-26 Thread tobias . koeck
As far as I have read it's not possible to change the default port for Apache class { 'apache': default => 8080, } apache::listen { '8080': } will just add the port 8080 but the port 80 is still available. Is this a bug? If not does somebody know how to do that? -- You received this

[Puppet Users] Official Documentation for Puppet 3.8 Open Source in epub or mobi format?

2015-09-29 Thread tobias . koeck
Is there the official documentation for Puppet 3.8 Open Source in epub or mobi format? I have found an older PDF file but no documentation for newer puppet versions. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this gro

Re: [Puppet Users] Type Service: ignore "notify"

2012-08-08 Thread tobias
That worked! Thanks a lot... On Wednesday, August 8, 2012 10:37:33 AM UTC+2, Erik Dalén wrote: > > On 7 August 2012 17:20, tobias > wrote: > > Hi, > > > > Is it possible to configure a service to ignore notifies? > > I'd like to have some special

[Puppet Users] Type Service: ignore "notify"

2012-08-07 Thread tobias
Hi, Is it possible to configure a service to ignore notifies? I'd like to have some special cases where a "notify => Service['xyz']" is ignored by the service "xyz"... (The service is managed by Pacemaker and I don't want Puppet to manage this serv

Re: [Puppet Users] access "indexed" facter facts

2012-08-07 Thread tobias
> > > I have a fact which looks like that: drbdconnectionstate0. You see > > the "0" at the end... Now I'd like to access this fact in a > > "dynamic" way, the "0" should be variable. I'm thinking of something > > like that: if ${drbdconnectionstate0}${drbddevice} == > > 'Unconfigured'. > > B

[Puppet Users] access "indexed" facter facts

2012-06-26 Thread tobias
evice} == 'Unconfigured'. But as you may guess, this does not work... Has anyone an idea how I can use such a "dynamic" facter variable? Thanks for every help! Cheers, Tobias -- You received this message because you are subscribed to the Google Groups "Pup

Re: [Puppet Users] Re: Realizing wrong ssh key for the wrong user

2010-11-11 Thread Tobias Lott
> > On Nov 9, 2:47 pm, "Tobias Lott" wrote: >> Problem isn't Directories not getting created but every user is getting >> ALL ssh keys > > I see the error messages appearing to indicate attempts to distribute > keys to users who should not have them.

Re: [Puppet Users] Realizing wrong ssh key for the wrong user

2010-11-09 Thread Tobias Lott
> Tobias, > > On Tue, Nov 9, 2010 at 1:11 PM, Tobias Lott wrote: > >> Hey Everyone >> >> I've defined my users in a class called 'user::virtual' and the included >> user::server1 class to realize the users for a nodegroup. >> >> P

[Puppet Users] Realizing wrong ssh key for the wrong user

2010-11-09 Thread Tobias Lott
Hey Everyone I've defined my users in a class called 'user::virtual' and the included user::server1 class to realize the users for a nodegroup. Problem is puppet is trying to realize all keys for all the user. f.e. user peto gets key peto, tobi0 and tobi1 and user tobi gets peto, tobi0 and tobi1

[Puppet Users] Glassfish asadmin provider

2010-09-15 Thread Lars Tobias Skjong-Børsting
uppet-glassfish/blob/master/lib/puppet/provider/glassfish/asadmin.rb Does anyone have any advice on this? -- Regards, Lars Tobias -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googl

[Puppet Users] Live near Oslo? Want to work with Puppet?

2010-02-01 Thread Lars Tobias Børsting
lling to move. If you are interested, send me an email to larst...@arrive.no and I'll send you more info about the job! -- Sincerely yours, Lars Tobias Børsting Tjeneste-/sikkerhetsansvarlig, Systemdrift, Arrive A/S E-post: larst...@arrive.no -- You received this message because you are sub