Re: [Puppet Users] Hiera lookup in hiera lookup

2021-05-18 Thread Erwin Bogaard
benri...@gmail.com wrote: > Hi Erwin and Martin, > > I think there's a difference here - Erwin it seems you're trying to do > nested interpolation, while Martin it appears your example is for lookups > nested in hiera data. > > Erwin as far as I'm aware, nested interpol

[Puppet Users] Hiera lookup in hiera lookup

2021-05-18 Thread Erwin Bogaard
Hi, I've been looking for this for a ling time, but can't find a definitive answer to my question: is it possible to use a lookup in a lookup? For example: aaa::bbb: "mvn:com.xxx.bus/xxx-features/%{lookup('xxx::apps::env_hash.%{lookup('xxx::apps::env')}.yyy.version')}/xml/features" Should lead

Re: [Puppet Users] "puppetserver ca migrate" error

2021-03-04 Thread Erwin Bogaard
:39:08 UTC+1 Molly Waggett wrote: > Hi Erwin, > > I have opened SERVER-2979 > <https://tickets.puppetlabs.com/browse/SERVER-2979> to investigate your > issue. Any additional info you can add to that ticket would be greatly > appreciated. > > In the meantime, yo

Re: [Puppet Users] "puppetserver ca migrate" error

2021-02-26 Thread Erwin Bogaard
, selinux => { enabled => false } } ruby => { platform => "x86_64-linux", sitedir => "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.7.0", version => "2.7.2" } On Thursday, 25 February 2021 at 19:52:23 UTC+1 Molly Waggett wrote: > Hi Erwi

[Puppet Users] "puppetserver ca migrate" error

2021-02-25 Thread Erwin Bogaard
Hi, I'm trying to solve the notofocation about "The cadir is currently configured to be inside the /etc/puppetlabs/puppet/ssl directory". When I follow the steps, and run: # puppetserver ca migrate --config /etc/puppetlabs/puppet/puppet.conf I get the message: "Puppetserver service is running

[Puppet Users] Re: epp conditionals not working, erb is

2015-11-04 Thread Erwin Bogaard
gt; > Are you access the variable $xxx_yyy will full puppet path? IE > $classname::xxx_yyy > > If not you need to pass the variable into the template like this. > > content => epp('module/template.epp', { 'xxx_yyy' => "$xxx_yyy"}), > > Hope

[Puppet Users] epp conditionals not working, erb is

2015-11-04 Thread Erwin Bogaard
As epp is the way to go, I'm trying to create all my new templates in epp-format. I have a problem with using conditionals, though. I have the following conditional in an epp template: ... <%- if $xxx_yyy == true { -%> // code here <%- } -%> ... When I apply this template with a defined type res

[Puppet Users] Re: How to manage SugarCRM config.php with Puppet?

2014-01-24 Thread Erwin Bogaard
Thanks for your suggestions. Hiera seemed the best solution, but it seems then you still have to manage the whole file. Not just parts. When I have some more time, I'm going to dive in Hiera, as is seems to be a good solution to other 'challenges' I have (and have solved badly, right now). For

Re: [Puppet Users] How to manage SugarCRM config.php with Puppet?

2014-01-21 Thread Erwin Bogaard
Sounds interesting. Checked it out, but it doesn't seem that SugarCRM's config.php supports xml. -- 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+un

Re: [Puppet Users] How to manage SugarCRM config.php with Puppet?

2014-01-20 Thread Erwin Bogaard
AM UTC+1, Pete wrote: > > Hi > > On 20 Jan 2014, at 7:34 am, Erwin Bogaard > > wrote: > > Hi, > > I'm looking into a way to manage the SugarCRM config.php (see partial > example below this message). This proposes several problems: > 1. The file is f

[Puppet Users] How to manage SugarCRM config.php with Puppet?

2014-01-19 Thread Erwin Bogaard
Hi, I'm looking into a way to manage the SugarCRM config.php (see partial example below this message). This proposes several problems: 1. The file is full of arrays and arrays-in-arrays (So I think Augeas is useless, as far as I understand it) 2. Not all config.php's contain the same arrays and/

[Puppet Users] Re: Passing an array of user groups to a define

2012-11-09 Thread Erwin Bogaard
Hi Eric. removing the quotes fixed it! If only all problems were that easy to fix ;-) Thanks, Erwin On Friday, November 9, 2012 9:26:11 PM UTC+1, Eric Sorenson wrote: > > Erwin, the variable is probably coming into the define correctly, but > you're quoting "$usergroups&qu

