Re: [Puppet Users] Right approach to Windows installers

2012-09-17 Thread Paul Tötterman
> > UNC paths is on the roadmap http://projects.puppetlabs.com/issues/8657 I'm using UNC paths with 2.7.19. Works fine. https://github.com/puppetlabs/puppet-docs/pull/100 Cheers, Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view

Re: [Puppet Users] Right approach to Windows installers

2012-09-17 Thread Josh Cooper
On Mon, Sep 17, 2012 at 6:07 PM, Josh Cooper wrote: > Hi Jason, > > On Mon, Sep 17, 2012 at 11:05 AM, Jason_s wrote: >> Hi Puppeteers, >> >> I hope I can get you advice about the best way to approach using MSIs and >> other installers on Windows. >> >> Currently I am downloading Windows installe

Re: [Puppet Users] Why agent report is so slow?

2012-09-17 Thread flex
Sometimes we use puppet agent --test --environment xxx to debug puppet configuration. The 2 minutes and more execution time is unacceptable. As agent output is enough, we do not need the report that time. This is why i want to disable the reports. On Mon, Sep 17, 2012 at 11:44 PM, Daniel Pittman w

Re: [Puppet Users] Re: Run Stages for Particular Modules

2012-09-17 Thread Justin Brown
Thanks for the replies John and Al. I've spent some time re-designing my module. It's now a few separate modules that use smaller chains and is far more readable. Cheers, Justin On Mon, Sep 17, 2012 at 10:28 AM, jcbollinger wrote: > > > On Monday, September 17, 2012 9:31:41 AM UTC-5, Alessandro

Re: [Puppet Users] Right approach to Windows installers

2012-09-17 Thread Josh Cooper
Hi Jason, On Mon, Sep 17, 2012 at 11:05 AM, Jason_s wrote: > Hi Puppeteers, > > I hope I can get you advice about the best way to approach using MSIs and > other installers on Windows. > > Currently I am downloading Windows installers from the puppet master with the > puppet:// syntax and the "

[Puppet Users] Re: Run Stages for Particular Modules

2012-09-17 Thread Jason_s
Hi I just tried reading the .dot files today into a graphing application and I found that very useful in visualising the graph of resources that is produced by a run on the agent. Good luck. It's not procedural, but declarative, hence a visual graph let's a person picture it better IMHO. http:

Re: [Puppet Users] storeconfigs: are there any benefits giving a client access to the dabase?

2012-09-17 Thread Nan Liu
On Mon, Sep 17, 2012 at 1:03 PM, marco wrote: > Just to double-check if I understand this correctly: > > Enabling the storeconfigs on the client *and* allow it to access the > mysql-db is *only* useful if > - I distribute my manifest via rsync or git or a puppet file resource. > - and run 'puppet

[Puppet Users] Re: Systems Provisioning

2012-09-17 Thread Glenn Poston
Similar setup here: pxe boot, etc. but we keep a pxe booted sparse base image available to clone. And use a script to to do the clone so that we can provision more quickly (saves us the pxe boot time). The script also interacts with puppet dashboard to set the machine role. We can provision

Re: [Puppet Users] storeconfigs: are there any benefits giving a client access to the dabase?

2012-09-17 Thread marco
Hello Nan, Am Montag, 17. September 2012 19:26:59 UTC+2 schrieb Nan Liu: > > On Mon, Sep 17, 2012 at 7:54 AM, marco > > wrote: > > Does the puppetmaster compile a catalog _including_ data from the > mysql-db > > and push it to the client? > > Or does the puppetmaster just tell the client: fet

[Puppet Users] puppet-dashboad fileviewer

2012-09-17 Thread llowder
I recently install dashboard (1.2.10) on my puppet master (2.7.19 on Ubuntu 10.04 LTS). I setup the filebucket/viewer as per http://docs.puppetlabs.com/dashboard/manual/1.2/configuring.html#enabling-the-filebucket-viewer. The md5sums are now clickable links, but when I click them I just get a

[Puppet Users] Need to restart puppetmaster a lot

