[Puppet Users] cannot using LDAP nodes with site.pp together?

2013-06-10 Thread yorks
*FROM:* http://projects.puppetlabs.com/projects/puppet/wiki/LDAP_Nodes * NOTE: You can use node entries in your manifests together with LDAP nodes. External or LDAP nodes will be used before node entries. You cannot however use LDAP nodes and external nodes together. You must use one of these two

[Puppet Users] Re: Recommend a good tutorial on using Hiera as an ENC?

2013-06-10 Thread Paul Tötterman
Hi, Can anyone recommend a good tutorial on using Hiera as an ENC? There's not that much to it. Maybe have a look at: http://blog.yo61.com/assigning-resources-to-nodes-with-hiera-in-puppet.html Cheers, Paul -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Re: Recommend a good tutorial on using Hiera as an ENC?

2013-06-10 Thread Lab Yizhar
Hi, Not much into this but did you this link ? http://docs.puppetlabs.com/hiera/1/puppet.html Regards, Yizhar On Mon, Jun 10, 2013 at 3:07 PM, Paul Tötterman paul.totter...@gmail.comwrote: Hi, Can anyone recommend a good tutorial on using Hiera as an ENC? There's not that much to it.

Re: [Puppet Users] ruby issue

2013-06-10 Thread Yizhar A.
Hi, Finish my things on this issue for now as the last one in this chain talented enough to be asking for pay for answering this I'll update when I'll figure it out else. Stay tuned, Yizhar Don't ask what the community can contribute to you ? ask what I can contribute the

[Puppet Users] White Paper: Migrating from Redhat satellite server to Puppet + Foreman

2013-06-10 Thread Keiran Sweet
Hi Everyone, I've written a paper that captures the approach that we took when moving from Redhat Satellite for configuration and software management to Puppet and Foreman (alongside some other assorted technologies). The paper contains a number of lessons learnt in the Ruby, Puppet, Foreman

[Puppet Users] Re: Puppetd with --noop and operation with puppetrun

2013-06-10 Thread jcbollinger
On Friday, June 7, 2013 11:54:24 AM UTC-5, Giovanni wrote: Instead of --noop, I think you want --no-client. That will prevent the agent from automatically retrieving and applying catalogs, but when triggered via puppetrun it will apply whatever catalog it retrieves normally. Thank

Re: [Puppet Users] ruby issue

2013-06-10 Thread Stuart Cracraft
It's not that hard! You can do it!!! Also, you could buy some books on the subject! On Jun 10, 2013, at 5:51 AM, Yizhar A. lab.yiz...@gmail.com wrote: Hi, Finish my things on this issue for now as the last one in this chain talented enough to be asking for pay for answering this

[Puppet Users] Does stdlib break the regsubst function?

2013-06-10 Thread c!w
Hi all, We are currently using the regsubst function of Puppet to generate some information out of our hostnames (customer, environment, and so.). The manifest is running fine since months. 7: $customer = regsubst($::fqdn, '(^[^-]*)-[^-]*.*', \\1) 8: $environment = regsubst($::fqdn,

[Puppet Users] Re: Puppet error reporting

2013-06-10 Thread jcbollinger
On Saturday, June 8, 2013 3:23:33 PM UTC-5, Francisco Reyes wrote: Trying to understand how puppet reports errors Example of why I am asking the question (on a test setup environment) Created a base-1 node Created 2 slave nodes that inherit from base-1 Let's call those slave1 and slave2

Re: [Puppet Users] Using yum provider to install local RPM

2013-06-10 Thread jcbollinger
On Saturday, June 8, 2013 12:56:22 PM UTC-5, Ygor wrote: If the local install is not working, then just do it from your custom, local repo +1 for setting up a local repository. This is FAR better than slinging around RPM files (semi-)manually or serving them directly from some shared

Re: [Puppet Users] ruby issue

2013-06-10 Thread Lab Yizhar
Thanks m8 for the mental support :) As you already know, as an open source believer ,I'm kind of into it and the solution is there, But I want to do it without RHN subscription that will used on our production env. Couple of humps and I'll be there this way or the offical other... On Mon, Jun

[Puppet Users] Re: Puppet Windows package not seeing DisplayName in Registry?

2013-06-10 Thread Kevin D
Reginal, Does it work if you put the contents of the parameter 'name' into the title of the type: package {'SQL Server 2008 R2 SP2 Common Files': ensure = installed, provider= windows, source = C:\\puppet_temp\\${mssql_filename}, install_options =

Re: [Puppet Users] ruby issue

2013-06-10 Thread Stuart Cracraft
You are most welcome. On Jun 10, 2013, at 7:40 AM, Lab Yizhar lab.yiz...@gmail.com wrote: Thanks m8 for the mental support :) As you already know, as an open source believer ,I'm kind of into it and the solution is there, But I want to do it without RHN subscription that will used on

