[Puppet Users] Re: kindly have a look at this issue please, related to multiple puppet masters

2013-01-17 Thread bin . zhou2007
Could somebody kindly have a look at this please, thanks a lot. 在 2013年1月16日星期三UTC+8下午6时39分06秒,bin.zh...@gmail.com写道: > > hi, could everyone kindly have a look at this issue below please. Thanks > a lot! > > > It works while I was using apache+passenger+puppet-master on the server > side, I us

Re: [Puppet Users] mcollective puppet plugin not working for centos

2013-01-17 Thread G M
Thanks a lot ripienaar! I was completely lost. Everything works fine now, root@puppet-idc:~# mco rpc puppet runonce -v Discovering hosts using the mc method for 2 second(s) 4 * [ > ] 4 / 4 puppet-no

Re: [Puppet Users] puppet not copying config file

2013-01-17 Thread Brigzzy Briggs
Thanks for the reply :) I got it to work by adding a path to the fileserver.conf file as follows: path /etc/puppet/files and put my config file in there, but if I am reading your reply correctly, I can just create a folder called files in /etc/puppet/modules/ntp, and it will be read when the

Re: [Puppet Users] puppet not copying config file

2013-01-17 Thread Brian Mathis
Where does the file exist on the filesystem? This is somewhat counter-intuitive until you do it a few times. The source path in the manifest is: puppet:///modules/ntp/ntp.conf but in the filesystem, the file should be under modules/ntp/files/ntp.conf You may have missed the "files" in th

Re: [Puppet Users] Installing cloudprovisioner on windows

2013-01-17 Thread PuppetUser
Hi, I learnt that we can install master on linux machine with cloud provisioner installed and client to be run on windows. This way we can work out with cloud provisioner on windows. Can any one please give me details of the steps to be followed. Give me the link for the page where the details

[Puppet Users] booleans in hiera

2013-01-17 Thread Peter Brown
Hi everyone, I have a few boolean vars i use in a couple of modules I am updating to work with hiera. I noticed there is currently an issue with using booleans in hiera and puppet doesn't set them properly when it imports them as variables. I also noticed those bugs seem to have fixes and they als

[Puppet Users] Error: Function does not return a value

2013-01-17 Thread iamauser
My custom function looks like this : module Puppet::Parser::Functions newfunction(:pattern_in_file, :type => :rvalue) do |args| filename = args[0] pattern = args[1] value = false File.open(filename) do |f|

[Puppet Users] puppet not copying config file

2013-01-17 Thread Brigzzy Briggs
Hi All, Sorry if this is a really remedial question, but I cannot find the answer to my problem anywhere else. I am trying to learn puppet, and am creating a basic ntp module, that should install the ntp package (Which it does), then copy the ntp.conf file (Which it does not) and then start th

[Puppet Users] Puppet Package for FreeBSD

2013-01-17 Thread Tri Tu
Hello all, I'm looking for a puppet package for FreeBSD either 6.3 or 7.3. I couldn't find out on the web but if someone has done it before, please let me know where to look for the packages or instructions of how to port Puppet source into FreeBSD. Thanks. -- You received this message beca

Re: [Puppet Users] Puppetdb will setting gc-interval to 0 disable it

2013-01-17 Thread Chuck
This is unconfirmed at this point. It seems like every 4 days starting Jan 4. 2013 (interesting is started in 2013 and never happened in 2012) like the Catalog or Resource Hash changes, causing the entire catalog_resource table to insert new entries, then possibly GC deletes the old entries.

Re: [Puppet Users] How do I manage puppet.conf? Let me count the ways.

2013-01-17 Thread Ramin K
On 1/17/2013 2:14 PM, Ashley Gould wrote: Sorry for the rant. I'm sure the above suggestion would have issues too. I'm now on my 3rd major overhaul of our puppet infrastructure classes solely because of this one file. I refuse to believe this is a conspiricy just to get us to purchase PE. But

