Re: [Puppet Users] puppet parser order random

2014-12-12 Thread 巨海录
i have to read Henrik's http://puppet-on-the-edge.blogspot.com/2014/04/getting-your-puppet-ducks-in-row.html carefully, and this is what i want to know, thanks you very much! 2014-12-11 22:25 GMT+08:00 Martin Alfke tux...@gmail.com: On 11 Dec 2014, at 14:56, jcbollinger

Re: [Puppet Users] puppet parser order random

2014-12-12 Thread 巨海录
Is ::ntp:install just a typo? It looks like it should be ::ntp::install (two colons between ntp and install). yes, it is a typo. 2014-12-12 17:59 GMT+08:00 巨海录 linuxcpp@gmail.com: i have to read Henrik's

[Puppet Users] Running future parser in production

2014-12-12 Thread Erik Dalén
Just wanted to say that we have now switched completely to the future parser at Spotify, and it is working well. Still have some work to do to take advantage of all the new stuff, it is still mostly the old manifests running on the new parser. We had some syntax fixes we had to make to get it

[Puppet Users] puppet agent restarting everyday?

2014-12-12 Thread Suresh P
Hi, Why puppet agent restarting everyday at 00:01 hours? [2014-11-29 00:01:02] INFO WEBrick::HTTPServer#start: pid=31285 port=8139 [2014-11-30 00:01:01] INFO WEBrick::HTTPServer#start done. [2014-11-30 00:01:02] INFO WEBrick::HTTPServer#start: pid=13866 port=8139 [2014-12-01 00:01:01] INFO

Re: [Puppet Users] class{'apache::mod::pagespeed':} woes

2014-12-12 Thread Felix Frank
Hi, what do you mean by 'parent class'? From looking at the source, it seems that the apache::mod::pagespeed class is not related to class apache at all. Parameter values for the latter will not apply to the former. Could this be your problem? I'm a little confused by the phrasing of the error