2012-09-17 Thread Balasubramaniam Natarajan
Hi When I create a manifest and when it contains some errors which I do not realize and try to apply it using "puppet apply manifest.pp" I am getting no complains and the manifest never get applied. So I have to pgrep puppet from another terminal and kill -15 After this all the corrected manife

Re: [Puppet Users] Re: [Puppet-dev] Do you rely on 'param=>undef' being equal to '(nothing)'?

2012-09-17 Thread Daniel Pittman
On Mon, Sep 17, 2012 at 11:58 AM, Eric Sorenson wrote: > Aaron -- could you distill this down to a code sample? Unless I'm > misunderstanding, it sounds like your case is slightly different to the ones > I posted. Thanks. I recognise the case; this is a different use and, as far as I understand,

[Puppet Users] Re: [Puppet-dev] Do you rely on 'param=>undef' being equal to '(nothing)'?

2012-09-17 Thread Eric Sorenson
Aaron -- could you distill this down to a code sample? Unless I'm misunderstanding, it sounds like your case is slightly different to the ones I posted. Thanks. On Friday, September 14, 2012 3:29:05 PM UTC-7, Aaron Grewell wrote: > > I'm using the current behavior in inherited classes to unset p

Re: [Puppet Users] Help me name a class in the new puppetdb module!

2012-09-17 Thread Chris Price
Not a bad idea, thanks for the suggestion! On Monday, September 17, 2012 2:39:15 AM UTC-7, Stefan Goethals wrote: > > Why not simply puppetdb::server for the ... well, puppetdb server and > puppetdb::client for... the client, as that is exactly what the > puppetmaster is to puppetdb? > > Regards

Re: [Puppet Users] Help me name a class in the new puppetdb module!

2012-09-17 Thread Chris Price
That's a fair statement; it's been brought up around the office. The goal for now is to have a single puppetdb module that is capable of managing everything related to puppetdb, and then potentially later wrap some subset of the puppetdb classes in the puppet/master module. For the short term,

[Puppet Users] Need more information

2012-09-17 Thread Balasubramaniam Natarajan
On this particular link http://docs.puppetlabs.com/learning/variables.html#variables I am a bit confused about the following two statement. Could someone explain to me as to what is this about, with a simple example ? Every variable has a short local name and a long fully-qualified name. Fully q

[Puppet Users] Right approach to Windows installers

2012-09-17 Thread Jason_s
Hi Puppeteers, I hope I can get you advice about the best way to approach using MSIs and other installers on Windows. Currently I am downloading Windows installers from the puppet master with the puppet:// syntax and the "file" type into a temporary directory c:\puppet_temp with subdirectories

Re: [Puppet Users] storeconfigs: are there any benefits giving a client access to the dabase?

2012-09-17 Thread Nan Liu
On Mon, Sep 17, 2012 at 7:54 AM, marco wrote: > A coworker and me are currently trying out puppet (2.7). > > We enabled storeconfigs on client and server. > > The client has been given access to the mysql-db that the puppet-master uses > for storeconfigs. > The client does not have any manifests o

Re: [Puppet Users] Complex custom type?

2012-09-17 Thread Nan Liu
On Sun, Sep 16, 2012 at 2:23 PM, Jakov Sosic wrote: > On 09/16/2012 04:47 PM, Stefan Schulte wrote: > >> or the interface property could accept a hash. I have not tried it >> myself but it should work because the puppetlabs f5 type seems to use >> it: >> >> https://github.com/puppetlabs/puppetlabs

Re: [Puppet Users] Why agent report is so slow?

2012-09-17 Thread Daniel Pittman
The agent builds up an in-memory report no matter what; you can't avoid that. You could write a "null" report terminus that responds to save by simply discarding the data, though. That would remove the cost of YAML serialization. I guess the key question, though, is why you feel you need this?

Re: [Puppet Users] inheritance failure: duplicate declaration error

2012-09-17 Thread Guillaume Rousse
Le 17/09/2012 17:08, Stephen Gran a écrit : It looks like you're attempting to redeclare, rather than override, the plugin definition, as the error tells you. Try: Munin::Client::Plugin[postfix_mailqueue] { enable => "true" } Good catch... Thanks for your help. -- BOFH excuse #286: Telecomm

