[Puppet Users] Re: Concat function not found after switching to dynamic environments

2014-03-14 Thread Chuck
Modules that provide plugins / functions need to exist in all environments (preferably the same version, other issues can occur if they are not) if you want everything to work correctly with the current state of puppet. In this case your puppet master is most likely looking for concat / stdlib

Re: [Puppet Users] Concat function not found after switching to dynamic environments

2014-03-14 Thread José Luis Ledesma
Mmm not sure, but hace you tried to move the environment=production to the agent section? Regards, El 14/03/2014 15:18, "Agustin Horischnik" escribió: > I just switched to using environments more or less as described in > http://puppetlabs.com/blog/git-workflow-and-puppet-environments and now >

[Puppet Users] Re: Ideas to allow users only on certain servers

2014-03-14 Thread Philippe Conway
Thanks Danielle. I have never thought or heard about virtual users. I'll check out the links you provided. Thanks! On Friday, March 14, 2014 2:24:33 AM UTC-7, Daniele Sluijters wrote: > > Use virtual users. > > Instead of declaring your users as 'real', add a @ in front of them. Now > they are v

Re: [Puppet Users] Ideas to allow users only on certain servers

2014-03-14 Thread Philippe Conway
Thanks Daren. LDAP authentication is definitely a possibility in our future. On Thursday, March 13, 2014 5:22:38 PM UTC-7, Darin Perusich wrote: > > Use LDAP so you have a single source for users and limit access w/groups > and ssh allowgroups. Check out OpenDJ if you need a powerful and easy t

Re: [Puppet Users] How to delete all files in a dir except for 2?

2014-03-14 Thread Jasmine Lognnes
Thanks a lot =) On Friday, March 14, 2014 5:23:13 PM UTC+1, Christopher Wood wrote: > > Try something like: > > file { '/commands': > ensure => directory, > recurse => true, > purge => true, > } > > That will nuke any file not managed by puppet. > > Be careful of interactions with st

Re: [Puppet Users] How to delete all files in a dir except for 2?

2014-03-14 Thread Christopher Wood
Try something like: file { '/commands': ensure => directory, recurse => true, purge => true, } That will nuke any file not managed by puppet. Be careful of interactions with stuff like yumrepo, of course. On Fri, Mar 14, 2014 at 08:55:17AM -0700, Jasmine Lognnes wrote: >Hello =) >

[Puppet Users] How to delete all files in a dir except for 2?

2014-03-14 Thread Jasmine Lognnes
Hello =) Is it possible to have puppet delete all files in /commands except for c66 and c90 ? There are ~100 files in /commands, so I would rather not do a ensure => purge for each of them =) Are there a good way to achieve this? Kind regards Jasmine -- You received this message because yo

[Puppet Users] Re: LaunchDaemon on Mac OSX 10.9 Mavericks

2014-03-14 Thread Merlin Hartley
Thanks Joe, but your plist gives me exactly the same error... I am testing this on a brand new from the box iMac with Mavericks with the latest Puppet/Hiera/Facter packages downloaded from https://downloads.puppetlabs.com/mac/ Incidentally /usr/lib/ruby/site_ruby is actually a symbolic link to

[Puppet Users] Re: puppet dashboard group and class

2014-03-14 Thread Stefan Heijmans
this one? http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#using-dashboard-for-node-classification -- 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 emai

Re: [Puppet Users] LaunchDaemon on Mac OSX 10.9 Mavericks

2014-03-14 Thread Joe Garfoot
Hi Merlin, It¹s working here. This is what we're using with Mavericks and Puppet 3.4.3. http://pastebin.com/i9A82gYr I installed puppet using the installer packages from Puppet Labs rather than via a gem if that makes a difference. Thanks Joe On 14/03/2014 13:21, "Merlin Hartley" wrote

[Puppet Users] Concat function not found after switching to dynamic environments

2014-03-14 Thread Agustin Horischnik
I just switched to using environments more or less as described in http://puppetlabs.com/blog/git-workflow-and-puppet-environments and now puppet agent --test on a previously working node fails with... Info: Retrieving plugin Info: Loading facts in /var/lib/puppet/lib/facter/pip_version.rb Info:

