On Thursday, 15 March 2012 21:58:01 UTC+1, Florian Koch wrote:
Hi Gary,
hm for other classes it works , so i think the puppet backend is not
needed
(
https://github.com/ripienaar/hiera-puppet/commit/a7350529a99e5d1bad8b03749661f3f4c7f00216
),
the problem is the define, i guess that a
Hi Florian,
Interesting post. I was planning the same sort of approach for apache
vhosts with hiera and create_resources. This is good proof that the
idea works.
Are you using this approach in other modules as well, if so which?
Regards,
Martin
2012/3/16 Gary Larizza g...@puppetlabs.com:
Ahh,
Hi Martin,
no currently only for the tomcat::instances.
we currently change our modules to hiera, so maybe i find other cases.
rgds Florian
Am Freitag, 16. März 2012 09:03:44 UTC+1 schrieb mawi:
Hi Florian,
Interesting post. I was planning the same sort of approach for apache
vhosts with
Hi Florian. great and smart method. But I've found a problem. If i have a
hash with two dimensions I'm losing the information of the first dimension.
Explained:
yaml:
---
routers:
router1:
ip: 1.2.3.4
ports:
1:
foo: true
bar: false
2:
hi,
yes better depends on personal preferences
Am Freitag, 16. März 2012 17:27:41 UTC+1 schrieb Jan Ivar Beddari:
On 15. mars 2012 22:06, Florian Koch wrote:
Hi Dennis,
i have found a better solution via create_resources (look at my reply to
Gery)
Not neccessarily better in my mind
Hi,
i have some trouble with hiera and %{calling_module}.
i have:
class tomcat::instance{
$instances = hiera('tomcat_instances')
tomcat::installer{$instances:}
}
define tomcat::installer {
require 'tomcat'
$instance_opts = hiera($name)
Hi Florian,
I believe since $calling_module is a variable out of Puppet and not Facter,
that you will need to ALSO setup the Puppet backend, in addition to the
YAML backend, in the hiera.yaml file so Hiera can get its value.
On Fri, Mar 16, 2012 at 6:47 AM, Florian Koch
Hello Florian,
Am 15.03.2012 20:47, schrieb Florian Koch:
i have some trouble with hiera and %{calling_module}.
i have had a similiar problem. You need to submit the values to the define.
i have:
class tomcat::instance{
$instances = hiera('tomcat_instances')
Hi Gary,
hm for other classes it works , so i think the puppet backend is not needed
(https://github.com/ripienaar/hiera-puppet/commit/a7350529a99e5d1bad8b03749661f3f4c7f00216),
the problem is the define, i guess that a define won't set $module_path
correct, the hiera cass from the class
Hi Dennis,
i have found a better solution via create_resources (look at my reply to
Gery)
thanks anyway.
rgds Florian
Am Donnerstag, 15. März 2012 21:56:34 UTC+1 schrieb Dennis Hoppe:
Hello Florian,
Am 15.03.2012 20:47, schrieb Florian Koch:
i have some trouble with hiera and
Ahh,
Good catch - thanks for replying back with the fix
-Gary
On Fri, Mar 16, 2012 at 7:58 AM, Florian Koch
florian.koch1...@googlemail.com wrote:
Hi Gary,
hm for other classes it works , so i think the puppet backend is not
needed
(
11 matches
Mail list logo