Re: [Puppet Users] Re: Duplicate exported resources
I didn't know there was such a difference between exporting the ensure and setting it when collecting, I thought it was supposed to be the same thing ... Anyways, I fixed this but I still see the error happening from time to time, got a few of those this morning: Oct 30 07:34:16 ubuntu puppet-master[10501]: Exported resource Host[proxy4] cannot override local resource on node lb2 Oct 30 07:34:16 ubuntu puppet-master[10501]: Exported resource Host[proxy4] cannot override local resource on node lb2 Oct 30 07:34:17 ubuntu puppet-master[10337]: Exported resource Host[proxy4] cannot override local resource on node lb5 Oct 30 07:34:17 ubuntu puppet-master[10337]: Exported resource Host[proxy4] cannot override local resource on node lb5 Oct 30 07:34:19 ubuntu puppet-master[10337]: Exported resource Host[proxy4] cannot override local resource on node lb3back This is the new manifest: proxy* servers: @@host { $hostname: comment = $hostname, ip = $ec2_local_ipv4, name = stable_host$proxy_id, tag = production-proxy, ensure = present, } lb* servers: Host | tag == production-proxy | { } Host | tag ==backup-proxy | { } Still no idea why this is happening. I have some hosts that sometime change their IP address and I have to sync this with the other servers. Is it possible that the cause is that there is already a host record in the /etc/hosts file that has another IP address in it? (Although I'd assume puppet should just change it and not take it as a local resource...) I'd appreciate the help, quite desperate about this... Thanks! On Thu, Oct 27, 2011 at 3:10 PM, jcbollinger john.bollin...@stjude.orgwrote: On Oct 27, 2:23 am, Galed Friedmann galed.friedm...@onavo.com wrote: Hmm.. I'm not setting up local Host resources any where in the manifests, my nodes only collect the exported resources. Almost all of my nodes are exporting their Host resource, and I have several hosts that collect the resource according to their tag name: Host | tag == production-proxy | { ensure = present, } Host | tag ==backup-proxy | { ensure = present, } This also happens to me for an Opsviewmonitored resource I'm exporting, which is being collected only by one server that has no local resources like this set.. Then perhaps you're collecting the same resource twice. I wouldn't normally expect that to be a problem, but when you add property overrides to the mix then that could change things. Even if the overrides match. That also ties in even closer to the error messages, which mention overriding. Why do you need to override 'ensure' anyway? Can't you just export it with that 'ensure' value in the first place? John -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] rpm packages for el4
On Thu, Oct 27, 2011 at 2:04 AM, Arnau Bria arnaub...@pic.es wrote: Mike, where is the tarball for 2.6.12-2 ? There is no tarball for 2.6.12-2. The tarball is 2.6.12. The -2 is the release (basically the packaging version). See http://en.wikipedia.org/wiki/RPM_Package_Manager#Description for more information about number with rpm. I can't find it at http://downloads.puppetlabs.com/puppet/ Cheers, Arnau -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Rules for numerical variable use
Need help with Geppetto issue #226 regarding rules for numerical variables - https://github.com/cloudsmith/geppetto/issues/226 This is to allow geppetto to correctly validate their use. Help much appreciated. Regards - henrik -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Basic questions about puppetlabs-java
Hi, new user here. I've installed puppet, rubygems, puppet-module and the puppetlabs-java module on my OpenSUSE 11.4 system. When I do: puppet apply java/manifests/init.pp ... nothing happens. I was expecting output telling me my system is unsupported, but I don't even see that. Nothing on the console, nothing in /var/log/puppet. Both --debug and --version are unenlightening. 1. What am I missing? It's obviously something simple. 2. I've explored the java module contents and despite it being mentioned on the module's page (http://forge.puppetlabs.com/puppetlabs/ java) I can't see the code which actually does anything with the rpm extracted from jdk-6u25-linux-x64-rpm.bin, which I downloaded from Oracle. 3. Why do I even have to say puppet apply java/manifests/init.pp? I thought manifests/init.pp was a default and would get automatically executed by if I just said puppet apply java. Cheers, Robert. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: Basic questions about puppetlabs-java
Some progress... On Oct 31, 1:07 pm, Robert Atkins snikta.tre...@gmail.com wrote: I've installed puppet, rubygems, puppet-module and the puppetlabs-java module on my OpenSUSE 11.4 system. When I do: puppet apply java/manifests/init.pp ... nothing happens. I was expecting output telling me my system is I've now realised I can't use the class directly, but have to include it from my own manifest file. This I've done; I've now gotten as far as receiving the expected error message, modifying the java module to include OpenSuSE as an RPM-style system, and getting zypper complain No provider of 'jdk' found. I had to manually move the java and stdlib classes into /usr/share/ puppet/modules though. Shouldn't puppet-module put them there automatically? Cheers, Robert. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.