[Puppet Users] Passing an array of user groups to a define

2012-11-09 Thread Erwin Bogaard
As I try to get some flexibility in the creation of users, I switched to a define. problem is, I can't pass an array of user groups anymore. This either results in - wrong group creation: group1,group1group2,group2 (see that group1 and group2 are concatenated in the middle, undefined group) - er

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-05 Thread Erwin Bogaard
intermediate Puppet user, I've again learned a lot about writing some nice manifests and getting things done the way I want to. On Thursday, November 1, 2012 3:27:10 PM UTC+1, Erwin Bogaard wrote: > > I'm having trouble getting the following scenario to work: > - I have two defines,

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-05 Thread Erwin Bogaard
After my previous post, I did some more thinking and reasearch. What do you think about: - using an if/else-conditional. Would that work? - using virtual resources? would that work? On Monday, November 5, 2012 9:17:11 PM UTC+1, Erwin Bogaard wrote: > > As I'm in over my head, let&#

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-05 Thread Erwin Bogaard
27;dbname1', mysql_pwd=> 'password1'; sugar::definitions_sug_wp { 'node2': sugar_admin => 'text1', sugar_pwd=> 'password2', mysql_dbname => 'dbname2', mysql_pwd=> 'passwor

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-05 Thread Erwin Bogaard
h is easy to to with defines. So all instances have unique resources, hence the choice for defines, not classes. Does this help you help me? On Thursday, November 1, 2012 3:27:10 PM UTC+1, Erwin Bogaard wrote: > > I'm having trouble getting the following scenario to work: > - I

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-02 Thread Erwin Bogaard
n I would like to apply only the sugar-define to node1 and both defines to node2, when only declaring node2 once. I hope this makes things clearer, but as you said, maybe I'm using the wrong words (or jargon) for the right things. On Friday, November 2, 2012 3:14:50 PM UTC+1, jcbollinge

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-02 Thread Erwin Bogaard
As there is no response, maybe some extra info: For classes I use 'inherits' to apply multiple classes to one resource. For defines I can't find a similar technique. Is there one? On Thursday, November 1, 2012 3:30:52 PM UTC+1, Erwin Bogaard wrote: > > In retrospect: a bett

[Puppet Users] Re: Apply multiple defines in sequence

2012-11-01 Thread Erwin Bogaard
In retrospect: a better subject would have been 'Apply multiple defines to one resource'. But as far as I can see, there is no way to change a subject On Thursday, November 1, 2012 3:27:10 PM UTC+1, Erwin Bogaard wrote: > > I'm having trouble getting the following scenari

[Puppet Users] Apply multiple defines in sequence

2012-11-01 Thread Erwin Bogaard
I'm having trouble getting the following scenario to work: - I have two defines, for example 'sugar' and 'wordpress'. - Some nodes need to have both applied, others only sugar. - Because you can't use the same resource twice (not that I want to), I can't figure out how to apply two separate define

[Puppet Users] Re: yum.puppetlabs.com and downloads.puppetlabs.com unreachable

2012-01-31 Thread Erwin
It's still impossible for me to reach (yum|downloads).puppetlabs.com. When I do a traceroute, it stops at hop 'static.theplanet.com'. On another network, I can see the next hop is 'li341-126.members.linode.com'. I ca reach linode.com, but I can't reach the host 'li341-126.members.linode.com'. So th

[Puppet Users] Re: yum.puppetlabs.com and downloads.puppetlabs.com unreachable

2012-01-27 Thread Erwin
Downforeveryone... says the service is up. I can confirm this with a traceroute from a VPS on another network (on which yum can check the repository). On my network bot URLs (which point to the same IP/server) still cannot be reached. I tried several machines, but all can't reach this server. And i

[Puppet Users] yum.puppetlabs.com and downloads.puppetlabs.com unreachable

2012-01-27 Thread Erwin
Since several weeks, both yum.puppetlabs.com and downloads.puppetlabs.com are unreachable from some connections. This is showing every time I check for updates in the repository. It seems that there is a problem in routing. See: traceroute to yum.puppetlabs.com (96.126.116.126), 30 hops max, 40 by

[Puppet Users] Cleanup after timeout in exec resource

2010-12-17 Thread Erwin Bolwidt
at the "creates" file should be deleted if a timeout occurs. Does something like this exist? Regards, Erwin Bolwidt -- 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...@googleg