Re: [Puppet Users] puppetlabs-products yum checksum failing

2013-01-17 Thread Matthaus Owens
Greg, I've updated the metadata on our end. Please let me know if your problem still persists, and we can dig a little deeper into what might be going on. On Thu, Jan 17, 2013 at 2:03 PM, Greg Chavez wrote: > > I'm reasonably confident that the problem I'm having here is upstream. > RHEL5: > > #

Re: [Puppet Users] How do I manage puppet.conf? Let me count the ways.

2013-01-17 Thread John Warburton
On 18 January 2013 09:14, Ashley Gould wrote: > But why so many methods? Why is there not a single recommended best > practice method for managing puppet.conf? > > ANSWER: Because puppet.conf lacks an include statement. So, we generate puppet.conf at jumpstart/kickstart and never ever touch it

[Puppet Users] How do I manage puppet.conf? Let me count the ways.

2013-01-17 Thread Ashley Gould
In a recent post Nikola Petrov summerized methods for managing config files such as puppet.conf: * use augeas with virtual resources * use the concat module * use the standard template function with multiple arguments; look at http://docs.puppetlabs.com/guides/templating.html and scroll down to

Re: [Puppet Users] f5 module usage/debugging tips?

2013-01-17 Thread Christopher Wood
On Thu, Jan 17, 2013 at 03:48:08PM -0600, Nan Liu wrote: >On Thu, Jan 17, 2013 at 3:37 PM, Christopher Wood ><[1]christopher_w...@pobox.com> wrote: > > Usually when I make a change via the gui or tmsh I see the change > reflected in the text config right away. > >Good to kno

[Puppet Users] puppetlabs-products yum checksum failing

