[Puppet Users] Puppet LVM create volume maximum size

2013-01-08 Thread ollies...@googlemail.com
Hello, Using the LVM module/providers from the forge I want to create a logical volume at the maximum size and I cannot work out how to do this. physical_volume - volume_group - logical_volume - filesystem - mount All works fine but you have to hard code the size for the logical volume.

Re: [Puppet Users] How manage xml elements as resources?

2013-01-08 Thread j4m3s
I started to look into this for JBoss - it uses an xml config file but the app itself makes changes to the file when you deploy an application (in domain mode) - so using the normal file resource in puppet simply wouldn't work. I found the Augeas documentation to be rather hard to get into (or

[Puppet Users] Re: Puppet LVM create volume maximum size

2013-01-08 Thread ollies...@googlemail.com
On Tuesday, January 8, 2013 9:21:54 AM UTC, olli...@googlemail.com wrote: Hello, Using the LVM module/providers from the forge I want to create a logical volume at the maximum size and I cannot work out how to do this. physical_volume - volume_group - logical_volume - filesystem - mount

Re: [Puppet Users] How to install a module from master to agent node?

2013-01-08 Thread Peter Bukowinski
No modules or classes are applied by default so you will need to tell puppet what to do. In this case, you can run the following from the agent (where module_class is the name of the class the module applies): puppet apply -e 'include module_class' Alternatively, you can put the following in

[Puppet Users] Re: How to install a module from master to agent node?

