Re: [Puppet Users] Does stdlib break the regsubst function?

2013-06-12 Thread Pete Brown
Which version of stdlib are you running? I would hazard a guess that the version you have installed isn't the right one for your puppet version. Basically 4.x only works on puppet 3.x with no support for earlier versions. 3.x is for puppet 2.7 and 3 with no support for earlier versions 2.x is for p

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

2013-06-12 Thread Pete Brown
On 10 June 2013 22:39, Lab Yizhar wrote: > Hi, > > Not much into this but did you this link ? > > http://docs.puppetlabs.com/hiera/1/puppet.html > +1 The last entry on the page explains it. > > Regards, > > Yizhar > > > On Mon, Jun 10, 2013 at 3:07 PM, Paul Tötterman > wrote: > >> Hi, >> >>

Re: [Puppet Users] Can't find source of "Removing mount" errors

2013-06-12 Thread denmat
Hi, You sure that a grep for 'mount' through your manifest finds nothing? Looks a bit odd to me. Den On Thu, Jun 13, 2013 at 5:26 AM, Brandon wrote: > I'm maintaining part of a rather large puppet config and at a loss to > figure out where the following errors are coming from during a puppet

Re: [Puppet Users] Tidy on puppet 2.7.18 not working

2013-06-12 Thread denmat
http://docs.puppetlabs.com/references/latest/type.html#tidy The default is atime, maybe you could try mtime? tidy {delete_old_yaml: path => "/var/lib/puppet/reports", age=> '1w', type => 'mtime', recurse => true, matches => ["*.yaml"], } Your filesystem might be set to noatime - yo

[Puppet Users] Re: Not able to transfer the file puppet master to the client

2013-06-12 Thread joe
You don't import .conf files in your site.pp. Only .pp files. The fileserver config file is not valid puppet syntax. Puppet will find and use it on it's own. On Wednesday, June 12, 2013 7:50:12 AM UTC-6, Ramesh Mahimalur wrote: > > Hello, > > I have installed two VMs one for master and another f

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

2013-06-12 Thread Josh Cooper
On Wed, Jun 12, 2013 at 12:51 PM, Reginald Choudari < adnanchowdhur...@gmail.com> wrote: > Tried renaming the title of the resource to what the name attribute was > set to; no go. > > After doing a 'puppet resource package' on the agent, I see a list of > packages but the package listed here is no

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

2013-06-12 Thread Reginald Choudari
Tried renaming the title of the resource to what the name attribute was set to; no go. After doing a 'puppet resource package' on the agent, I see a list of packages but the package listed here is not shown ... I confirmed that it is still showing 'ensure: created' in the event logs every puppe

[Puppet Users] Can't find source of "Removing mount" errors

2013-06-12 Thread Brandon
I'm maintaining part of a rather large puppet config and at a loss to figure out where the following errors are coming from during a puppet update: err: Removing mount all: /var/lib/puppet/files/all does not exist or is not a directory err: Removing mount pixel: /var/lib/puppet/files/pixel does

Re: [Puppet Users] puppet module debugging (problem with wavesoftware/puppet-glassfish)

2013-06-12 Thread Kobe Nys
Thanks, apparently there is newer version which shouldn't have this problem it's just not available in the forge. https://github.com/fatmcgav/puppet-glassfish With Regards, Kobe. On Wednesday, 12 June 2013 18:15:02 UTC+2, Ken Barber wrote: > > Looks to me like there is only 1 provider for that m

Re: [Puppet Users] mod_passenger doesn't run [solved]

2013-06-12 Thread Werner Flamme
[12.06.2013 16:36] [Werner Flamme]: I could solve the problem by using another config.ru, from debian... It is linked on and the file's content is ---snip--- # a config.ru, for use with every rack-compatible webserver. # SSL needs to

Re: [Puppet Users] certificate problem

2013-06-12 Thread Werner Flamme
Thank you, Erick, the names were correct, I use certname entries in my config. The problem was resolved by deleting the node certificate (mv /var/lib/puppet/ssl /var/lib/puppet/ssl.original) and recreating it by "puppet agent -t". I found the solution some minutes after posting here, after rephr

Re: [Puppet Users] puppet module debugging (problem with wavesoftware/puppet-glassfish)