[Puppet Users] Ubuntu puppet agent execution permissions

2014-03-14 Thread Vladimir Nikolic
Hello, is it normal behaviour for puppet agent to allow execution of subcommands to all (non-privileged) users? For example, all users on local system can disable puppet agent with command: puppet agent --disable Regards, Vladimir -- You received this message because you are subscribed to the

[Puppet Users] Re: Trouble getting puppet config from client to master (Certificate verify failed).

2014-03-14 Thread Esen Sagynov
This advice has worked for me nicely. Here is how to do this in Puppet 3.1.x: 1. First, stop puppet master on master node: sudo puppet resource service puppetmaster ensure=stopped enable=false 2. Then remove all certificates on master node. sudo rm -rf /var/lib/puppet/ssl 3. Now remove all ce

[Puppet Users] How to use puppet on ubuntu 13.10?

2014-03-14 Thread Peng Yu
Hi, Also my question is related with ubuntu 13.10. But I think that it should be easy to answer by any expert on puppet. So I ask here. I'm following https://help.ubuntu.com/13.10/serverguide/puppet.html until the following lines. On my client, I don't find /etc/default/puppet. "Now everything i

[Puppet Users] Re: LaunchDaemon on Mac OSX 10.9 Mavericks

2014-03-14 Thread Merlin Hartley
Sorry, those links are rubbish: com.reductivelabs.puppet.plist: http://pastebin.com/hBrwkGv0 com.puppetlabs.puppet.plist: http://pastebin.com/X6ZBE7L5 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiv

[Puppet Users] LaunchDaemon on Mac OSX 10.9 Mavericks

2014-03-14 Thread Merlin Hartley
We have been successfully using Puppet v2 for a few years now managing Mac OSX machines, with a LaunchDaemon file (com.reductivelabs.puppet http://1drv.ms/1kqcNW0) This needed to be changed when Puppet v3 came along and so we merely changed the 'Label' - which worked fine with v3.3 on OSX 10.8.5

[Puppet Users] Memory sizing (or leak) in master. [Tkt: 115440]

2014-03-14 Thread Chris Ritson
Am I being too optimistic? Running a centos 6.5 virtual machine as puppet master, on version 3.4.3, I am frequently running out of memory. The virtual machine only has 0.75Gig of allocated memory. It holds 225 certificates, but only about 130 of these agent machines are regularly active. Mostly

Re: [Puppet Users] What are puppetd and puppetca?

2014-03-14 Thread Peter Bukowinski
The video must be fairly old. Those commands are deprecated. Instead of 'puppetd', it's now 'puppet agent'. Instead of 'puppetca', it's now 'puppet cert'. -- Peter > On Mar 14, 2014, at 1:04 AM, pengyu...@gmail.com wrote: > > Hi, > > The following video mentioned puppetd and puppetca (it is

[Puppet Users] How to debug catalog transfer?

2014-03-14 Thread Andy Spiegl
Hi! I've got a problem with Windows clients: When running "puppet agent -t" manually everything works. (as "administrator" in a "run as administrator" shell) But a run from the puppet-service throws "Error 400 on SERVER: Could not inte rn from pson: "\x84" on US-ASCII" and puppet uses the cac

[Puppet Users] Using different version of ruby

2014-03-14 Thread Andrea Cappelli
Hi, I'm using Puppet on Ubuntu (lucid and precise) with packages from apt.puppetlabs.com I was wondering if it's possible and how to run puppet with a different ruby version from the one shipped with my distro My /usr/bin/puppet on precise contains #!/usr/bin/ruby1.8 require 'puppet/util/c

[Puppet Users] Re: Ideas to allow users only on certain servers

2014-03-14 Thread Daniele Sluijters
Use virtual users. Instead of declaring your users as 'real', add a @ in front of them. Now they are virtual so they aren't automatically created by Puppet, you need to explicitly realise them, for example based on a tag or group they're a member in. You can do it along the lines of: Users <|