2013-01-08 Thread Brendan Murtagh
Hi Lalit, Once the SSL cert has been signed by the Master for the new Agent, you could then specify the agent node in the site.pp on the master run *puppet agent -d -tv *on the node on or use *puppet apply (* http://docs.puppetlabs.com/man/apply.html) and apply the module locally. -Brendan

[Puppet Users] Re: passing parameters

2013-01-08 Thread Michael Hüttermann
Hello, I don't get that example working. Looks like the variable is not set although facter lists it. In my manifest, I can access all Facter variables, but not the one I've defined the way described in your post and in the FAQ. It's empty. I'm on Puppet 2.7. What can be the reason? Thanks.

[Puppet Users] Is it possible to install Puppet Enterprise via Installer to a different directory

2013-01-08 Thread Brendan Murtagh
Hello, I was wondering if it was possible to use the puppet-enterprise-installer script and install PE into a different directory than /opt. The reason being is that we move /opt under a different partition create a symlink. Is it possible to specify a different path during the installation

[Puppet Users] Re: Using puppet to upgrade a package (e.g. php 5.4)

2013-01-08 Thread jcbollinger
On Monday, January 7, 2013 9:33:15 PM UTC-6, goo...@reetstreet.com wrote: On Centos 6.3, I have attempted to upgrade to php 5.4 using the following: yumrepo { epel-repo: baseurl = http://download.fedoraproject.org/pub/epel/6/\$basearch;, descr = Epel Repo,

Re: [Puppet Users] stdlib take almost 14 minutes to sync on CentOS Vagrant VM

2013-01-08 Thread jcbollinger
On Monday, January 7, 2013 3:03:06 PM UTC-6, Kirk Steffensen wrote: The second time it runs (with pluginsync enabled), it only pauses at the Info: Retrieving plugin notice for a few seconds. So, it sounds like the md5sum is not the bottleneck. Is it possible that you have a name

Re: [Puppet Users] WebRick role

2013-01-08 Thread jcbollinger
On Monday, January 7, 2013 11:44:00 AM UTC-6, Garrett Honeycutt wrote: Webrick is useful for doing a demo and learning about Puppet with a couple of nodes. It is not at all meant to scale and if you attempt to run your eight agents, you are likely to have performance issues. If this is

Re: [Puppet Users] How manage xml elements as resources?

2013-01-08 Thread Dominic Cleal
On 08/01/13 11:01, j4m3s wrote: I started to look into this for JBoss - it uses an xml config file but the app itself makes changes to the file when you deploy an application (in domain mode) - so using the normal file resource in puppet simply wouldn't work. I found the Augeas

[Puppet Users] Splunk Module Development Recommendations

2013-01-08 Thread Brendan Murtagh
Good morning, We've been testing PE and beginning developing modules for our infrastructure. One of the modules I'm looking to create is an installation for Splunk, with the primary focus at this time, on the Forwarder. I already have the splunkforwarder-5.0.1-143156-linux-2.6-amd64.deb

Re: [Puppet Users] Windows Puppet Agent Hangs on Run

2013-01-08 Thread phundisk
I tried the following config changes in stdlib (version v3.1.1) but it is still handing until I press enter during the puppet run. I was thinking about trying any of the following... Upgrading Ruby on the Windows machine Point the windows machine to another puppet server Run puppet via

Re: [Puppet Users] WebRick role

2013-01-08 Thread Nikola Petrov
On Tue, Jan 08, 2013 at 06:47:55AM -0800, jcbollinger wrote: On Monday, January 7, 2013 11:44:00 AM UTC-6, Garrett Honeycutt wrote: Webrick is useful for doing a demo and learning about Puppet with a couple of nodes. It is not at all meant to scale and if you attempt to run your

[Puppet Users] Problem: Managing F5 BIG-IP Network Devices with Puppet

2013-01-08 Thread MrTeleBird
Hello everyone! I am facing a problem by configuring the F5 Big-IP Module: http://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/ I installed GEM f5-icontrol on both, the master and the proxy. the file device.conf is configured on my proxy too. However, when i run: # puppet

Re: [Puppet Users] Problem: Managing F5 BIG-IP Network Devices with Puppet

2013-01-08 Thread Christopher Wood
(inline) On Tue, Jan 08, 2013 at 08:30:23AM -0800, MrTeleBird wrote: Hello everyone! I am facing a problem by configuring the F5 Big-IP Module: [1]http://puppetlabs.com/blog/managing-f5-big-ip-network-devices-with-puppet/ I installed GEM f5-icontrol on both, the master and

Re: [Puppet Users] Is it possible to install Puppet Enterprise via Installer to a different directory

2013-01-08 Thread Matthaus Owens
Brendan, Puppet Enterprise uses native packages to deliver all of its functionality. Those packages install to /opt/puppet and to change that would require rebuilding them. So changing the install path before or during installation isn't supported. Having said that, the source for all of the open

[Puppet Users] puppetdb dashboard

2013-01-08 Thread Luke
Hello, I am currently trying to get the puppetdb dashboard and the puppet dashboard working on the same system. Puppet dashboard is working great but after successfully installing puppetdb following puppet's opensource instructions the puppetdb dashboard just doesn't seem to exist (according

[Puppet Users] test my posts aren't going through

2013-01-08 Thread Luke
this is a test post -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/GqHKqnWHxpsJ. To post to this group, send email to puppet-users@googlegroups.com. To

Re: [Puppet Users] puppetdb dashboard

2013-01-08 Thread Ken Barber
I am currently trying to get the puppetdb dashboard and the puppet dashboard working on the same system. Puppet dashboard is working great but after successfully installing puppetdb following puppet's opensource instructions the puppetdb dashboard just doesn't seem to exist (according to some

Re: [Puppet Users] Splunk Module Development Recommendations

2013-01-08 Thread Darin Perusich
I've broken my splunk module in splunk::client for the forwarder and splunk::server for the server. Both inherit splunk which realizes the user and group, i don't let the splunk packages create them cuz they're created as non-system accounts which collide with ldap accounts, and creates the init

[Puppet Users] looping over directory array

2013-01-08 Thread Stefan Wiederoder
I´ve an application which has always the same directory structure: /some/where/app1/foo /some/where/app1/bar /some/where/app2/foo /some/where/app2/bar /some/where/app3/foo /some/where/app3/bar and so on. I´de like to set owner/group permissions while using a loop with an array: $path =

Re: [Puppet Users] How to use Agent on localized Windows?

2013-01-08 Thread Евгений Верещагин
Yes, this problem made impossible create (or use) non-ANSI file-names, folders, comment and other. It is very sad, my project stopped. Can I hope for the next bugfix release? четверг, 3 января 2013 г., 3:17:25 UTC+4 пользователь Josh Cooper написал: Hi Евгений, On Fri, Dec 21, 2012 at

Re: [Puppet Users] Re: Can Puppet alert about dead nodes?

2013-01-08 Thread Lucas Vickers
I enabled the dashboard for my project. We update 180 nodes in rapid succession. I found that the delayed dashboard workers were slowing my computer down even more than the puppet workers themselves. Very odd, but I did not put the time into seeing what the problem was. Given my specific

[Puppet Users] Re: looping over directory array

2013-01-08 Thread joe
Create a defined type and call it with the array of app names: define app_dirs { file {/some/where/${title}/foo: mode = '0644' } file {/some/where/${title}/bar: mode = '0644', } } app_dirs { apps: } On Tuesday, January 8, 2013 12:18:49 PM UTC-7, Stefan Wiederoder wrote: I´ve

Re: [Puppet Users] How to use Agent on localized Windows?

2013-01-08 Thread Josh Cooper
On Tue, Jan 8, 2013 at 11:35 AM, Евгений Верещагин e.verescha...@gmail.com wrote: Yes, this problem made impossible create (or use) non-ANSI file-names, folders Does this occur when using a simple file resource when owner, group and mode are not specified? If so, could you try the latest ruby

[Puppet Users] Re: looping over directory array

2013-01-08 Thread joe
Sorry, that should be app_dirs { $apps: } On Tuesday, January 8, 2013 12:59:49 PM UTC-7, joe wrote: Create a defined type and call it with the array of app names: define app_dirs { file {/some/where/${title}/foo: mode = '0644' } file {/some/where/${title}/bar: mode =

Re: [Puppet Users] puppetdb dashboard

2013-01-08 Thread Luke
Hi, Puppetdb service is running with java. If I do a curl against http://localhost:8080/dashboard/index.htmlhttp://puppetdbserver.com:8080/dashboard/index.html locally it works however if I do one against http://puppethostname:8080/dashboard/index.html it doesn't work. What is odd is that

Re: [Puppet Users] puppetdb dashboard

2013-01-08 Thread Stefan Goethals
You need to configure PuppetDB to listen on another address than localhost for the performance dashboard. http://docs.puppetlabs.com/puppetdb/1/configure.html#jetty-http-settings Regads, Stefan - Zipkid - Goethals On Tue, Jan 8, 2013 at 9:52 PM, Luke lutay...@gmail.com wrote: Hi, Puppetdb

[Puppet Users] Re: Managing core files using coreadm (Solaris + Puppet)

2013-01-08 Thread skhan@....
Did anyone ever get this working. I am also looking to modify the core parameters on my system. Any help would be appreciated. On Saturday, May 30, 2009 4:46:07 AM UTC-4, Greg wrote: Martin, I'm also not a fan of trying to retrofit stuff on top of undocumented features. My problem is

[Puppet Users] Variable parsing and resolving order...

2013-01-08 Thread mmcbride
Hi. I actually posted this question at the Puppet webinar. I am a software developer using puppet to automate the installation custom software. I had a question involving variable parsing order. It has been mentioned that Puppet variables are parse-order-dependent, though sometimes seems

[Puppet Users] Dynamic Environments and Hiera

2013-01-08 Thread Brad Ison
Hi, I've been using dynamic environments, one per Git branch, similar to what's described here: http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ I've come to really like that workflow, but I'm struggling with how best to integrate it with Hiera. In addition to short lived

[Puppet Users] New Trivial Patch Exemption Policy for open source contributions

2013-01-08 Thread Dawn Foster
I wanted to make sure that everyone was aware of a slight change we've made to the process for open source contributions. For *trivial* contributions, we are no longer requiring a Contributor License Agreement (CLA). Note that for most contributions a CLA signature is still required. I'm also

Re: [Puppet Users] Re: Managing core files using coreadm (Solaris + Puppet)

2013-01-08 Thread John Warburton
Whilst the format is undocumented, if you stick to what coreadm -p produces, you should be fine. It's just not really worth the hassle. Here's what we do: # The format of /etc/coreadm.conf is *undocumented* and subject to change # without notice, this *should* use coreadm(1) to check and

[Puppet Users] Question on defines.

2013-01-08 Thread jdehnert
I want to pass a few variables through to the other files in a module. I have a define statement that sets one default... define redis::install ( $port = 6397, $version ) What I am unclear on is how far does this define reach in my module? For instance, do I need to have everything that

Re: [Puppet Users] Re: Puppet LVM create volume maximum size

2013-01-08 Thread John Warburton
On 8 January 2013 22:22, ollies...@googlemail.com paul.seym...@barcap.comwrote: Never mind sorted it with the help of http://projects.puppetlabs.com/issues/14718 Nice one. I thought it was just my wrapper around it. The doc https://forge.puppetlabs.com/puppetlabs/lvmimplies setting size to

[Puppet Users] Announce: Puppet-Dashboard 1.2.18 Available [ Security Release ]

2013-01-08 Thread Matthaus Owens
Puppet Dashboard 1.2.18 is now available. This release of Puppet Dashboard addresses CVE 2013-0156. All users are strongly encouraged to update when possible. CVE-2013-0156 affects Ruby on Rails, specifically in all versions of ActionPack. The vulnerability exposes Rails to arbitrary SQL

[Puppet Users] Puppet Enterprise hotfixes for ActionPack vulnerability [ CVE-2013-0156 ]

2013-01-08 Thread Matthaus Owens
Good day, A security vulnerability has been discovered in Ruby on Rails, specifically in all versions of ActionPack. It is assigned CVE-2013-0156. The vulnerability exposes Puppet Dashboard to arbitrary SQL Injection. CVE details on the vulnerability can be found here:

[Puppet Users] Announce: PuppetDB 1.1.0-rc4 now available

2013-01-08 Thread Moses Mendoza
PuppetDB 1.1.0-rc4 is now available for download! This is a feature and bug-fix release candidate of PuppetDB. Note: Release candidates 1-3 were never pushed to repositories due issues in packaging that were discovered prior to release. RC-4 is the first packaged release candidate for PuppetDB

[Puppet Users] Difficulty debugging crashing PuppetDB

2013-01-08 Thread Cody Robertson
Hello! How is everyone this splendid evening? I've recently migrated to the latest Puppet and PuppetDB (using the build in database) however I'm noticing PuppetDB keeps crashing without any errors that I can find in the logs. I've ran it in the foreground using the puppetdb-foreground command

Re: [Puppet Users] Re: Getting Started with Hiera

2013-01-08 Thread Michael Hall
On Tuesday, December 25, 2012 at 8:21 PM, roadtest wrote: I wish hiera documentation can be brought up to date soon. That is sure to help many people who just start using hiera. We're a little further along today: We've added documentation for the Hiera command line tool, which is useful

[Puppet Users] (notice) : seltype changed

2013-01-08 Thread iamauser
Hello, I am noticing a change in the logging when I upgraded puppet-3.0.2.x from puppet-2.7.x. It shows up the following non-convergent message in every single puppet run. It would be nice to understand what change in the puppet version is causing this messge. Thanks for any suggestion or

[Puppet Users] How to do partial update for my configurations?

2013-01-08 Thread Hai Dinh Tuan
Hi, I have some trouble in working with Puppet and really need your help. The situation is: I have a configuration file, with two parts: One part is need to be updated from Puppet Master. Another part is some agent-based configuration and I don't want it to be updated from Puppet Master. I

[Puppet Users] Regd:Change of Login Message

2013-01-08 Thread yarlagadda ramya
*Hi all, Can some one please help me with this Declare a file resource in a manifest and apply it! Try changing the login message by setting the content of /etc/motd.* -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion

Re: [Puppet Users] Re: Puppet LVM create volume maximum size

2013-01-08 Thread James A. Peltier
On 8 January 2013 22:22, ollies...@googlemail.com paul.seym...@barcap.com wrote: | | Never mind sorted it with the help of | | http://projects.puppetlabs.com/issues/14718 | | Nice one. I thought it was just my wrapper around it. The doc implies | setting size to undef, which I've never been

Re: [Puppet Users] Problem: Managing F5 BIG-IP Network Devices with Puppet

2013-01-08 Thread MrTeleBird
Hi Christopher, yes I installed F5-IControl gem on both, my puppet server and the proxy system. Is your puppet server the same machine as your proxy system?? Yes, I do have the file /etc/puppet/modules/f5/lib/puppet/util/network_device/f5/device.rb but I have it on the machine running as