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

2013-01-14 Thread Chuck
PuppetDB dashboard snapshot -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web

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

2013-01-14 Thread Chuck
Well I currently have 7,000 nodes in my PuppetDB instance and 8 puppetdb servers in various geographic locations. The garbage collect seems to be a pretty intensive operation on the Postgres DB server in the current design. We have also been having an issue that started at the beginning of

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread Jakov Sosic
On 01/14/2013 10:01 PM, David Schmitt wrote: You also need to run the puppetmaster with --db-migrate (or similar) once. Tried, but didn't help either... :-/ If only I had a way to debug it... No errors in log, nothing... -- Jakov Sosic www.srce.unizg.hr -- You received this message becaus

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread David Schmitt
On 2013-01-14 20:12, Jakov Sosic wrote: On 01/14/2013 07:55 PM, Martin Alfke wrote: I've enabled storeconfigs on my puppetmaster: [puppetmasterd] storeconfigs = true thin_storeconfigs = true dbadapter = sqlite3 dblocation = $statedir/clientconfigs.sqlite3 Have you restarted y

[Puppet Users] help with gathering exported resources.

2013-01-14 Thread David Kerr
Howdy. I'm struggling to access exported resources. I'm on Puppet 3.0.0. I can see that the resources have been exported (I'm not sure why puppet is adding duplicate entries) puppetdb=# select cr.title, rp.name, rp.value from catalog_resources cr join resource_params rp on (rp.resource = cr.re

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

2013-01-14 Thread Ken Barber
I believe you'll get an assertion failure by setting it to zero. In a way you probably don't want it to be pinned to 1 node, because if it is removed from the cluster or goes down you'll lose the garbage collection. However we don't have a nice way today of splaying the interval or anything magica

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

2013-01-14 Thread Chuck
I have multiple puppetdb severs pointed at the same database. Would setting gc-interval to 0 disable it on the extra puppetdb nodes? -- 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

Re: [Puppet Users] ssh::auth and other ways of managing ssh keys

2013-01-14 Thread Ashley Gould
On Mon, Jan 14, 2013 at 08:41:38AM +1000, Peter Brown wrote: > On 12 January 2013 01:53, Jist Anidiot wrote: > > > With puppet 3.x I was wondering if the ssh::auth module ( > > http://projects.puppetlabs.com/projects/puppet/wiki/Module_Ssh_Auth_Patterns) > > is still the preferred way of creating

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread Jakov Sosic
On 01/14/2013 07:55 PM, Martin Alfke wrote: >> I've enabled storeconfigs on my puppetmaster: >> >> [puppetmasterd] >>storeconfigs = true >>thin_storeconfigs = true >>dbadapter = sqlite3 >>dblocation = $statedir/clientconfigs.sqlite3 > > Have you restarted your puppetmaster after d

Re: [Puppet Users] Broken rsync mirroring for PuppetLabs APT repo

2013-01-14 Thread Konrad Scherer
On 12/28/2012 12:48 PM, Matthaus Owens wrote: Arnaud, What flags are you passing to rsync? The README at http://apt.puppetlabs.com/README.txt offers a sample rsync command which includes the --copy-links flag. When I rsync using copy links, my dists directory looks like: total 0 drwxrwsr-x 7 ma

Re: [Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread Martin Alfke
Hi Jkov, On 14.01.2013, at 19:03, Jakov Sosic wrote: > Hi, > > > I've enabled storeconfigs on my puppetmaster: > > [puppetmasterd] >storeconfigs = true >thin_storeconfigs = true >dbadapter = sqlite3 >dblocation = $statedir/clientconfigs.sqlite3 Have you restarted your puppetm

[Puppet Users] New README format on Puppet Forge

2013-01-14 Thread Lauren Rother
*As part of an ongoing effort to make Puppet Forge even more awesome and helpful, Puppet Labs is adopting a new README layout. We will be applying this to our own modules, adopting this as best practices for module documen

Re: [Puppet Users] Looking for help for Puppet community stand at FOSDEM

2013-01-14 Thread Walter Heck
Some users wer reporting problems editing that page, so I moved it to a public google doc here: https://docs.google.com/document/d/12auS09lVRLqN3n3wfxW7pg3xSNzvQ6O1a6vOO5rZVkc/edit sorry for the chaos :) Walter On Mon, Jan 14, 2013 at 9:04 PM, Stefan Goethals wrote: > I added my info on the wi

Re: [Puppet Users] Looking for help for Puppet community stand at FOSDEM

2013-01-14 Thread Stefan Goethals
I added my info on the wiki. Regards, Stefan - Zipkid - Goethals On Mon, Jan 14, 2013 at 7:45 PM, Dawn Foster wrote: > On Mon, Jan 14, 2013 at 7:31 AM, Walter Heck wrote: > > Anyone interested in helping out is requested to add their interest > > here: > http://projects.puppetlabs.com/projec

Re: [Puppet Users] Looking for help for Puppet community stand at FOSDEM

2013-01-14 Thread Dawn Foster
On Mon, Jan 14, 2013 at 7:31 AM, Walter Heck wrote: > Anyone interested in helping out is requested to add their interest > here: > http://projects.puppetlabs.com/projects/puppet/wiki/Signup-puppet-camp-ghent-jan-2013 > I was assuming this is for FOSDEM (Feb 2 and 3) and not Puppet Camp Ghent? Y

Re: [Puppet Users] Refresh Exec resource from a File resource without source =>

2013-01-14 Thread Vaidas Jablonskis
That's incredible. Thanks a lot Ken. It works! On Monday, 14 January 2013 18:25:18 UTC, Ken Barber wrote: > > Sorry, forgot the doc link: > > http://docs.puppetlabs.com/references/latest/metaparameter.html#audit > > On Mon, Jan 14, 2013 at 6:24 PM, Ken Barber > > > wrote: > > You probably wan

Re: [Puppet Users] Re: Plan the manifests structure

2013-01-14 Thread Евгений Верещагин
Yes! понедельник, 14 января 2013 г., 22:27:10 UTC+4 пользователь Josh Cooper написал: > > On Mon, Jan 14, 2013 at 10:03 AM, Евгений Верещагин > > wrote: > >> > http://www.slideshare.net/PuppetLabs/modern-module-development-ken-barber-2012-edinburgh-puppet-cam > > > That should be: > > > htt

Re: [Puppet Users] Re: Plan the manifests structure

2013-01-14 Thread Josh Cooper
On Mon, Jan 14, 2013 at 10:03 AM, Евгений Верещагин wrote: >> http://www.slideshare.net/PuppetLabs/modern-module-development-ken-barber-2012-edinburgh-puppet-cam That should be: http://www.slideshare.net/PuppetLabs/modern-module-development-ken-barber-2012-edinburgh-puppet-camp Josh -- Josh Co

Re: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-14 Thread Ohad Levy
On Mon, Jan 14, 2013 at 3:28 PM, GRANIER Bernard (MORPHO) < bernard.gran...@morpho.com> wrote: > I think that a dashboard is a great things, I will look to foreman even > if inventory seems missing in foreman. > > Not sure what you mean by that - we get plenty of inventory in foreman :) Ohad

Re: [Puppet Users] Refresh Exec resource from a File resource without source =>

2013-01-14 Thread Ken Barber
Sorry, forgot the doc link: http://docs.puppetlabs.com/references/latest/metaparameter.html#audit On Mon, Jan 14, 2013 at 6:24 PM, Ken Barber wrote: > You probably want an audit field in your file resource, try this > pattern on for size: > > # cat /tmp/zzz.pp > file {"/tmp/foo": > ensure => f

Re: [Puppet Users] Refresh Exec resource from a File resource without source =>

2013-01-14 Thread Ken Barber
You probably want an audit field in your file resource, try this pattern on for size: # cat /tmp/zzz.pp file {"/tmp/foo": ensure => file, notify => Exec["foo"], audit => 'content', } exec {"foo": command => "/usr/bin/true", refreshonly => true, } # echo "foobar" > /tmp/foo # ./bin/puppet

[Puppet Users] Refresh Exec resource from a File resource without source =>

2013-01-14 Thread Vaidas Jablonskis
Hi Guys, My manifest code looks pretty much like below: exec { 'sync-business-logic': path => "/usr/bin:/bin:${bl_path}", cwd => $bl_path, command => 'sync-bl.pl', refreshonly => true, subscribe => File[$sync_bl_files], } file { $syn

[Puppet Users] Re: Unable to generate certificate on Puppet Agent through Master

2013-01-14 Thread RedJinnee
By default the client request the revocation list from the master, you can disable that by setting it's property to false. in puppet.conf add certificate_revocation = false then, puppet agent -t hope this helps. On Tuesday, December 18, 2012 7:05:43 AM UTC-5, Vishal Asai wrote: > > Hi Ajee

[Puppet Users] Re: Plan the manifests structure

2013-01-14 Thread Евгений Верещагин
понедельник, 14 января 2013 г., 21:54:32 UTC+4 пользователь Stefan Heijmans написал: > > This might help, watch/read this from Ken Barber; Modern Module Development > http://youtu.be/zNXSKv6987g > > http://www.slideshare.net/PuppetLabs/modern-module-development-ken-barber-2012-edinburgh-puppet-c

[Puppet Users] storeconfigs and exported resources?

2013-01-14 Thread Jakov Sosic
Hi, I've enabled storeconfigs on my puppetmaster: [puppetmasterd] storeconfigs = true thin_storeconfigs = true dbadapter = sqlite3 dblocation = $statedir/clientconfigs.sqlite3 And added this code to one of my nodes: @@file { "/tmp/foo": content => "fjskfjs\n", tag => "foofil

[Puppet Users] Re: Unable to generate certificate on Puppet Agent through Master

2013-01-14 Thread RedJinnee
The client requests the certifcate revocation list from the master, and you can disable that by disabling this feature by adding this to your agnet configs in puppet.conf add this line: certificate_revocation = false and Run puppet agent -t again On Tuesday, August 28, 2012 5:08:51 AM UT

[Puppet Users] Re: Plan the manifests structure

2013-01-14 Thread Евгений Верещагин
OK, my alternative (4) contains all needed terms: a) I can write manifestos for diffrent groups of nodes (IP, OS, etc) b) I can collect terms for write it only once. c) I do not get confused in their own settings. понедельник, 14 января 2013 г., 19:40:28 UTC+4 пользователь jcbollinger написал: >

