Re: [Puppet Users] params pattern when writing modules

2013-08-14 Thread Alessandro Franceschi
A small note on params.pp, even if I've largely used it in the Example42 modules there are cases where it's totally uneffective, for example when you've to define there a parameters whose value may change according to another parameter the user may pass to init.pp An example is here:

[Puppet Users] Puppet, Facter, looping through IPs

2013-08-14 Thread Christian Reiß
Hello all, I am trying to set up ssh keys (sshkeys) for populate /etc/ssh/ssh_known_hosts. So far it works great, but I want to have aliases for all ips online on that host. Two problems: - The assumption is that the interface count and names are unknown. There can be one eth or many, none

Re: [Puppet Users] Got a SOGo Puppet module?

2013-08-14 Thread Thomas Bendler
You realize users and groups without creating them ( http://docs.puppetlabs.com/guides/virtual_resources.html). Regards Thomas -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send

[Puppet Users] puppetdoc discards documentation having hash value in class.

2013-08-14 Thread Sneha More
Hi, I am generating rdoc by puppet doc, but it is not creating documentation for the class having hash values. Is there any way to solve this problem? Regards, Sneha More. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

[Puppet Users] Re: puppetdoc discards documentation having hash value in class.

2013-08-14 Thread Sneha More
Hi, I would like to give the example for the problem i am facing # Define: # common::def_ifcfg_bond # # Parameters: # device_bond:ifcfg-bondX DEVICE # bond_conf :ifcfg_bond configuration parameter # userctl :ifcfg-bondX USERCTL # onboot

Re: [Puppet Users] Puppet, Facter, looping through IPs

2013-08-14 Thread Dan White
This might be better done with a shell script that calls facter “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) - Original Message - From: Christian Reiß

[Puppet Users] Re: puppet-3.2.2 runs fine - but doesn't work. 2.7.22 works fine.

2013-08-14 Thread Klavs Klavsen
I switched to running webbrick instead of passenger - and it runs perfectly. I'll try to go through my passenger setup on other puppetmasters that run 3.x - and see if I can find any differences. -- You received this message because you are subscribed to the Google Groups Puppet Users group.

[Puppet Users] how to fix: Warning: calling Plugins.search with empty module path

2013-08-14 Thread Klavs Klavsen
Just setup Puppet 3.2.2 - with debug enabled in passenger, it complains about this: Warning: calling Plugins.search with empty module path and it does seem to not find any modules, nor plugins. how do I fix that warning? -- You received this message because you are subscribed to the Google

[Puppet Users] Environments; function error

2013-08-14 Thread Gregory Orange
Hi all, We have two environments: production (containing one module) and experimental (two modules, one the same name as the module in production). All of our other modules are in the main module directory. Agent runs complete fine in the production environment, but not when switched to

[Puppet Users] Replace file based on content

2013-08-14 Thread redalert . commander
Hi, I wanted to know if there is an easy way to replace a file in puppet (using the file directive) but only when a certain string exists. My use case: I have a package that installs a config file, I want to replace that file with puppet, but I in normal operation the application may also

[Puppet Users] Re: Puppet, Facter, looping through IPs

2013-08-14 Thread jcbollinger
On Wednesday, August 14, 2013 5:20:41 AM UTC-5, Christian Reiß wrote: Hello all, I am trying to set up ssh keys (sshkeys) for populate /etc/ssh/ssh_known_hosts. So far it works great, but I want to have aliases for all ips online on that host. Two problems: - The assumption is that

[Puppet Users] Re: Collector not realizing own exported resources when filtering on tags

2013-08-14 Thread jcbollinger
On Tuesday, August 13, 2013 12:29:51 PM UTC-5, Chuck Bredestege wrote: I'm trying to create a ssh class where the /etc/ssh/ssh_known_hosts and /etc/ssh/shosts.equiv stays updated. The issue i'm finding is that if I include a tag == anything in the Collector filter, it collects all

[Puppet Users] Re: Problem with variable scope in Defined Types

2013-08-14 Thread jcbollinger
On Tuesday, August 13, 2013 9:59:22 PM UTC-5, Ygor wrote: I have a problem with variables in defined types. I have dug a hole consisting of three levels of nested defines as in --- class users { ... }

Re: [Puppet Users] Puppet runs extremly slow on 1 of 18 Windows Server

2013-08-14 Thread Sean Wolf
I ran into this same problem, and pe_compliance was the culprit-- took 120 seconds. Removing this class from the default group and re-running puppet made it run quickly again. On Monday, October 1, 2012 2:08:08 PM UTC-6, Josh Cooper wrote: On Mon, Sep 3, 2012 at 2:07 AM, David Schmitt

Re: [Puppet Users] Re: Installing Packages from puppet files

2013-08-14 Thread Dan M
Alternatively, you can use two-step approach to install RPM located at Puppet Master: 1. Copy the rpm file from Puppet Master to Puppet Agent 2. Install the rpm file on Puppet Agent from local path This looks like following: class ...{ ... package { 'python-boto': ensure = installed,

[Puppet Users] Mcollective: remote commands

2013-08-14 Thread Sergey Arlashin
Hi! Is it possible to use Mcollective to run different cli commands remotely on nodes? Cannot find anything related in the documentation. -- Best regards, Sergey Arlashin -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

[Puppet Users] Can't remove a physical_volume from a volume_group

2013-08-14 Thread F. Y.
Hello, I have this bit of code that tries to remove a physical volume from the VG (which consists of /dev/sda5 amd /dev/sdb1): volume_group { system: ensure = absent, physical_volumes = /dev/sdb1,

Re: [Puppet Users] Can't remove a physical_volume from a volume_group

2013-08-14 Thread Ramin K
On 8/14/2013 2:33 PM, F. Y. wrote: Hello, I have this bit of code that tries to remove a physical volume from the VG (which consists of /dev/sda5 amd /dev/sdb1): volume_group { system: ensure = absent,

[Puppet Users] Re: introducing puppetboard 0.0.1

2013-08-14 Thread Daniele Sluijters
Hey, Good catch, I'll get that fixed asap. -- Daniele Sluijters On Tuesday, 13 August 2013 22:36:35 UTC+2, Ellison Marks wrote: Er, excuse me, I misspoke. As it is it relies on having python 2.7+, not 3 for the formatting. Still, the Redhat family, by default, is still on 2.6. On

Re: [Puppet Users] Re: Problem with variable scope in Defined Types

2013-08-14 Thread Dan White
On Aug 14, 2013, at 2:13 PM, jcbollinger wrote: On Tuesday, August 13, 2013 9:59:22 PM UTC-5, Ygor wrote: I have a problem with variables in defined types. I have dug a hole consisting of three levels of nested defines as in --- snip The