Re: [Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2014-12-12 Thread Felix Frank
On 12/09/2014 02:28 PM, cko wrote: Hi, I'm currently having an issue with the Windows Server 2008R2 nodes in our Exchange 2010 environment. Since I upgraded the four nodes to Puppet 3.7.3 , they do not check in to the Puppetmaster via the Windows Service every 30 minutes like all the

Re: [Puppet Users] How to force resigning of existing certificate

2014-12-12 Thread Felix Frank
Hi, to re-iterate the point: Doing this is a Very Bad Idea in terms of security. If you don't care at all, the script would look like the following. PHP pseudocode example, choose your poison at will, of course. ?php system('sudo puppet cert clean ' . $_GET['node']); You can invoke it e.g.

Re: [Puppet Users] Unparsable version range: 3.x

2014-12-12 Thread Felix Frank
On 12/10/2014 02:08 AM, Sebastian Otaegui wrote: Hello, I have created this module https://forge.puppetlabs.com/spantree/phpldapadmin some time ago. I tested it with 3.6.2 and 3.7.3 and it has no issues doing puppet module install spantree/phpldapadmin I have a user reporting that

Re: [Puppet Users] Passing exe switches on Windows

2014-12-12 Thread Felix Frank
On 12/10/2014 12:23 PM, cko wrote: /package { 'signotec WinUSB':/ /ensure = '1.0.4',/ /source = E:/signotec_WinUSB_1.0.4_64Bit.exe,/ /install_options = ['/S', '/vn'],/ /}/ Any ideas how to work around this issue? Hi, I don't really see how using `ensure = version`

Re: [Puppet Users] exec statement in puppet

2014-12-12 Thread Felix Frank
On 12/10/2014 04:37 PM, Spriya wrote: Hi, I tried to place a command in exec statement. when the command is executed successfully can we stop getting notice message. If the command in exec statement fails then only i need to get notice messages. Is there a way we can do that? Hi, no,

Re: [Puppet Users] Reading configuration from UI.

2014-12-12 Thread Felix Frank
On 12/10/2014 06:35 PM, gloste...@gmail.com wrote: Hi, I am new to puppet infrastructure. I have a requirement where i need to read configuration from an User Interface and apply them dynamically to the process/application which uses puppet framework for configuration purpose. Could

Re: [Puppet Users] class{'apache::mod::pagespeed':} woes

2014-12-12 Thread Craig Dunn
I believe you are probably not declaring class { '::apache': } anywhere, or it is declared after ::apache::mod::pagespeed, which means that $::apache::mod::pagespeed::apache_version is nil (since the default doesn't exist when the class is parsed), that's causing nil to be sent to versioncmp() in

[Puppet Users] How to solve $concat_basedir not defined error?

2014-12-12 Thread Haani Niyaz
Hi there, I'm fairly new to puppet I am attempting to setup a dashboard for puppetdb. I came across puppetexplorer and wanted to trial it out. I attempted to install puppetexplorer by doing the following: puppet module install spotify-puppetexplorer #Added puppetexplorer to my puppet node

[Puppet Users] Sign certificate from a fingerprint - not hostname

2014-12-12 Thread Sven R
Hello, is there a possibility to sign the new puppet agents by only using their fingerprints and no usage of the hostname? Thanks in advantage! -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving

[Puppet Users] Declaring $stage as a class param

2014-12-12 Thread Jeff
For reasons I wont go into, it looks like I need to start using stages. I have a few classes which i need to apply before doing anything in the 'main' stage. My problem is that I'm assigning classes using an enc (foreman) so assigning the stage to an assigned class is not as straightforward as

Re: [Puppet Users] puppet agent restarting everyday?

2014-12-12 Thread Dirk Heinrichs
Am 12.12.2014 um 13:17 schrieb Suresh P: Why puppet agent restarting everyday at 00:01 hours? [2014-11-29 00:01:02] INFO WEBrick::HTTPServer#start: pid=31285 port=8139 [2014-11-30 00:01:01] INFO WEBrick::HTTPServer#start done. That's not the agent, it's the master. Logrotate cronjob

[Puppet Users] Install puppet agent on non-domain joined Windows box?

2014-12-12 Thread Charlie Baum
I don't know if I'm missing something obvious here or what, but I can't figure out how to get a Windows server that is a member of a workgroup to install puppet client and pull recipes from the puppet master. The default Local System account has no network access. Network Service account

[Puppet Users] Re: multiple if statement in facter

2014-12-12 Thread jcbollinger
On Thursday, December 11, 2014 3:15:47 PM UTC-6, Spriya wrote: [...] it throwing me an error near elseif statement. Check a Ruby tutorial or reference. You have misspelled elsif. John -- You received this message because you are subscribed to the Google Groups Puppet Users group.

[Puppet Users] Re: Puppet management with ldap authentication

2014-12-12 Thread jcbollinger
On Thursday, December 11, 2014 11:08:37 AM UTC-6, pjot...@gmail.com wrote: Do you recommend using ldap authentication for users or groups puppet management ? This depends a lot on the requirements of your organization and its existing infrastructure and internal expertise. There are many

[Puppet Users] Re: Unparsable version range: 3.x

2014-12-12 Thread Sebastian Otaegui
I tried this on a vanilla system myself and could reproduce :) I'll check On Friday, December 12, 2014, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 12/10/2014 02:08 AM, Sebastian Otaegui wrote: Hello, I have created this module

Re: [Puppet Users] Passing exe switches on Windows

2014-12-12 Thread Rob Reynolds
On Wed, Dec 10, 2014 at 5:23 AM, cko dert...@gmail.com wrote: Hi, I'm trying to get the following manifest to work on a Windows Server 2008R2 node: *package { 'signotec WinUSB':* * ensure = '1.0.4',* * source = E:/signotec_WinUSB_1.0.4_64Bit.exe,* * install_options =

Re: [Puppet Users] Passing exe switches on Windows

2014-12-12 Thread cko
It turned out that it was a small typo in the documentation of the .exe file. I resolved this issue by simply providing the correct switches to the install_options parameter. Thanks! On Friday, December 12, 2014 5:50:06 PM UTC+1, Rob Reynolds wrote: On Wed, Dec 10, 2014 at 5:23 AM, cko

[Puppet Users] variable server in puppet.conf does not work

2014-12-12 Thread Josse B
Hello guys, I'm installing puppet for the first time and i'm already struggleling to follow the proper first steps. On my agent node if i launch it with the command below everything goes well : ec2-user@ip-172-31-39-127:/etc/puppet puppet agent --test

Re: [Puppet Users] Client self-deregistration from PuppetDB

2014-12-12 Thread Matt W
Thanks... I got a few private responses as well that all seemed to be in-line with what I figured we needed to do. Its entirely reasonable for us to have our clients 'curl ...' out to some endpoint to remove themselves at shutdown time. The concern I have is that I'd like to keep our clients

Re: [Puppet Users] Passing exe switches on Windows

2014-12-12 Thread Josh Cooper
On Fri, Dec 12, 2014 at 8:59 AM, cko dert...@gmail.com wrote: It turned out that it was a small typo in the documentation of the .exe file. I resolved this issue by simply providing the correct switches to the install_options parameter. Can you provide details about what was wrong with the

[Puppet Users] Re: [Puppet-dev] Running future parser in production

2014-12-12 Thread Trevor Vaughan
Hi Erik, Do you have any plans for a blog post on what it took to get switched? Almost everything that I've tried has worked well with my biggest issue being String Integer to bare Integer comparison situations. Thanks! Trevor On Fri, Dec 12, 2014 at 2:59 AM, Erik Dalén

Re: [Puppet Users] problem with windows client

2014-12-12 Thread Josh Cooper
On Wed, Dec 10, 2014 at 1:35 AM, Gianmarco Carrieri gianmarco.carri...@gmail.com wrote: Hi all, sorry if this is a repost, i need to use a windows env in the configuration of puppet. this is a piece of my conf: file { Mozilla: ensure = directory,

Re: [Puppet Users] Running future parser in production

2014-12-12 Thread Henrik Lindberg
On 2014-12-12 2:59, Erik Dalén wrote: Just wanted to say that we have now switched completely to the future parser at Spotify, and it is working well. Still have some work to do to take advantage of all the new stuff, it is still mostly the old manifests running on the new parser. We had

Re: [Puppet Users] Client self-deregistration from PuppetDB

2014-12-12 Thread Martijn
Matt, I'd be very interested in that 'cert-api' endpoint code once you've had a chance to work on this. Is there a change you could open-source that? I think it would be very useful to the community, even if it is imperfect. Hope you'll consider it, Martijn Op vrijdag 12 december 2014 18:18:47

[Puppet Users] Re: Declaring $stage as a class param

2014-12-12 Thread jcbollinger
On Friday, December 12, 2014 6:00:08 AM UTC-6, Jeff wrote: For reasons I wont go into, it looks like I need to start using stages. Do be certain to be clear, for you own sake: you have decided that run stages are the best solution to your problem. No one *needs* run stages, but they are

[Puppet Users] Re: How to force resigning of existing certificate

2014-12-12 Thread Martijn
Here's an archive.org copy of the Posterous article you linked: https://web.archive.org/web/20130304065656/http://glarizza.posterous.com/managing-puppet-ssl-certificates It provides some example code that may be helpful to you. Regards, Martijn Op dinsdag 9 december 2014 23:54:19 UTC+1

Re: [Puppet Users] variable server in puppet.conf does not work

2014-12-12 Thread Ramin K
On 12/12/14 9:18 AM, Josse B wrote: Hello guys, I'm installing puppet for the first time and i'm already struggleling to follow the proper first steps. On my agent node if i launch it with the command below everything goes well : ec2-user@ip-172-31-39-127:/etc/puppet puppet agent --test

Re: [Puppet Users] How to solve $concat_basedir not defined error?

2014-12-12 Thread Hunter Haugen
The concat_basedir custom fact comes from the concat module https://forge.puppetlabs.com/puppetlabs/concat so on the agent, if you can run `facter concat_basedir` then puppet should be able to pick it up. It looks like you do have the concat module installed at /etc/puppet/modules/concat, and if

[Puppet Users] Re: Declaring $stage as a class param

2014-12-12 Thread Jeff
Hi John, Thanks for the detailed reply, see comments below. Jeff On Friday, 12 December 2014 18:43:15 UTC, jcbollinger wrote: On Friday, December 12, 2014 6:00:08 AM UTC-6, Jeff wrote: For reasons I wont go into, it looks like I need to start using stages. Do be certain to be clear,

Re: [Puppet Users] Notification for new Certificate request

2014-12-12 Thread Kevin Corcoran
On Thu, Dec 11, 2014 at 12:26 AM, Martin Alfke tux...@gmail.com wrote: AFAIK there is no cert sign request notification directly built into puppet. Martin is correct; this functionality is not built into puppet. -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] problem with windows client

2014-12-12 Thread Felix Frank
On 12/12/2014 07:03 PM, Josh Cooper wrote: The constants are defined in the win32-dir gem[1]. Aweseome! path = $::local_appdata;$path Wait, shouldn't this be path = [ $local_appdata, $path ] The semicolon would end the resource declaration I believe. Cheers, Felix -- You received this

Re: [Puppet Users] problem with windows client

2014-12-12 Thread Josh Cooper
On Fri, Dec 12, 2014 at 1:49 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 12/12/2014 07:03 PM, Josh Cooper wrote: The constants are defined in the win32-dir gem[1]. Aweseome! path = $::local_appdata;$path Wait, shouldn't this be path = [ $local_appdata, $path ] The

Re: [Puppet Users] How to solve $concat_basedir not defined error?

2014-12-12 Thread Haani Niyaz
Thanks for the info. `facter concat_basedir` returns empty. `puppet plugin download` returns 'no plugins downloaded.' On Saturday, 13 December 2014 06:27:55 UTC+11, Hunter Haugen wrote: The concat_basedir custom fact comes from the concat module

Re: [Puppet Users] problem with windows client

2014-12-12 Thread Felix Frank
On 12/12/2014 11:01 PM, Josh Cooper wrote: path = [ $local_appdata, $path ] The semicolon would end the resource declaration I believe. Actually it supports both! So either an array or a string whose components are delimited with the platform-specific separator:

[Puppet Users] newbie having troubles getting started: where is puppetmasterd?

2014-12-12 Thread Jeff Silverman
I am trying to build a puppet system for the first time, and I am having a problem creating my puppet.conf file. I am working on Ubuntu 12.04 LTS for my puppet master, and Centos 7 for my agents. Insofar as I can tell, there is no certificate on the puppet master. The reason why I think so

Re: [Puppet Users] Sign certificate from a fingerprint - not hostname

2014-12-12 Thread Felix Frank
On 12/12/2014 01:30 PM, Sven R wrote: Hello, is there a possibility to sign the new puppet agents by only using their fingerprints and no usage of the hostname? Thanks in advantage! Hi, the CN of the certificate is chosen through the *certname* option for the agent. The default for this

Re: [Puppet Users] newbie having troubles getting started: where is puppetmasterd?

2014-12-12 Thread Matthaus Owens
puppetmasterd was removed for the Puppet 3 series. The equivalent command should be `puppet master --genconfig /etc/puppet/puppet.conf`. Hope that helps. On Fri, Dec 12, 2014 at 4:25 PM, Jeff Silverman jeffsilv...@gmail.com wrote: I am trying to build a puppet system for the first time, and I