Re: [Puppet Users] exporting custom facts to puppet agents

2013-10-14 Thread Sans
Yes, the file is only on the master (and not exactly maintained by the Puppet but the provisioning framework) and it looks something like this: Slackware, Linux, i-num=1 > Jaguar, MacX, i-num=6 > Chicago, this_Win, i-num=2 > Daytona, an_other_Win, i-num=7 > RedHat, Linux, i-num=5 > Lion, MacY,

Re: [Puppet Users] Re: Status of Data in modules

2013-10-14 Thread David Schmitt
On 14.10.2013 16:16, jcbollinger wrote: So the proposed solution at this point is: - enable an implicit data-binding lookup against the hiera-puppet backend for a value of 'classname::variable' in the file 'modules/classname/manifests/params.pp', which simplifies class definit

Re: [Puppet Users] Re: Managing /etc/hosts without using exported resources

2013-10-14 Thread Gonzalo Servat
Hi Juan, Thanks for your reply. I was going to look into using stored configs with MySQL as per your suggestion, until I saw R.I.Pienaar's email :( Yes, I would certainly use DNS if I could, but unfortunately DNS is not an option in this setup. I think I will have to either parse files (eek) or

Re: [Puppet Users] exporting custom facts to puppet agents

2013-10-14 Thread Cristian Falcas
i understood that the file is only on the master? If so, I will try to write something tomorrow to implement this, If the value never changes, it will be better to put it in an external variable. On Mon, Oct 14, 2013 at 6:03 PM, jcbollinger wrote: > > > On Sunday, October 13, 2013 4:53:10 PM UTC

[Puppet Users] Puppet Dashboard Radiator view thru iframe

2013-10-14 Thread Matt Shields
Is it possible to create an iframe in an html page and display the Radiator view in the Puppet Dashboard? For some reason all my other NOC iframe's are displaying with the exception of the Radiator view Matt -- You received this message because you are subscribed to the Google Groups "Puppet U

Re: [Puppet Users] Why does the Puppet-Agent on Windows use a batch file?

2013-10-14 Thread Josh Cooper
Hi Glenn, On Sun, Oct 13, 2013 at 6:28 PM, Glenn Sarti wrote: > Why does the Puppet-Agent on Windows use a batch file? > Because the service and command line invocations, e.g. puppet apply, both need to setup their environment to run ruby, e.g. RUBYLIB, etc. The easiest way to do that was to cr

Re: [Puppet Users] Re: External Facts on Windows with Powershell