2013-01-17 Thread Greg Chavez
I'm reasonably confident that the problem I'm having here is upstream. RHEL5: # yum repolist | grep puppet puppetlabs-depsPuppet Labs Dependencies El 5 - x86_64 45 puppetlabs-productsPuppet Labs Products El 5 - x86_64 161 # yum clean all Loaded plugins: security Cleaning up

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-01-17 Thread Alessandro Franceschi
Oh, I was forgetting, Puppi is also a required dependency of all Example42 modules, since it provides some functions used by these modules. Note anyway that you can decide to use these modules without using puppi in any way (that is to not install the command and its working environment on your

[Puppet Users] Re: Can someone provide more clarity on Puppi

2013-01-17 Thread Alessandro Franceschi
Hi, Puppi is a shell tool, installed and configured bythe omonimous Puppet module, that has basically 2 functions: 1- Manage application deployments 2- Provide an handy bash command with data driven by Puppet For the first task there are a bunch of puppet defines that allow you to define a deplo

Re: [Puppet Users] f5 module usage/debugging tips?

2013-01-17 Thread Nan Liu
On Thu, Jan 17, 2013 at 3:37 PM, Christopher Wood < christopher_w...@pobox.com> wrote: > > Usually when I make a change via the gui or tmsh I see the change > reflected in the text config right away. Good to know. > >If you run puppet again does it attempt to make the same changes > again?

Re: [Puppet Users] f5 module usage/debugging tips?

2013-01-17 Thread Christopher Wood
(inline) On Thu, Jan 17, 2013 at 03:27:40PM -0600, Nan Liu wrote: >On Thu, Jan 17, 2013 at 2:59 PM, Christopher Wood ><[1]christopher_w...@pobox.com> wrote: > > The question: how can I get extra debugging/troubleshooting information > to figure out why my F5 resources aren't app

Re: [Puppet Users] f5 module usage/debugging tips?

2013-01-17 Thread Nan Liu
On Thu, Jan 17, 2013 at 2:59 PM, Christopher Wood < christopher_w...@pobox.com> wrote: > The question: how can I get extra debugging/troubleshooting information to > figure out why my F5 resources aren't applying? I see my "puppet device" > command claiming to have applied an f5_node and f5_rule,

[Puppet Users] f5 module usage/debugging tips?

2013-01-17 Thread Christopher Wood
The question: how can I get extra debugging/troubleshooting information to figure out why my F5 resources aren't applying? I see my "puppet device" command claiming to have applied an f5_node and f5_rule, but the irule and node respectively do not appear in the device's config. I have already t

[Puppet Users] puppet facts and precedence

2013-01-17 Thread monte
I'm testing custom fact precedence and am encountering issues, any help would be appreciated. I have a file containing the following data on 'most' of my servers and built a fact (status) that displays the information [root@localhost]# cat /dataFile STATUS=good [root@localhost]# facter status g

Re: [Puppet Users] Windows Puppet File Resource Getting Puppet Server's UNIX File Permissions

2013-01-17 Thread Josh Cooper
Hi John, On Thu, Jan 17, 2013 at 6:56 AM, jcbollinger wrote: > > > On Wednesday, January 16, 2013 3:35:46 PM UTC-6, Josh Cooper wrote: >> >> Hi Alex, >> >> On Wed, Jan 16, 2013 at 12:49 PM, phundisk >> wrote: >> > I am noticing some very odd behavior with my puppet server and a windows >> > clie

[Puppet Users] Support/patch EOL for Puppet 2.6.x

2013-01-17 Thread Michael Stahnke
The time has come for us to say good-bye to Puppet 2.6.x. Puppet 2.6.x will be end of life on April 30, 2013. Puppet 2.6.0 first launched July 20, 2010. Since that time, we've had two major version of Puppet, 2.7.x and the new semantically versioned Puppet 3 series. Puppet 2.7.x is largely on a

Re: [Puppet Users] Version 2.6 Future Updates?

2013-01-17 Thread Michael Stahnke
Thanks for the query. I don't know that we did make an official announcement regarding Puppet 2.6.x. I will be doing that shortly (as in today). Mike On Tue, Jan 15, 2013 at 8:53 AM, Michael Hrivnak wrote: > I am trying to determine how much longer, if at all, version 2.6 of Puppet > Open So

[Puppet Users] Hi, problems with start puppetmaster

2013-01-17 Thread Gustavo Henrique Borges
hi, can you help me? when I start the puppetmaster it returns me the following error: Could not prepare for execution: Got 1 failure(s) while initializing: change from directory to file failed: Could not set 'file on ensure: Is a directory - /var/lib/puppet/facts -- You received this message

[Puppet Users] Attend or Present at Upcoming Puppet Camps!

2013-01-17 Thread Dawn Foster
I wanted to let everyone know that we have a bunch of upcoming Puppet Camps. Many of them have open CFPs, and we are still looking for people to present. This is your chance to talk about all of the interesting ways that you are using Puppet technologies in your environment! We are looking for ses

Re: [Puppet Users] Puppetdb will setting gc-interval to 0 disable it

2013-01-17 Thread Ken Barber
Hmm. I wonder if this is an artifact of the query for the delete taking too long, or the fact that there the query for the delete is taking too long. It would seem odd to me if there were a lot of deletes, this implies a lot of orphans which shouldn't be a regular thing, unless this points to an or

Re: [Puppet Users] Windows Puppet File Resource Getting Puppet Server's UNIX File Permissions

2013-01-17 Thread Alex Farhadi
Yes the Windows client is updating the mode based on what the file permission is in the puppet master's unix's file system, I did not see any change messages about the uid or gid being changed. Let me know if you need any more information or screen shots. I will be more than happy to provide what

[Puppet Users] Re: Puppet resource scoping issue

2013-01-17 Thread Boris
Thanks a lot for the explanation! It became much clearer to me. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/YuB-DKkwiJoJ. To post to this group, send e

Re: [Puppet Users] mcollective puppet plugin not working for centos

2013-01-17 Thread R.I.Pienaar
- Original Message - > From: "G M" > To: puppet-users@googlegroups.com > Sent: Thursday, January 17, 2013 7:56:20 AM > Subject: [Puppet Users] mcollective puppet plugin not working for centos > > I have a test setup like this: > > host > === > *puppet-idc*: Ubuntu 12.04 running Act

Re: [Puppet Users] Windows Puppet File Resource Getting Puppet Server's UNIX File Permissions

2013-01-17 Thread jcbollinger
On Wednesday, January 16, 2013 3:35:46 PM UTC-6, Josh Cooper wrote: > > Hi Alex, > > On Wed, Jan 16, 2013 at 12:49 PM, phundisk > > > wrote: > > I am noticing some very odd behavior with my puppet server and a windows > > client. > > > > For my puppet server I have a module setup similar t

[Puppet Users] Re: why do I get ensure changed 'purged' to 'present' on a package when it is already installed

2013-01-17 Thread Andrey Kouznetsov
I have exactly the same problem on Ubuntu 12.04 On Saturday, February 6, 2010 4:24:58 AM UTC+4, tim_schofield wrote: > > Hi all, > > I have created a squid class that also installs squidGuard. When I > run puppetd I always get > > notice: //Node[.xx.xxx]/squid/squid::install/ > Package[sq

[Puppet Users] mcollective puppet plugin not working for centos

2013-01-17 Thread G M
I have a test setup like this: host === *puppet-idc*: Ubuntu 12.04 running ActiveMQ, Mcollective, puppet agent and server *puppet-node1*: Ubuntu 12.04 running MCollective and puppet agent *puppet-node2*: Ubuntu 12.04 running MCollective and puppet agent *puppet-node3*: CentOS 6.3 running MCol

[Puppet Users] Re: puppet dashboard run time problems

2013-01-17 Thread Matt John
+1 On Thursday, December 20, 2012 10:23:25 AM UTC, Jacob wrote: > > Hello all, > > I just noticed that in my dashboard the "Run Time" graph shows really > weird output. It seems like it is different for different nodes. For some > nodes, it doesn't seem to be updating, and for others it graphs

[Puppet Users] Re: Puppet resource scoping issue

2013-01-17 Thread jcbollinger
On Thursday, January 17, 2013 1:03:03 AM UTC-6, Boris wrote: > > I have a service resource in class 'foo', and i want to make a > relationship with this resource from class 'bar'. Both 'foo' and 'bar' > classes are included in my node definition. > From puppet docs i learned that dynamic scopin

Re: [Puppet Users] Re: Restrict file creation in the masters

2013-01-17 Thread jcbollinger
On Thursday, January 17, 2013 4:24:29 AM UTC-6, Nacho Barrientos Arias wrote: > > Hi, > > On Wed, Jan 16, 2013 at 10:05 PM, jcbollinger > > > wrote: > >> >> Mostly. The master normally runs as an unprivileged user, so file and >> directory access controls apply to it. If you run SELinux in

[Puppet Users] Re: Multiple class calls via dashboard

2013-01-17 Thread Michael Dodwell
On Thursday, January 17, 2013 3:50:14 AM UTC+11, jcbollinger wrote: > > > > On Tuesday, January 15, 2013 5:30:09 PM UTC-6, Michael Dodwell wrote: >> >> Hi, >> >> I currently have puppet setup and backed into the dashboard and using >> ENC. >> >> I wish to control as much of the configuration of

Re: [Puppet Users] Templating a shell script - major error

2013-01-17 Thread Dan White
Don't feel bad, Axel. You learned from this goof. The stooopid question is the one you do NOT ask . Then you suffer in silent ignorance. Ignorance can be fixed. Stupidity ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has

[Puppet Users] Re: cleaning up nodes with exported resources

2013-01-17 Thread Luca Gioppo
Ok my fault for unclean situation. After dropping the user in the DB and "COMMITTING" the modified node to the environment the exported resource got modified and rthere is only one and not many. Obviously users created in the DB stay there if created wrongly. Luca Il giorno giovedì 17 gennaio 20

[Puppet Users] Can someone provide more clarity on Puppi

2013-01-17 Thread DreamBig
How useful is Puppi? Can someone throw light on this? The documentation on the web is not so good. Thanks, Rajeev -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe

[Puppet Users] cleaning up nodes with exported resources

2013-01-17 Thread Luca Gioppo
Hi, I'm developing my modules for managing the env with puppet and I have this problem. I use exported resources. Much like the following example: node a { @@file { "/tmp/foo": content => "fjskfjs\n", tag => "foofile", } } node b { File <<| tag == 'foofile' |>> } (I use the database res

Re: [Puppet Users] Re: Restrict file creation in the masters

2013-01-17 Thread Nacho Barrientos Arias
Hi, On Wed, Jan 16, 2013 at 10:05 PM, jcbollinger wrote: > > Mostly. The master normally runs as an unprivileged user, so file and > directory access controls apply to it. If you run SELinux in enforcing > mode then SELinux policy applies no matter what user the master runs as. > There are a co

Re: [Puppet Users] Templating a shell script - major error

2013-01-17 Thread Axel Bock
yes, found it already (see my last messge). sorry for wasting your lifetime ;) Am Donnerstag, 17. Januar 2013 10:59:33 UTC+1 schrieb Dominic Cleal: > > On 17/01/13 09:54, Axel Bock wrote: > > Hi group, > > > > I am trying to template a bash script with puppet. Unfortunately, this > > fails

