gt;
>> A nested lookup (like in your example) always returns a string.
>> If you need arrays or hashes within a nested lookup you must use the
>> alias function.
>>
>> hth,
>> Martin
>>
>> On 18. May 2021, at 10:23, Erwin Bogaard wrote:
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
from the new
> location to the old location:
> ln -sf /etc/puppetlabs/puppetserver/ca /etc/puppetlabs/puppet/ssl/ca
> 4. restart the puppetserver service:
> systemctl start puppetserver
>
> Let us know if you have any other issues.
>
> Thanks!
>
> On Fri,
if you have an unusual networking setup, e.g. custom DNS
> config, IPv6, etc.
> I was not able to reproduce your issue on a first attempt, so it would
> also be helpful to know which version of puppetserver you're running, what
> OS platform you're running on, and which versio
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
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
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
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
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
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
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/
ot; in the user resource which will concatenate
> the values together... remove the quotes and all should be well..
>
> On Friday, November 9, 2012 5:19:31 AM UTC-8, Erwin Bogaard wrote:
>>
>> As I try to get some flexibility in the creation of users, I switched to
>> a d
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
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,
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
27;dbname1',
mysql_pwd=> 'password1';
sugar::definitions_sug_wp {
'node2':
sugar_admin => 'text1',
sugar_pwd=> 'password2',
mysql_dbname => 'dbname2',
mysql_pwd=> 'passwor
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
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
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
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
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
21 matches
Mail list logo