[Puppet Users] Re: Plan the manifests structure

2013-01-14 Thread Stefan Heijmans
This might help, watch/read this from Ken Barber; Modern Module Development http://youtu.be/zNXSKv6987g http://www.slideshare.net/PuppetLabs/modern-module-development-ken-barber-2012-edinburgh-puppet-cam -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Windows Puppet Agent Hangs on Run

2013-01-14 Thread Alessandro Franceschi
Issue should have been fixed now. Thanks for the github bug report. On Monday, January 14, 2013 3:47:38 PM UTC+1, phundisk wrote: > > Thank you for the information! That resolved the issue. I have posted a > bug report on puppi's github > https://github.com/example42/puppi/issues/45 > > On Satu

[Puppet Users] Re: Profiles, Hiera, and create_resources('class','...')

2013-01-14 Thread Eric Sakowski
On Monday, January 14, 2013 11:17:47 AM UTC-5, jcbollinger wrote: > > > > On Friday, January 11, 2013 2:14:46 PM UTC-6, Eric Sakowski wrote: >> >> Hi all, >> >> We've recently started exploring the role / profile / component module >> described by Craig Dunn in his blog here: >> http://www.crai

RE: [Puppet Users] geppeto packaging

2013-01-14 Thread GRANIER Bernard (MORPHO)
My mail is bernard.gran...@morpho.com Cordialement, Bernard Granier CE Plateforme Système bernard.gran...@morpho.com 01 58 11 32 51 -Original Message- From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Henrik Lindberg Sent: Monday, January 14, 2013