[Puppet Users] Re: Run Stages for Particular Modules

2012-09-17 Thread jcbollinger
On Monday, September 17, 2012 9:31:41 AM UTC-5, Alessandro Franceschi wrote: > > It feels like you're overusing a bit too much run stages... That's putting it mildly. > Read here for usage recommendations (and limitations): > http://docs.puppetlabs.com/puppet/2.7/reference/lang_run_stages.ht

Re: [Puppet Users] inheritance failure: duplicate declaration error

2012-09-17 Thread Stephen Gran
Hi, On Mon, 2012-09-17 at 16:51 +0200, Guillaume Rousse wrote: > Hello list. > > I've the following parent class: > > class munin::client { > > ... > > munin::client::plugin { "postfix_mailqueue": > name => "postfix_mailqueue", > enable => "false" > } > } >

Re: [Warning: Phish?] Re: [Puppet Users] Can puppet add repositories to nodes?

2012-09-17 Thread Sandra Schlichting
Hi Joe and Matt, Thanks a lot for both solutions!! I am actually going to use both as for normal hosts Joe's solution is good, and Matt's for LTSP clients =) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web v

[Puppet Users] storeconfigs: are there any benefits giving a client access to the dabase?

2012-09-17 Thread marco
A coworker and me are currently trying out puppet (2.7). We enabled storeconfigs on client and server. The client has been given access to the mysql-db that the puppet-master uses for storeconfigs. The client does not have any manifests on its local disk. If we run 'puppet agent' on this client,

[Puppet Users] inheritance failure: duplicate declaration error

2012-09-17 Thread Guillaume Rousse
Hello list. I've the following parent class: class munin::client { ... munin::client::plugin { "postfix_mailqueue": name => "postfix_mailqueue", enable => "false" } } And the following inherited class: class munin::client::plugins::postfix inherits munin::client

[Puppet Users] Re: How to recursively ship files while keeping their modes