2013-10-14 Thread Josh Cooper
Hi Klavs, On Mon, Oct 14, 2013 at 12:48 AM, Klavs Klavsen wrote: > Also of note.. facts.d support is broken in windows 2003 :( (and it breaks > puppet - so it won't even run) - see > http://projects.puppetlabs.com/issues/22622 > > -- > You received this message because you are subscribed to the

[Puppet Users] Re: mcollective setup question

2013-10-14 Thread John Gelnaw
Was there ever a solution to this issue? I appear to be having a similar (if not the same) issue: By adding some debug code to client.rb, it appears that the replies I'm getting have no requestid at all. < Log.warn("Ignoring a message that did not pass security validations") --- >

Re: [Puppet Users] Re: Duplicate declaration for files.

2013-10-14 Thread Miguel Angel Coa M.
Hello, I fix "the problem" with a case statement: [...] class baseos::rhel-hosts { case $fqdn { 'new-node.example.com': { file { "/etc/hosts": ensur

Re: [Puppet Users] exporting custom facts to puppet agents

2013-10-14 Thread jcbollinger
On Sunday, October 13, 2013 4:53:10 PM UTC-5, Sans wrote: > > Hi Cristian, > > That sounds a workable solution. > Unlikely. Custom functions run on the master during catalog compilation. If you need data from a local file on the node to compute the correct value for your erstwhile $::am_run

Re: [Puppet Users] puppet class if

2013-10-14 Thread jcbollinger
On Friday, October 11, 2013 8:59:10 AM UTC-5, Werner Flamme wrote: > > I'm not Jakub (the OP), it is not my problem. > > I'm only the one who wanted to know where the "couple of errors" are. > > Peter was mistaken. There are no actual errors in the OP's manifest, and it might work in some en

[Puppet Users] Re: Duplicate declaration for files.

2013-10-14 Thread jcbollinger
On Friday, October 11, 2013 11:24:44 AM UTC-5, mike wrote: > > Hello, > I'm configuring my linux server with puppet open and is ok. My question is > the next; I've a declared in mi nodes.pp the next: > > [.] > node 'basenode' { > include 'baseos' > include 'motd' >

[Puppet Users] Re: Status of Data in modules

2013-10-14 Thread jcbollinger
On Friday, October 11, 2013 1:09:23 PM UTC-5, Eric Sorenson wrote: > > > Thanks to everyone who kicked the tires on the experimental data in > modules feature included in Puppet 3.3.0. We got a lot of feedback, some > cool proof-of-concept modules, and a definitive conclusion to the > experime

Re: [Puppet Users] Re: Managing /etc/hosts without using exported resources

2013-10-14 Thread R.I.Pienaar
- Original Message - > From: "JuanBrein" > To: puppet-users@googlegroups.com > Sent: Monday, October 14, 2013 12:45:05 PM > Subject: [Puppet Users] Re: Managing /etc/hosts without using exported > resources > > Hi Gonzalo, > > First of all you don't need puppetdb to use exported resou

[Puppet Users] Re: Managing /etc/hosts without using exported resources

2013-10-14 Thread JuanBrein
Hi Gonzalo, First of all you don't need puppetdb to use exported resources. A simple mysql database will do it, even sqlite works, not recommended though. Specifically what you need is "stored configs" configured in your puppet master. The problem with exported resources is that sometimes they

[Puppet Users] puppet-dashboard cert::create_key_pair and cert::request fails

2013-10-14 Thread Robert Schaffar-Taurok
Hi! I am already successfully using puppet with puppet-dashboard in my environment and would like to extend this to display the facts in puppet-dashboard. I understand that I need a puppetdb for that. Which I installed and I already get successfull log messages there that facts are stored. So u

[Puppet Users] Re: Custom type and provider development

2013-10-14 Thread Ringo De Smet
Rich, On Sunday, 7 April 2013 08:04:52 UTC+2, Rich Siegel wrote: > > In other news, I am about to mark functional the baremetal build. I > managed to inject puppet/facter into WinPE and can take a host through a > fully unattended install of win2008r2 including manage unattend.xml as a > file

[Puppet Users] A standard way to manage monitoring/firewalling in modules

2013-10-14 Thread Alessandro Franceschi
During the works on stdmod naming conventions I wondered if we could find a non intrusive and standard way to allow management of monitoring and firewalling for modules. Since there's not a single solution to that and it would be quite hard to find a shared approach in a reasonable time I though

[Puppet Users] Re: [Puppet-dev] Status of Data in modules

2013-10-14 Thread Alessandro Franceschi
On Monday, October 14, 2013 9:19:10 AM UTC+2, Erik Dalén wrote: > > > > > On 13 October 2013 12:40, Alessandro Franceschi > > wrote: > >> Thanks for the update Eric, very useful to understand the ongoing works >> on data in modules. >> >> On Friday, October 11, 2013 9:01:19 PM UTC+2, Dan Bode w

Re: [Puppet Users] Re: External Facts on Windows with Powershell

2013-10-14 Thread Klavs Klavsen
Also of note.. facts.d support is broken in windows 2003 :( (and it breaks puppet - so it won't even run) - see http://projects.puppetlabs.com/issues/22622 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop

[Puppet Users] Re: Duplicate declaration for files.

2013-10-14 Thread Rahul Khengare
Hello Mike, Here the baseos file[/etc/hosts] resource get propagated to all the nodes because of inheritance. You again changing the same file in "newnode.example.com" again. Puppet does not allow to edit the same file twice (same resource again) in single run. Work around to that, Create a

[Puppet Users] Re: [Puppet-dev] Status of Data in modules

2013-10-14 Thread Erik Dalén
On 13 October 2013 12:40, Alessandro Franceschi wrote: > Thanks for the update Eric, very useful to understand the ongoing works on > data in modules. > > On Friday, October 11, 2013 9:01:19 PM UTC+2, Dan Bode wrote: > >> >> >> >> On Fri, Oct 11, 2013 at 11:09 AM, Eric Sorenson > > wrote: >> >>>

[Puppet Users] Why does the Puppet-Agent on Windows use a batch file?

2013-10-14 Thread Glenn Sarti
Why does the Puppet-Agent on Windows use a batch file? I posted a question in the Ask PuppetLabs section and was directed to create post here as well; https://ask.puppetlabs.com/question/3506/why-does-the-puppet-agent-on-windows-use-a-batch-file/ Original question The

Re: [Puppet Users] Re: Warning: appears to have a negative number of dependencies

2013-10-14 Thread Yan Xiaofei
Hello I resolved the problem. I define same packages in deferent modules, and some dependences to these packages. Delete multiple package define, the warning message was gone. Cheers Xiaofei 于 2013/10/14 14:12, Rahul Khengare wrote: > Hi Yan, > Can you provide details about your manifests. May