[Puppet Users] Importing declarations into node/class scope

2013-09-06 Thread Stepan Seycek
Hello Puppet Users, I am trying to find a solution for the following use case: On a web server I want to manage many virtual hosts. Instead of declaring all these hosts inside one single class (and therefore file) I would prefer to have one vhost declaration per file and then import the

[Puppet Users] Solaris useradd uses /export/home and not /home

2013-09-06 Thread Andreas Dvorak
Dear all I have puppet 3.2 running and have a module to install user. On Linx user are created in /home but on Solaris it wants to create them in /export/home. I don't understand why. class admin_user::group { group { baaderadm: gid = 888, ensure = present, } } class

Re: [Puppet Users] Solaris useradd uses /export/home and not /home

2013-09-06 Thread Dick Davies
/export/home and /home are odd on solarises. what you could try is managehome = false and create the directory itself with puppet. file { /home/$username: ensure = directory, } On 6 September 2013 12:43, Andreas Dvorak andreas.dvo...@googlemail.comwrote: Dear all I have puppet

[Puppet Users] Re: Custom Function that uses powershell

2013-09-06 Thread Alessandro Franceschi
Functions are executed on the PuppetMaster when compiling the catalog. I don't think you can. You may try some workaround calling a powershell command from a custom fact and use the fact value to manage your logic. On Thursday, September 5, 2013 6:32:21 PM UTC+2, carllindelof wrote: Hi All,

Re: [Puppet Users] Re: --graph Node[somethingwronghere]

2013-09-06 Thread jcbollinger
On Thursday, September 5, 2013 10:00:34 AM UTC-5, ureal frank wrote: On Thu, Sep 5, 2013 at 2:25 PM, jcbollinger john.bo...@stjude.orgjavascript: wrote: On Wednesday, September 4, 2013 11:40:01 AM UTC-5, ureal frank wrote: Hi, I am trying to debug some abnormal behavior here

Re: [Puppet Users] Solaris useradd uses /export/home and not /home

2013-09-06 Thread Andreas Dvorak
Hi Dick, thank you for the help, but it did not change anythink. The error mesage stays exactly the same. Puppet ignores the setting of the home variable. Now I have created the missing home directory in /export and the user is created, but in the wrong directory. Best regards Andreas --

[Puppet Users] Re: Importing declarations into node/class scope

2013-09-06 Thread jcbollinger
On Friday, September 6, 2013 1:48:45 AM UTC-5, Stepan Seycek wrote: Hello Puppet Users, I am trying to find a solution for the following use case: On a web server I want to manage many virtual hosts. Instead of declaring all these hosts inside one single class (and therefore file) I

Re: [Puppet Users] agent will not run

2013-09-06 Thread Werner Flamme
Werner Flamme [28.08.2013 13:18]: Hi, I wonder why the puppet agent on the server itself will not run: ---snip--- # puppet agent --test Error: Could not run Puppet configuration client: Puppet::Node does not respond to from_s; can not intern instances from text/plain Error: Could not

[Puppet Users] Configuring a Windows Domain Controller (DC) using puppet

2013-09-06 Thread Rich Siegel
I wrote this for managing dns. https://github.com/rismoney/puppet-windns If you want to build a dc, dcpromo creates and uses a scripted unattended file.http://technet.microsoft.com/en-us/library/cc732887.aspx You could easily use an exec resource to run dcpromo. Use an unless param script to

Re: [Puppet Users] migrating to puppetdb

2013-09-06 Thread Darin Perusich
Hi Ken, Adding the storeconfigs setting to [main] got things working. This sounds like an bug/issue to me, or at a minimum something that needs to be specified int he documentation. I'll file and issue. Thanks! -- You received this message because you are subscribed to the Google Groups

[Puppet Users] clone system configuration with puppet

2013-09-06 Thread Marcus Schäfer
Hi, I'm new to puppet, read a bit about it and tried a few things out. It's really a great piece of work. Thanks for doing all this. As part of my work I'm leading the opensource kiwi project which is a plain appliance builder and one aspect of the project is also to help people in migrating a

[Puppet Users] puppetlabs/puppetdb module when using passenger for master

2013-09-06 Thread Pete Hartman
I'm working on configuring a master in a lab environment, using Puppet Open Source. My master is running RHEL 6. I want to use modules to manage the master itself as much as possible, so I can use puppet to bootstrap itself as I go forward and move into production. Using puppetlabs/puppetdb

RE: [Puppet Users] clone system configuration with puppet

2013-09-06 Thread Steven Nemetz
Puppet only knows about what it is managing or auditing. So, it will always be limited by what it is told to look at. While you might be able to do something using the audit feature, I would not recommend it. As it will never be complete for your purpose. I'd recommend looking at blueprint.

RE: [Puppet Users] clone system configuration with puppet

2013-09-06 Thread Steven Nemetz
Found the other one. It is pysa Links for both: Blueprinthttps://github.com/devstructure/blueprinthttp://devstructure.com/blueprint/ Pysahttp://pypi.python.org/pypi/Pysahttp://github.com/MadeiraCloud/pysa Steven From: snem...@hotmail.com To: puppet-users@googlegroups.com Subject: RE: [Puppet

[Puppet Users] puppet agent modules/ manual pull

2013-09-06 Thread Tony Caffe
Hi, I have puppet running just for a group of 5 servers. I am planning for increase and thus why I am starting now with puppet. I have only one github puppet module, puppet-timezone, as default for all nodes and is currently the only module even set up. This is key for our scripts to run.

[Puppet Users] FreeBSD facts for RAID

2013-09-06 Thread Gabriel Filion
Hello there, I'm looking to configure nagios checks for software RAID on FreeBSD. I've found the following nagios plugin which seems to work well: http://exchange.nagios.org/directory/Plugins/Operating-Systems/BSD/FreeBSD/check_geom-2Esh/details now I need to discover what RAID devices are

Re: [Puppet Users] Re: Puppet dashboard stuck pending jobs

2013-09-06 Thread Sean Penticoff
I ran into this as a result of the output of failed deps on a yum install and had a couple jobs that just wouldn't go away. After fixing the condition creating the error I used /usr/bin/rake jobs:clear to clear out the delayed_job queue and everything was back to normal. -- You received this

Re: [Puppet Users] puppetlabs/puppetdb module when using passenger for master

2013-09-06 Thread Ken Barber
1) I had to set max-threads higher than my CPU count in /etc/puppetdb/conf.d/jetty.ini before I could get jetty to behave well. I haven't yet determined if there is a way through the puppetdb module to manage this directly--I plan to dig on that, but if someone knows off the top of their

Re: [Puppet Users] puppetlabs/puppetdb module when using passenger for master

2013-09-06 Thread Pete Hartman
Yes, I did set the max-threads count manually. I'm pretty green, and I'm under a fairly aggressive schedule, so I'm not very likely to file a patch soon, but maybe once I get through the next two months.I expect not to be so green by then :-). In the meantime I will work out a workaround. I