2012-09-17 Thread Alessandro Franceschi
Have you tried to add: mode => undef, it might work (not tested). On Wednesday, September 12, 2012 9:43:58 PM UTC+2, Marc Haber wrote: > > Hi, > > I have defined a resource like this: > > file { "/etc/foo/conf.d" : > ensure => directory, > recurse =>

[Puppet Users] Re: Node collecting its own exported resource

2012-09-17 Thread jcbollinger
On Friday, September 14, 2012 11:51:34 AM UTC-5, Jon McKenzie wrote: > > It seems that nodes are not able to collect their own resource, but they > can collect every other resource, with a given tag. I've validated that all > of the appropriate resources exist > in the storeconfigs database. >

[Puppet Users] Re: Run Stages for Particular Modules

2012-09-17 Thread Alessandro Franceschi
It feels like you're overusing a bit too much run stages... Read here for usage recommendations (and limitations): http://docs.puppetlabs.com/puppet/2.7/reference/lang_run_stages.html You can more easily manage relationships inside a class (all the mysql steps can be managed inside the same mysql

[Puppet Users] Re: Do you rely on 'param=>undef' being equal to '(nothing)'?

2012-09-17 Thread jcbollinger
I expect param => undef to be an explicit expression of 'param' not being specified by the current declaration, or as an override, to express the idea of the overridden resource as if 'param' had not been specified. The latter is essential. The former follows for consistency, because foobar {

[Warning: Phish?] Re: [Puppet Users] Can puppet add repositories to nodes?

2012-09-17 Thread Matt Zagrabelny
On Mon, Sep 17, 2012 at 8:55 AM, Joe Topjian wrote: > Hi Sandra, > > The Puppet Apt module should be of some use: > > http://puppetlabs.com/blog/module-of-the-week-puppetlabs-apt-pull-apt-strings-with-puppet/ What I've done is use use file resources and the following apt locations: /etc/apt/sour

Re: [Puppet Users] Can puppet add repositories to nodes?

2012-09-17 Thread Joe Topjian
Hi Sandra, The Puppet Apt module should be of some use: http://puppetlabs.com/blog/module-of-the-week-puppetlabs-apt-pull-apt-strings-with-puppet/ Thanks, Joe On Mon, Sep 17, 2012 at 7:51 AM, Sandra Schlichting < littlesandr...@gmail.com> wrote: > Hi all, > > I would like to add two reposito

[Puppet Users] Can puppet add repositories to nodes?

2012-09-17 Thread Sandra Schlichting
Hi all, I would like to add two repositories to Ubuntu nodes apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" deb http://dl.google.com/linux/chrome/deb/ stable main and then import the key apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C

[Puppet Users] Re: Systems Provisioning

2012-09-17 Thread Keiran Sweet
Hi There, I manage a relatively large RHEL environment, we handle provisioning as follows: - PXE + Kickstart to bootstrap and install the base OS + Puppet client onto the platform, be it VMWare or bare metal - Kickstart post scripts put a basic puppet configuration file in place on the host, an

[Puppet Users] Re: Where puppet store the "source" files?

2012-09-17 Thread Martijn
I don't know where your Puppet gets that path from. I've never seen it before. Maybe the setting is specified in your config file. Run the following commands as the user that your puppetmaster uses: puppet --configprint modulepath This command will show in which directories Puppet looks for you

[Puppet Users] Re: Puppet ignoring ENC classes

2012-09-17 Thread Cosmin-Viorel Ilie
> > So just in case you have the same problem: > using : storeconfigs = true dbadapter = mysql dbname = puppet dbuser = puppet dbpassword = dbserver = localhost causes puppet master to ignore the ENC setting, however if i use: storeconfigs = true storeconf

Re: [Puppet Users] Help me name a class in the new puppetdb module!

2012-09-17 Thread Stefan Goethals
Why not simply puppetdb::server for the ... well, puppetdb server and puppetdb::client for... the client, as that is exactly what the puppetmaster is to puppetdb? Regards, Stefan. On Sat, Sep 15, 2012 at 4:03 PM, Ashley Penney wrote: > I kind of feel like the reason you're having a problem nam

Re: [Puppet Users] AW: Issue with large directory content

2012-09-17 Thread Bernd Adamowicz
On 09/14/2012 03:09 PM, jcbollinger wrote: > > > On Friday, September 14, 2012 6:14:37 AM UTC-5, badamowicz wrote: > > The other questions from all of you and finally Den's question, which > was: "Are you trying to set any permissions inside that directory > elsewhere in the manifest?

[Puppet Users] Re: Puppet ignoring ENC classes

2012-09-17 Thread Cosmin-Viorel Ilie
After some more trial and error i've managed to get this working if i disabled store configs, which is strange. Maybe i'm missing something but there is nothing in the documentation about not using store configs with ENC. On Friday, September 14, 2012 12:43:48 PM UTC+3, Cosmin-Viorel Ilie wrote

[Puppet Users] Re: Puppet ignoring ENC classes

2012-09-17 Thread Cosmin-Viorel Ilie
> > Any ideas on what is wrong with this setup and why the puppet master is > not even executing the external_nodes or logging any errors ? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://group

[Puppet Users] Re: Where puppet store the "source" files?

2012-09-17 Thread itJunky
My main issue it Where i can find directory "file_metadata"? If I learn it, i can edit auth.conf to it directory. пятница, 14 сентября 2012 г., 18:24:43 UTC+4 пользователь Cosmin-Viorel Ilie написал: > > I think you need to edit the auth.conf file to allow the puppet client > access. > > On Fri

Re: [Puppet Users] Why agent report is so slow?

2012-09-17 Thread flex
Thank you, Daniel. Then how can we make puppet not generate the reports? I try to add 'report=false', but seems no effect. On Sat, Sep 15, 2012 at 2:46 AM, Daniel Pittman wrote: > On Fri, Sep 14, 2012 at 3:16 AM, flex wrote: > > Thanks, Daniel. We do have some recursive file copies and hundreds