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

2017-12-13 Thread Tobias Koeck
Hi, I am wondering what the difference between a Resource Default statement like Exec { path=> '/usr/bin:/bin:/usr/sbin:/sbin', environment => 'RUBYLIB=/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0/', logoutput => true, timeout => 180, } and using a per block default

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:07 UTC+1 schrieb

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
Hi, sounds logical. It still doesn't install output: root@puppet:/etc/puppetlabs/code/environments/production/modules# puppet module install puppetlabs-concat --verbose --debug Debug: Runtime environment: puppet_version=4.9.2, ruby_version=2.1.9, run_mode=user, default_encoding=UTF-8 Notice:

[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
Hi there, There seem to be a problem on Puppetforge with the official packages puppetlabs-concat module depends on puppetlabs/stdlib 4.2.0 but only 4.1.5 is available at puppetlabs https://forge.puppet.com/puppetlabs/concat/dependencies https://forge.puppet.com/puppetlabs/stdlib With these

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

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

2015-11-25 Thread tobias . koeck
Works great. Thanks. Am Mittwoch, 25. November 2015 16:39:02 UTC+1 schrieb Peter Kristolaitis: > > Just realized my code is slightly wrong for you since you wanted hex > values rather than alphanumeric string. > > The first line should be: > > <% range = [*'0'..'9',*'a'..'f'] -%> > > > > On

[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,

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

[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

[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

[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 => [

Re: [Puppet Users] strange line wrapping behavior

2015-11-17 Thread tobias . koeck
Hi G, sounds great. How would you use the indentation in Somesoftware::Mariadb:: ... The same position as the require? Or two characters on the right? I'm asking because resources can be already indented (e.g. two chars) and the second line then starts at position 1 on the new line. I'm

[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