[Puppet Users] Packages for Ubuntu 13.04 (raring)

2013-06-10 Thread Andreas Ntaflos
It seems there are no packages available for Ubuntu 13.04. There is a puppetlabs-release package for raring, but except for that the directory http://apt.puppetlabs.com/pool/raring/main/p/ is empty. I see no packages anywhere else for 13.04, only the ones in the official Ubuntu repos. This

Re: [Puppet Users] Puppet Windows package not seeing DisplayName in Registry?

2013-06-10 Thread Josh Cooper
Hi Reginald, On Fri, Jun 7, 2013 at 7:54 AM, Reginald Choudari adnanchowdhur...@gmail.com wrote: Hello, I've got Package resource on my Windows machine that keeps creating itself even though the package has been properly installed. I've got the name attribute set to the DisplayName found

Re: [Puppet Users] Force osfamily value

2013-06-10 Thread Stefan Schulte
On Fri, 7 Jun 2013 07:03:21 -0700 (PDT) Charly Mathieu mathieu.cha...@gmail.com wrote: Actually, it doesn't get better. Nice try ^^ What version of facter are you using now? Can you please post the output of % facter facterversion operatingsystem osfamily facterversion = 1.7.0

[Puppet Users] Best way to add APC and change size of apc.shm_size

2013-06-10 Thread Josh sutton
Hello!! I am a new user to puppet and I need to use puppet to install apc and change the size of apc.shm_size to 64. I have found a module here: https://github.com/ridonkulous/puppet-apc However, when I add the module in, it does not work. I get errors on the puppet code. Is there a way to

Re: [Puppet Users] Using yum provider to install local RPM

2013-06-10 Thread Paul Pham
Totally agree with both of you, and we had planned on setting up our custom repo in the near future. This was really just going to be an interim solution for us, and more generally an optional solution for adhoc/masterless puppet deployments. While I think having a custom repo is the elegant

[Puppet Users] Re: Best way to add APC and change size of apc.shm_size

2013-06-10 Thread llowder
On Monday, June 10, 2013 12:43:12 PM UTC-5, Josh sutton wrote: Hello!! I am a new user to puppet and I need to use puppet to install apc and change the size of apc.shm_size to 64. I have found a module here: https://github.com/ridonkulous/puppet-apc However, when I add the module in,

[Puppet Users] any elegant way to iterate/map over data types?

2013-06-10 Thread Martin Langhoff
Sysadmins have the (reasonable?) expectation of installing more than one ssh key. Relevant bits from my current config follows: class rl_users { define ssh_user($uid, $gid, $password, $akey, $ensure=present) { user{ $name : ensure = $ensure,

Re: [Puppet Users] any elegant way to iterate/map over data types?

2013-06-10 Thread Rilindo Foster
Starting in Pupet 3.2, there is experimental support for iteration: http://docs.puppetlabs.com/puppet/3/reference/lang_experimental_3_2.html#collection-manipulation-and-iteration On Jun 10, 2013, at 3:41 PM, Martin Langhoff martin.langh...@gmail.com wrote: Sysadmins have the (reasonable?)

Re: [Puppet Users] Using yum provider to install local RPM

2013-06-10 Thread Brian Mathis
I've been playing with this a little (currently a work in progress). The idea is to create a package repository on the node itself, like in /var/lib/local_packages, then create a yum repo config that points to the local filesystem. I'm using a defined type to add files to the local repository,

[Puppet Users] Re: Validation failed: Host already has a report for time and kind

2013-06-10 Thread Luke Vidler
On Thursday, December 1, 2011 7:55:42 PM UTC+11, Chris Phillips wrote: Howdy, I've been getting this issue for about a month in dashboard. All our nodes poll on a cronjob between 00:00 and 01:00 daily, but one node has been getting this as a failed task for a while, with the yaml files

[Puppet Users] Re: Validation failed: Host already has a report for time and kind

2013-06-10 Thread Luke Vidler
Me Three, same versions and errors - Did you guys work out how to fix it yet? On Thursday, December 1, 2011 7:55:42 PM UTC+11, Chris Phillips wrote: Howdy, I've been getting this issue for about a month in dashboard. All our nodes poll on a cronjob between 00:00 and 01:00 daily, but one