2013-06-12 Thread Ken Barber
Looks to me like there is only 1 provider for that module, and its confined to osfamily 'RedHat': https://github.com/wavesoftware/puppet-glassfish/blob/master/lib/puppet/provider/domain/el.rb#L6-L7 ken. On Wed, Jun 12, 2013 at 12:29 PM, Kobe Nys wrote: > Hello, > > My newb question is how can I

Re: [Puppet Users] certificate problem

2013-06-12 Thread Erick Ocrospoma
-- Cel : 511-997823451 Blog : http://piobox.blogspot.com/ LUG : http://www.utpinux.org Linux User ID : 549567 --- sı ɯǝ1qoɹd ɹnoʎ ʇɐɥʍ ǝǝs ı ʞuıɥʇ ı On 12 June 2013 10:43, Erick Ocrospoma wrote: > Hi, > > it's possible that they have wrong names, you must ensure that

Re: [Puppet Users] certificate problem

2013-06-12 Thread Erick Ocrospoma
Hi, it's possible that they have wrong names, you must ensure that certname on puppet.conf on both, puppetmaster and agent, are the proper ones. You could check it by doing puppet agent --test --server=puppet.server.com. Deleting certs, on agent and master, could give you a more clear clue. Look

Re: [Puppet Users] ruby issue

2013-06-12 Thread Stuart Cracraft
Right on brotha! --Stuart On Jun 12, 2013, at 5:52 AM, Greg Chavez wrote: > Which is just fine if your company has the Optional subscription. > Mine doesn't. So I'm screwed unless I write a script to manually pull > updates from Fedora or CentOS into a custom mrepo repository. Bit of a > pain,

[Puppet Users] Edit the Kickscript

2013-06-12 Thread Richie Rees
My Foreman is now getting past creating a vm and doing the tftp config. When I look at the location in the pxeboot configuration http://foreman/unattended/provision is black. How do i edit the master template that looks at ? Additionally the initrd & vmlinuz files are both 0 bytes, is there any

[Puppet Users] mod_passenger doesn't run

2013-06-12 Thread Werner Flamme
Hi everyone, the newly installed puppetmaster works, and to allow more hosts, I decided to use mod_passenger with apache on my SLES 11 SP2 systems. Installed rpms: apache2-2.2.12-1.38.2 ruby-1.8.7.p357-0.9.9.1 rubygem-passenger-4.0.5-40.1 rubygem-passenger-apache2-4.0.5-40.1 When I try to access

[Puppet Users] certificate problem

2013-06-12 Thread Werner Flamme
When I try to connect to my new puppet master, I get an error because of a self-signed certificate: ---snip--- # puppet agent --test --noop Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:

[Puppet Users] Not able to transfer the file puppet master to the client

2013-06-12 Thread Ramesh Mahimalur
Hello, I have installed two VMs one for master and another for client. When i am trying to trying to transfer a file from puppet master to the client i am getting the following error. err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment produ

[Puppet Users] puppet module debugging (problem with wavesoftware/puppet-glassfish)

2013-06-12 Thread Kobe Nys
Hello, My newb question is how can I debug what is going wrong with more detail. I installed module wavesoftware/puppet-glassfish and I'm trying to use it in a master-agent configuration on my proxmox openvz containers. I run: - puppet agent -t -d -v Which gives me the error: - Error:

Re: [Puppet Users] AD user add to local windows group?

2013-06-12 Thread Jon
Has there been any advancement with this bug? On Friday, May 31, 2013 2:53:30 PM UTC-4, Trevor Vaughan wrote: > > This sounds like the other side of the coin to a bug that I filed: > https://projects.puppetlabs.com/issues/19414 > > Not being able to add AD/LDAP users to a local group is a fail. >

[Puppet Users] Re: Puppet 3.2 : ENC overrides environment in puppet.conf / howto force environment

2013-06-12 Thread jcbollinger
On Tuesday, June 11, 2013 7:04:05 AM UTC-5, Peter Van Biesen wrote: > > > Related: ENC can override the puppet.conf, can the site.pp do this too ? > Can I set an entry to force an agent to be in a particular environment, > whatever is in the puppet.conf ? > > Not in site.pp, no. The environmen