Re: [Puppet Users] puppet-module error with 3.0.2

2013-01-17 Thread Dominic Cleal
On 17/01/13 09:53, Mark Phillips wrote: > Hey Folks, > > Has anybody seen this when using puppet-module, installed via gem, in puppet > 3.0.2 on CentOS 6.3? > > [puppet]# puppet-module install puppetlabs-firewall > /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:254:in `convert': Error > converti

[Puppet Users] Re: Templating a shell script - major error

2013-01-17 Thread Axel Bock
oops. forget everything. my mistake. stupid one. and of course this _can_ only be discovered after you posted a stupid question to really document your own idiocy. :) Thanks, Axel. Am Donnerstag, 17. Januar 2013 10:54:23 UTC+1 schrieb Axel Bock: > > Hi group, > > I am trying to template a

Re: [Puppet Users] Templating a shell script - major error

2013-01-17 Thread Dominic Cleal
On 17/01/13 09:54, Axel Bock wrote: > Hi group, > > I am trying to template a bash script with puppet. Unfortunately, this > fails with a bang, and even more unfortunately I have no idea why. > > The script starts with the usual > > #!/bin/bash > > When I run puppet, I get this: > > info: Cach

[Puppet Users] Templating a shell script - major error

2013-01-17 Thread Axel Bock
Hi group, I am trying to template a bash script with puppet. Unfortunately, this fails with a bang, and even more unfortunately I have no idea why. The script starts with the usual #!/bin/bash When I run puppet, I get this: info: Caching catalog for l1211022.sdst.sbaintern.de err: Failed

[Puppet Users] puppet-module error with 3.0.2

2013-01-17 Thread Mark Phillips
Hey Folks, Has anybody seen this when using puppet-module, installed via gem, in puppet 3.0.2 on CentOS 6.3? [puppet]# puppet-module install puppetlabs-firewall /usr/lib/ruby/site_ruby/1.8/puppet/settings.rb:254:in `convert': Error converting value for param 'config': Could not find value for $c

[Puppet Users] Re: Error: Could not retrieve catalog from remote server: execution expired

2013-01-17 Thread Luke Bigum
I'm not sure if there's a way to increase the timeout for exported resource reconstruction, however rather than doing a Puppet resource collection you can query the raw data from PuppetDB: https://github.com/dalen/puppet-puppetdbquery Here is an example a colleague of mine used to vastly speed