Re: [Puppet Users] generate function not working within conditional?

2013-01-14 Thread Jakov Sosic
On 01/14/2013 05:28 PM, Jakov Sosic wrote: > On 01/14/2013 04:57 PM, Jakov Sosic wrote: >> Hi, >> >> could this be a bug? >> > > OK I've figured it out... If I look at puppet code, in the file: > > /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/generate.rb > > it seems that generate() doesn

Re: [Puppet Users] geppeto packaging

2013-01-14 Thread Henrik Lindberg
On 2013-14-01 16:58, GRANIER Bernard (MORPHO) wrote: Due to internet policy of my company, I can not access to gepetto install site thru eclipse. Is it possible to download gepetto plugin as a zip ? I mean not a full eclipse but just the plugin. It is not available to the public, please con

Re: [Puppet Users] generate function not working within conditional?

2013-01-14 Thread Jakov Sosic
On 01/14/2013 04:57 PM, Jakov Sosic wrote: > Hi, > > could this be a bug? > OK I've figured it out... If I look at puppet code, in the file: /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/generate.rb it seems that generate() doesn't return anything :-/ So "if" in this case doesn't make

[Puppet Users] Array Comparison

2013-01-14 Thread Guy Heckman
Pardon my newbish question, but is there a non-iterative way to compare whether an array is a subset of another array? Something like: class scratchpad { *$config_ciphers = ['aes128-ctr' , 'aes192-ctr', 'aes256-ctr']* if ! is_array($config_ciphers) or empty($config_ciphers) { fail('"co

[Puppet Users] puppet 2.6.x client for AIX 5.3 required

2013-01-14 Thread martin . mjk
Hi, I have puppet master 2.6.12 running on Redhat el6. I have installed puppet client 2.7.6.1 on AIX5.3. Since the client is on higher version it throws the following error. error "err: Could not retrieve catalog from remote server: Error 400 on SERVER: No support for http method POST" So wou

[Puppet Users] Extrange Hiera error

2013-01-14 Thread Jose Pedro Andres
Hi: I work on puppet 3 and hiera, but i cannt load a yaml file on a subdir. my hiera.yaml looks like: --- :backends: - yaml - json :yaml: :datadir: /etc/puppet/hieradata :json: :datadir: /etc/puppet/hieradata :hierarchy: - "servidores/%{clientcert}" - %{::ve} - common :puppet: :data

Re: [Puppet Users] Re: Profiles, Hiera, and create_resources('class','...')

2013-01-14 Thread jcbollinger
On Monday, January 14, 2013 9:49:33 AM UTC-6, R.I. Pienaar wrote: > > > No I am not sure - I dont tend to use create_resources as I consider it > about > as bad as eval() :) > > I just know I recently went spelunking into that code while doing some > prototype > and noticed it worked > Bo

[Puppet Users] Re: Profiles, Hiera, and create_resources('class','...')

2013-01-14 Thread jcbollinger
On Friday, January 11, 2013 2:14:46 PM UTC-6, Eric Sakowski wrote: > > Hi all, > > We've recently started exploring the role / profile / component module > described by Craig Dunn in his blog here: > http://www.craigdunn.org/2012/05/239/ and discussed on the list the other > day. As I was imp

[Puppet Users] geppeto packaging

2013-01-14 Thread GRANIER Bernard (MORPHO)
Due to internet policy of my company, I can not access to gepetto install site thru eclipse. Is it possible to download gepetto plugin as a zip ? I mean not a full eclipse but just the plugin. Cordialement, Bernard Granier CE Plateforme Système bernard.gran...@morpho.com 01 58 11 32 51 # " T

[Puppet Users] generate function not working within conditional?

2013-01-14 Thread Jakov Sosic
Hi, could this be a bug? I have this code: $mypath = get_module_path('ssh') if generate("${mypath}/scripts/generate_host_keys.sh", "${keys_dir}/${::fqdn}/ssh") { notify {'something':} include ssh::server::keys } generate_host_keys.sh script generates ssh host keys for ssh daemons, and st

Re: [Puppet Users] Re: Profiles, Hiera, and create_resources('class','...')

2013-01-14 Thread R.I.Pienaar
- Original Message - > From: "jcbollinger" > To: puppet-users@googlegroups.com > Sent: Monday, January 14, 2013 3:43:49 PM > Subject: Re: [Puppet Users] Re: Profiles, Hiera, and > create_resources('class','...') > > > > On Monday, January 14, 2013 9:32:52 AM UTC-6, R.I. Pienaar wrote

Re: [Puppet Users] Re: Profiles, Hiera, and create_resources('class','...')

2013-01-14 Thread jcbollinger
On Monday, January 14, 2013 9:32:52 AM UTC-6, R.I. Pienaar wrote: > > > > - Original Message - > > From: "jcbollinger" > > To: puppet...@googlegroups.com > > Sent: Monday, January 14, 2013 3:25:34 PM > > Subject: [Puppet Users] Re: Profiles, Hiera, and > create_resources('class','...

[Puppet Users] Re: Plan the manifests structure

2013-01-14 Thread jcbollinger
On Monday, January 14, 2013 2:29:39 AM UTC-6, Евгений Верещагин wrote: > > How to divide the rules in the manifestos? > > I see some variants: > > 1. Write all rules in one file. It's not good idea. > > 2. Write any manifestos like bsd.pp, linux.pp and do check on some > parameters in this manif

Re: [Puppet Users] Spec test failure

2013-01-14 Thread Justin Lambert
Jeff, You haven't by chance had a chance to look at this have you? I'd be curious if I'm just doing something wrong. Thanks, jl On Dec 16, 2012, at 7:24 PM, Justin Lambert wrote: > Jeff, > > I finally got a few simple modules together to recreate this issue. A 'rake > spec' will fail for

Re: [Puppet Users] Re: Profiles, Hiera, and create_resources('class','...')

2013-01-14 Thread R.I.Pienaar
- Original Message - > From: "jcbollinger" > To: puppet-users@googlegroups.com > Sent: Monday, January 14, 2013 3:25:34 PM > Subject: [Puppet Users] Re: Profiles, Hiera, and > create_resources('class','...') > > > > On Friday, January 11, 2013 2:14:46 PM UTC-6, Eric Sakowski wrote: >

Re: [Puppet Users] Looking for help for Puppet community stand at FOSDEM

2013-01-14 Thread Walter Heck
Anyone interested in helping out is requested to add their interest here: http://projects.puppetlabs.com/projects/puppet/wiki/Signup-puppet-camp-ghent-jan-2013 Looking forward to seeing you there! Walter On Sat, Dec 22, 2012 at 3:34 PM, Yanis Guenane wrote: > My venue to FOSDEM is still condit

[Puppet Users] Re: Profiles, Hiera, and create_resources('class','...')

2013-01-14 Thread jcbollinger
On Friday, January 11, 2013 2:14:46 PM UTC-6, Eric Sakowski wrote: > > Hi all, > > We've recently started exploring the role / profile / component module > described by Craig Dunn in his blog here: > http://www.craigdunn.org/2012/05/239/ and discussed on the list the other > day. As I was imp

RE: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-14 Thread GRANIER Bernard (MORPHO)
Ok thanks I think that a dashboard is a great things, I will look to foreman even if inventory seems missing in foreman. Cordialement, Bernard Granier CE Plateforme Système bernard.gran...@morpho.com 01 58 11 32 51 From: puppet-users@googlegroups.com [mailto:

Re: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-14 Thread Erik Dalén
This mail should explain it: https://groups.google.com/d/msg/puppet-announce/j44EbTJY7HI/dw1NI9OjWwQJ On 14 January 2013 10:14, GRANIER Bernard (MORPHO) < bernard.gran...@morpho.com> wrote: > Hi, > > ** ** > > A point about dashboard has been said in this post flow: > > ** ** > > Puppet

RE: [Puppet Users] Re: Puppet dashboard not enabling inventory

2013-01-14 Thread GRANIER Bernard (MORPHO)
Hi, A point about dashboard has been said in this post flow: Puppet dashboard may be deprecated ? Could someone of Puppet Lab gives some information about that ? Cordialement, Bernard Granier CE Plateforme Système bernard.gran...@morpho.com 01 58 11 32 51 Fro

[Puppet Users] Plan the manifests structure

2013-01-14 Thread Евгений Верещагин
How to divide the rules in the manifestos? I see some variants: 1. Write all rules in one file. It's not good idea. 2. Write any manifestos like bsd.pp, linux.pp and do check on some parameters in this manifestos. 3. Write manifestos for each machine, by hostname or IP. 4. Includeв in the sit