Re: [Puppet Users] defined() implicitly requiring resource reference

2013-06-12 Thread Tom Lanyon
Hi John, Sorry for the delayed reply. On 05/06/2013, at 11:51 PM, jcbollinger wrote: > >> Sorry, I should have been clearer that this occurs when Package[package-434] >> IS declared elsewhere. "!defined(Package[package-434])" therefore is false, >> so just by referencing the existing declarat

[Puppet Users] Re: Help, LDAP attributes in puppet.

2013-06-12 Thread jcbollinger
On Tuesday, June 11, 2013 8:30:18 AM UTC-5, Matthew Ward wrote: > > I'm rather new to working with puppet so forgive me it these are solved > problems. I've read through some documentation, but was not able to find > the full set of information to answer all my questions. > > I'm being tasked

[Puppet Users] Re: less drastic alternative to fail()?

2013-06-12 Thread jcbollinger
On Tuesday, June 11, 2013 4:53:13 PM UTC-5, mpou...@afilias.info wrote: > > I have a few cases of error checking to make sure parameters supplied to > my classes and defined types where the no-success option is to run the > fail() function with a meaningful error. This seems to cause the entir

[Puppet Users] Re: Connection timed out

2013-06-12 Thread Forest Hongxin Hou
I figured out. When install PE, it doesn't update file site.pp. The filebucket server still points to learn.localdomain: filebucket { 'main': server => 'learn.localdomain', path => false, } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

Re: [Puppet Users] ruby issue

2013-06-12 Thread Greg Chavez
Which is just fine if your company has the Optional subscription. Mine doesn't. So I'm screwed unless I write a script to manually pull updates from Fedora or CentOS into a custom mrepo repository. Bit of a pain, that is. On Tue, Jun 11, 2013 at 6:43 PM, Matthaus Owens wrote: > We supply rubygem

[Puppet Users] Tidy on puppet 2.7.18 not working

2013-06-12 Thread Balasubramaniam Natarajan
Hi I am trying to delete files which are older than a week under the directory "/var/lib/puppet/reports" on puppet master using tidy resource, however I cannot seem to get it working ? Any reason as to why this would happen ? root@WheezyMaster:/var/lib/puppet/reports# puppet -V 2.7.18 root@Wheez

Re: [Puppet Users] Puppet 3.2 : ENC overrides environment in puppet.conf / howto force environment

2013-06-12 Thread Dominic Cleal
On 11/06/13 13:04, Peter Van Biesen wrote: > Hi, > > we recently upgraded from 2.7 to 3.2. We do not use ENC but use the > node.rb for uploading the reports to foreman. However, the 3.2 > puppetmaster overrides the environment that's been set in the > puppet.conf. Is there a way to turn this off ?

Re: [Puppet Users] Puppet 3.2 : ENC overrides environment in puppet.conf / howto force environment

2013-06-12 Thread Erik Dalén
You can turn it off by not having the ENC set any environment. So comment that part out from your ENC script. On 11 Jun 2013 16:06, "Peter Van Biesen" wrote: > Hi, > > we recently upgraded from 2.7 to 3.2. We do not use ENC but use the > node.rb for uploading the reports to foreman. However, the

Re: [Puppet Users] Executing a script after creating vhosts with create_resources

2013-06-12 Thread Brian Lalor
On Jun 12, 2013, at 6:25 AM, Rachel Andrew wrote: > What I need to know however is when a vhost and db has been created. So I can > kick off a PHP script to deploy a bunch of files and call our API to send out > emails. I'm pretty sure you'll have to do a custom define to make that happen, whi

[Puppet Users] Executing a script after creating vhosts with create_resources

2013-06-12 Thread Rachel Andrew
Hello I'd love a bit of advice in terms of how I should best go about this. I am creating a bunch of vhosts, their definitions are stored in json (I'm using heira) that json file will be generated from data held on another server. I'm just using the puppetlabs apache module and create_resources

[Puppet Users] London puppet masters

2013-06-12 Thread Johnathan Phan
Hi guys/girls Is there a London Puppets masters group gathering. ie. Is there a group of puppet masters who come together to share war stories and show of battle wounds while drinking mead or other beverages? If there isn't one, I would like to start one and get together some time. Regards Jo