[Puppet Users] Re: Template change - not applying

2013-12-15 Thread Steven Jonthen
Ok I solved the problem. Thx.

Am Sonntag, 15. Dezember 2013 15:23:04 UTC+1 schrieb Steven Jonthen:
>
> Hi guys,
>
> I'm using Puppet 3.3.1 and have the following problem: 
> When I change the values of variables which are used by my 
> Puppet-template, then the change is applied by Puppet. But when I change 
> any static thing (text) within the template, the changes are not applied by 
> puppet. 
>
> Can anyone tell me why this happens?
>

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/2fae6e45-72c1-437f-9166-627689486a6d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Template change - not applying

2013-12-15 Thread Steven Jonthen
Hi guys,

I'm using Puppet 3.3.1 and have the following problem: 
When I change the values of variables which are used by my Puppet-template, 
then the change is applied by Puppet. But when I change any static thing 
(text) within the template, the changes are not applied by puppet. 

Can anyone tell me why this happens?

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/363ed62c-3a8d-4a19-b376-5d499b8b0f81%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Providing hiera with module data

2013-12-02 Thread Steven Jonthen
I only need to know how to use different "hiera.yaml" files for different 
modules. How can I achieve that`?

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/8a201141-788e-467d-8fe1-44085293da36%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Dynamic hiera.yaml

2013-12-01 Thread Steven Jonthen
Hi,

I want Puppet to take each module's own "hiera.yaml"-file, which is in the 
module-directory. 
That works if I use "puppet agent --apply --binder 
--hiera_config=/path/to/module_hiera.yaml -e 'include classxy'"
but Puppet doesn't find the parameters if I use "puppet agent --test"

How can I fix this?

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/86562c09-cd8c-4e72-8a6e-94b5e2fea275%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Hiera - override variable

2013-12-01 Thread Steven Jonthen
Hi guys,

I've a class-x, which should overwrite or use the parameters of class-y 
which are saved in an Hiera ".yaml"-file. How can I do that?

I really need your help!

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/bef777a5-dc9d-48b2-b36d-900e64974432%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Providing hiera with module data

2013-11-30 Thread Steven Jonthen
Hi,

I have this problem: Hiera only looks inside "data/common.yaml"-file, which 
is in my module-directory. When i put other data into another yaml file 
"data/example.yaml", then Puppet doesn't find that data. 

What's the cause for this problem?

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/b3e1b520-f883-4bac-a887-c6bdd6dc5cac%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Re: Unable to specify hierarchy for data-in-modules

2013-11-30 Thread Steven Jonthen
Hi MM,

Can you tell me how you succeeded in using hiera-data, which is stored in 
the individual module-directories?

thanks!

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/65b8bae1-f0e6-429b-a7d7-e6ae8d5ee468%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Providing hiera with module data

2013-11-30 Thread Steven Jonthen
Hiera-2? 

I can't find any information on the puppet-website about Hiera-2? 

What do you mean with Hiera-2?

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/e046b0d0-df25-413d-9dac-1c6eb253de48%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Providing hiera with module data

2013-11-30 Thread Steven Jonthen
That doesn't help me :(. 
The page says: 
Can I set top level scope parameters using data in modules? 

No. Not yet at least.

Isn't there a simple way to solve this problem?

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/3bf47459-699c-4ddf-987b-dd06b72d21a9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Providing hiera with module data

2013-11-30 Thread Steven Jonthen
Hi guys,

I don't know how to solve this: 
I want ".yaml"-files in each module's "/data"-directory. These .yaml-files 
should contain data, which Hiera sould pass to the module's manifests. 
How can I do that? I'm using Puppet 3.3.1

Thanks in advance!

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/1ad11ee0-3e8c-4473-871a-c6bb0cc8bf02%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] PuppetDB - notify Puppetmaster

2013-11-09 Thread Steven Jonthen
Ok thanks!

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/36dfb8e5-606f-432d-b054-86c1cfbd2c99%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Zone-file out of LDAP

2013-11-09 Thread Steven Jonthen
Thanks a lot!

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/89439d4a-c230-445d-81be-09a70d3bc0c9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Zone-file out of LDAP

2013-11-05 Thread Steven Jonthen
Hi guys,

I want to put all the data, which is needed for my zone-files into 
OpenLDAP. Next I need a tool, which creates zone-files out of the 
information which is stored in OpenLDAP. 

Have you any idea how to do that? 

Really thanks in advance!

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/4276f04a-8a88-4379-86aa-851038986bb0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] PuppetDB - notify Puppetmaster

2013-11-04 Thread Steven Jonthen
Hi guys,

I want the Puppetmaster to be notified if an agent has put new data into 
the PuppetDB, which is installed on the puppetmaster. After each incoming 
new data for PuppetDB I want to execute a command on the Puppetmaster.

How can I do that?

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/416428c1-f816-4f98-8e98-678bfe9bcac0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Hiera vs OpenLDAP

2013-10-30 Thread Steven Jonthen
Hi guys,

First of all thank you for your hints. I would have suggestion: 
What if we'd use Hiera with a LDAP-Backend. Hiera would automatically look 
up the class-variables in LDAP, wouldn't it?


-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/c8176eed-a981-4111-8833-f142fe3fa292%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Hiera vs OpenLDAP

2013-10-29 Thread Steven Jonthen
Hi guys,

I want to use Hiera with a OpenLDAP-Backend. The OpenLDAP-Backend should 
contain class parameters. When a agent connects to the puppet master then 
hiera should extract from the OpenLDAP-Backend which roles and which 
class-parameters the node has. I've found any useful example in the 
internet, how to integrate OpenLDAP into Puppet and howto create and use 
the data. 

Can anyone help me?

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/2f678971-30f1-4256-bccd-52ac35ac55cb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Central configuration for DHCP and DNS

2013-10-29 Thread Steven Jonthen
Hi guys,

I need your help:
- I want to achieve a role-based Puppet-configuration of the nodes
- I want a single file which contains: 
  -  All the roles a certain node has
  -  All the DHCP and DNS configuration data for a specific node 
This central configuration file should be in "yaml"-format. 

I already saw some modules like:
- Foreman
- Razor
- Cobbler

But those things are just too much. I only need a module/tool which manages 
all my DHCP/DNS-Data in a single file in a simple format. 

Thanks in advance 

-- 
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 web visit 
https://groups.google.com/d/msgid/puppet-users/166f3a95-5d13-4055-89e2-f3cc0ebc4a94%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] ENC - how to get info about the node

2013-10-27 Thread Steven Jonthen
Hi guys,

It is only allowed to pass one parameter to your own ENC-Class in Puppet. 
But how can I set a "department" variable for each node and use it in my 
ENC-Script?

Has anyone a clue how to do it? Thank's in advance!

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Role-based puppet

2013-10-26 Thread Steven Jonthen
I've a question: 
What does this mean/how is this realized?:
'::role::somerole'

Is this a module or a manifest? What is "role" and what "somerole"? How 
does the content look like and where do I have to create it?
Can you give me an example?

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Role-based puppet

2013-10-26 Thread Steven Jonthen
Ok thanks!

That helps me a lot! I'll do research on your hints and come back if I've 
questions. 

Thanks a lot!

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Role-based puppet

2013-10-25 Thread Steven Jonthen
Hi guys,

I want realise a role-based puppet-configuration. What I mean is this:
There should be a simple external text-file, which contains "hostname/node 
--> role" association. 
Then there should be a class-definition for each role. In this way, I want 
to associate a server with different roles. 
In this way, Puppet should look for the hostname of the Puppet-Agent in the 
external file and see what roles it should have and then 
execute the role-classes. 

I hope I could explain my problem. The problem is, that I've no idea how to 
realise it. 
Please help

-- 
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 post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.