[Puppet Users] Re: Best practice to manage multi-OS for the same module?

2013-10-25 Thread Rahul Khengare
Hello Aurélien, You can write the puppet manifests in a such way that it execute specific resources for particular OS. Puppet variables, conditional statements like IF, CASE, SELECTOR and FACTS helps you to write the conditional manifests. Refer following links to understand how to manage

[Puppet Users] New Zealand Puppet user group

2013-10-25 Thread Xav Paice
Hi all, We are scheduling a user group meeting in Wellington, New Zealand on 11th November, at Catalyst House. Details are at http://www.meetup.com/New-Zealand-Puppet-Masters/events/147372012/ and it would be great to get to know some of you if you fancy coming along. Feel free to contact me

Re: [Puppet Users] PuppetDB performance tests

2013-10-25 Thread ak0ska
Looks great! Gonna give it a try, thank you! :) Created a ticket: http://projects.puppetlabs.com/issues/22975 On Thursday, October 24, 2013 5:11:40 PM UTC+2, Ken Barber wrote: So the closest and best thing I have now is this: https://github.com/kbarber/dark-loader-proxy But its very

[Puppet Users] Re: Puppet components and configuration / Hiera patterns

2013-10-25 Thread jcbollinger
On Thursday, October 24, 2013 10:21:39 AM UTC-5, Hans Lellelid wrote: We have embraced Hiera; we use the YAML configuration system currently and on the whole everyone finds it easy to use and intuitive. However, as our manifests have grown more complex, we have a need to compile multiple

[Puppet Users] Re: Baffled by variable scope problem

2013-10-25 Thread jcbollinger
Have you restarted the master since the last time you modified any of these classes? Puppet is sometimes finicky about that. John -- 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

[Puppet Users] Re: Nested case

2013-10-25 Thread Martijn
Op maandag 25 maart 2013 14:01:11 UTC+1 schreef jcbollinger: The code you posted would not work, because the outer case statement is incomplete. Also, the inner case statement has no code block (and no colon) for its 'default' case. There oughtn't to be a problem nesting case statements

[Puppet Users] Puppet agent not running automatically

2013-10-25 Thread Michael Buckner
Brand new install or Foreman/Puppet. Puppet agent runs fine manually but does not run automatically. Any suggestions? -- 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

[Puppet Users] Re: Puppet agent not running automatically

2013-10-25 Thread puppetstan
Hi, When you doing /etc/init.d/puppet start it s not good? regards Le vendredi 25 octobre 2013 16:47:15 UTC+2, Michael Buckner a écrit : Brand new install or Foreman/Puppet. Puppet agent runs fine manually but does not run automatically. Any suggestions? -- You received this message

[Puppet Users] replace a value in file

2013-10-25 Thread puppetstan
Hi I would lie replace a value in my config file /etc/default/fusioninventory-agent MODE = daemon and i would like replace cron by daemon My manifest is this but is not good, can you have an idea? I think it s Simplevers.lns is not good.. augeas { 'fusioninventory mode':

[Puppet Users] Re: Puppet agent not running automatically

2013-10-25 Thread Michael Buckner
The puppet agent is already running, it just never actually checks in with the puppetmaster unless I manually run puppet agent -t Puppet was install automatically via the foreman-installer. Here are the contents of [agent] in puppet.conf: [agent] # The file in which puppetd stores a list

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

[Puppet Users] Re: Role-based puppet

2013-10-25 Thread Daniele Sluijters
Hi, What you'll need is some way to classify nodes, I do this through Hiera. Per node I have a yaml file named after the host: hostname.yaml with the following: --- roles: - '::role::somerole' In manifests/site.pp I only define one node, the default: node default { hiera_include('roles',

[Puppet Users] Re: Why there is a need for the architecture fact when it is only using hardwaremodel fact?

2013-10-25 Thread Daniele Sluijters
Hi, It doesn't only use hardwaremodel fact: https://github.com/puppetlabs/facter/blob/master/lib/facter/architecture.rb#L6:L10 # Resolution: # On non-AIX IBM, OpenBSD, Linux and Debian's kfreebsd, use the hardwaremodel fact. # On AIX get the arch value from lsattr -El proc0 -a type #

[Puppet Users] Puppet and Windows ACLs (Access Control Lists)

2013-10-25 Thread Rob Reynolds
tl;dr: Windows manages permissions in a way that doesn't always translate well to mode. We're putting together a solution for this. Jump in the discussion. I wanted to get this conversation started. We've put a lot of thought into how the model should look and focused on ease of use up to more

Re: [Puppet Users] replace a value in file

2013-10-25 Thread Cory Stoker
I would guess that the lens is error out when it attempts to load the file. Have you tried to use augtool manually to see if you can make your changes? One thing I notice is that if a lens cannot parse a file it will say in the error section. Taking a guess something like this: # augtool