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

2013-10-14 Thread Rahul Khengare
Hi Yan, Can you provide details about your manifests. May be manifests helps us to find the solution to problem. Thanks and Regards, Rahul Khengare NTT DATA OSS Center, Pune, India. On Saturday, October 12, 2013 6:22:00 AM UTC+5:30, Yan Xiaofei wrote: Hello After add some packagelist

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

2013-10-14 Thread Gonzalo Servat
Hi All, I am using Puppet 3.2.4 and I'd like Puppet to manage /etc/hosts for me and add neighbouring hosts only to /etc/hosts. These hosts are determined to be neighbours based on where they are (city/country). For example ($::city and $::country are custom facts): @@host { $::fqdn: ip

Re: [Puppet Users] LAMP stack with strange dependencies

2013-10-14 Thread Harm De Weirdt
Indeed, I should have paid more attention t the actual error. Thanks for the info. Harm On Sunday, October 13, 2013 9:18:37 PM UTC+2, Ramin K wrote: On 10/13/2013 1:47 AM, Harm De Weirdt wrote: Hello everyone. I've been toying around with puppet and something happened that seems

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

[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

[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 a...@lab42.it 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

[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

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: [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 a...@lab42.itjavascript: 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,

[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] 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

[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

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

2013-10-14 Thread R.I.Pienaar
- Original Message - From: JuanBrein juan.br...@gmail.com 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

[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 experiment.

[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'

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

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

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: ensure

[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: 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 kl...@enableit.dk 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

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 glenn.sar...@gmail.com 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

[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

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 john.bollin...@stjude.org wrote: On Sunday, October

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] 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