[Puppet Users] Re: Puppet and installing packages from source

2013-01-04 Thread magic . rh
I understand exactly what source packages do, if it makes it easier for you I'll call them tar.gz files. Also, I don't find your comparison valid, as the result of package installation be it yum or ./configure && make && make install is the same: software being installed. My meaning is that com

Re: [Puppet Users] Re: Puppet and installing packages from source

2013-01-04 Thread R.I.Pienaar
- Original Message - > From: "magic rh" > To: puppet-users@googlegroups.com > Sent: Friday, January 4, 2013 9:39:53 AM > Subject: [Puppet Users] Re: Puppet and installing packages from source > > I understand exactly what source packages do, if it makes it easier for you > I'll call the

Re: [Puppet Users] Have Puppet *call* REST APIs

2013-01-04 Thread Craig Dunn
I hope this is just not my Google-fu lacking, but can you configure Puppet modules to make REST API calls inherently with Puppet? I'm talking about 3rd party REST APIs, not Puppet's API. I'm thinking of rolling my own plugin, but wondered if I'm missing something here. Can you provide a

[Puppet Users] How to clone alfresco on puppet agents?

2013-01-04 Thread lalit jangra
Hi, I have alfresco installed on my puppet master & try to clone it using puppet console to puppet agent nodes but under 'live management' link, i can not see any of package/group/user/host resources named similar to alfresco even though i can see postgres package resource but no java/alfresco

Re: [Puppet Users] Re: puppet master keeps spawning new child processes

2013-01-04 Thread alcc
Disabling puppet dashboard helped - 12 hours without any "frozen" 100% child process. Now investigating if it's dashboard's external node command. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit http

Re: [Puppet Users] How to automate agent installation on nodes

2013-01-04 Thread Ohad Levy
On Fri, Jan 4, 2013 at 9:23 AM, Nilesh wrote: > Thanks for the reply :) > > I am using vCenter as a provisioing engin . > > I will try this option and let you know ... > You can try Foreman[1], which among of its features, it creates your vm, install its os and deploy puppet, later on it can mon

[Puppet Users] Module for tuned-adm

2013-01-04 Thread Romain Pelisse
Hi all, tuned-adm module: https://github.com/rpelisse/puppet-tuned I'm using tuned-admto tune the kernel of the target system according to a profile. I first used exec{} to trigg

[Puppet Users] puppetlabs-mysql module

2013-01-04 Thread treydock
You can supply values to override those defined in /etc/my.cnf by adding files to /etc/mysql/conf.d. The module makes the overrides possible with the default configuration in my.cnf, I believe the IncludeDir line. Using phone so difficult to reference. - Trey -- You received this message b

[Puppet Users] Re: Internal server error

2013-01-04 Thread earthgecko
Hi Mamta This is not really a puppet issue, you have no space left on the device. What puppet master files can you delete, well reports would be one, if you have them enabled and if you wanted to. They normally reside: /var/lib/puppet/reports//*.yaml However you may want the data in the futur

[Puppet Users] Re: Puppet and installing packages from source

2013-01-04 Thread Hans van der Made
On Friday, January 4, 2013 10:39:53 AM UTC+1, magi...@gmail.com wrote: > > I understand exactly what source packages do, if it makes it easier for > you I'll call them tar.gz files. > Also, I don't find your comparison valid, as the result of package > installation be it yum or ./configure && m

[Puppet Users] Re: Multiple Requires not allowed, not sure what this is for...

2013-01-04 Thread Hans van der Made
On Wednesday, January 2, 2013 4:33:36 PM UTC+1, jcbollinger wrote: > You may also want to consider whether you want to establish relationships > with the config class, or whether it would be as good or better to > establish them with particular resources declared by that class (e.g. > File['/

[Puppet Users] Re: Configuration is not applied notice: Finished catalog run in 0.01 seconds

2013-01-04 Thread jcbollinger
On Thursday, January 3, 2013 9:08:48 AM UTC-6, Aleksandar Nikolic wrote: > > Hi guys, > > I am fairly new to puppet and I am having a problem with one of the > clients. I recently installed a new server that should get config from > puppet master. All similar servers I recently installed didn't

Re: [Puppet Users] Have Puppet *call* REST APIs

2013-01-04 Thread Rob Johnson
Hi Craig, Thanks for your reply. I'm looking to post requests to a server that configures properties of that server after standing it up. So, I would envision sending requests from puppet master in this case to one server. It would happen likely after a bunch of other installations occurred f

Re: [Puppet Users] Schedule yum update not found

2013-01-04 Thread jcbollinger
On Thursday, January 3, 2013 9:37:49 AM UTC-6, Kazor wrote: > > Hello, > I resolved the structure inside my init.pp, but the command in the puppet > agent fails: > > [………] > Jan 3 12:25:45 mail2 puppet-agent[31902]: (/Stage[main]/Updateso/Exec[yum > --exclude=drbd* --exclude=kernel* --exclude=

[Puppet Users] Re: Failed when searching for node : Failed to find via exec: Execution of '/usr/share/puppet-dashboard/bin/external_node

2013-01-04 Thread jcbollinger
On Thursday, January 3, 2013 6:30:33 AM UTC-6, al...@gmx.de wrote: > > Seeing this a lot lately, restarting puppet master service usually > resolves it: > > Jan 3 13:17:01 puppet-master[24120]: (// agent>/Puppet) Could not retrieve catalog from remote server: Error 400 on > SERVER: Failed whe

[Puppet Users] Hiera hashes and arrays in ERB templates

2013-01-04 Thread Andy Taylor
Hi, I'm trying to build a module for haproxy which fetches all the configuration data from Hiera to populate the haproxy config file. I've run into a number of issues though when I try to use hashes. Ideally, I want to use something like this: haproxy_listeners : "cluster1" : ip : '192.168.

Re: [Puppet Users] Schedule yum update not found

2013-01-04 Thread Miguel Angel Coa Morales
Hello jcbollinger, I resolved the problem with "sudo" in the command syntax . [………...] class updateso { schedule{ weekly: range => "14 - 16", repeat => 2, } exec { "sudo yum --exclude=drbd* --exclude=kernel* --exclude=mysql* --exclude=php* update -y": user => root

Re: [Puppet Users] How do I check content of a file in puppet

2013-01-04 Thread pdiddy
Any thoughts guys... On Wednesday, January 2, 2013 11:05:41 AM UTC-5, pdiddy wrote: > > When I build the server I make sure it meets all the compliance > requirements (ex: PermitRootLogin, login banner). However, I would like to > double check those compliance requirements on daily basis through

[Puppet Users] Re: Hiera hashes and arrays in ERB templates

2013-01-04 Thread llowder
On Friday, January 4, 2013 9:11:28 AM UTC-6, Andy Taylor wrote: > > Hi, > > I'm trying to build a module for haproxy which fetches all the > configuration data from Hiera to populate the haproxy config file. I've run > into a number of issues though when I try to use hashes. Ideally, I want to

Re: [Puppet Users] How to clone alfresco on puppet agents?

2013-01-04 Thread Ryan Coleman
Hello, In the future, you may want to pose questions like this to the PE-Users list as live management is a Puppet Enterprise feature. There are likely more people on that list who can directly help with those kinds of questions. On the machine alfresco is installed on, can you inspect the curren

[Puppet Users] ParsedFile & Multi-line...

2013-01-04 Thread Gavin Williams
Afternoon all, I'm currently working on adding oranfstab support to Puppet-Oracle (https://github.com/stschulte/puppet-oracle). However I'm struggling to get my head around how I can get Puppet parsedfile to work with multi-line configurations... An example oranfstab configuration block is:

Re: [Puppet Users] Hiera hashes and arrays in ERB templates

2013-01-04 Thread Wolf Noble
not sure if this is the "best" way to do this, but, taking from a different module I have: hiera yaml: snmp_filesystems: root: { mountpoint: '/', threshold: '10%' } snmp_collector: test: { ip:'1.2.3.4', group: 'readonly', community: 'somecommunity' }

[Puppet Users] Re: Hiera hashes and arrays in ERB templates

2013-01-04 Thread Gavin Williams
I'm with Andy on this one... I'm doing something very similar with my NetApp volume provider (https://github.com/fatmcgav/fatmcgav-netapp/). I've created a define with the following contents: define util::netapp::volume ( $ensure = present, $size, $aggr = 'aggr1',

[Puppet Users] Re: Hiera hashes and arrays in ERB templates

2013-01-04 Thread Andy Taylor
Thanks for your suggestions guys. I did consider using create_resource, but don't see how I can when I'm trying to apply this Hiera data to a single file. To expand on my initial post, what I need to do is create multiple config blocks within one file resource. So this Hiera data: haproxy_liste

Re: [Puppet Users] How to clone alfresco on puppet agents?

2013-01-04 Thread Ken Barber
I don't think Alfresco is shipped as a formal OS package. It's just a tarball with an installer script last time I looked, I remember some third-party efforts back in the 2.x days but nothing formal from the company itself (at least not when I worked on Alfresco). Live management only deals with pr

RE: [Puppet Users] Re: Hiera hashes and arrays in ERB templates

2013-01-04 Thread Steven Nemetz
I'm using stdlib to help with this $listeners = hiera('haproxy_listeners', undef)$listener_keys = keys($listeners) then pass $listener_keys to a define to create all the instances The entre hash is in memory ($listeners) and the define will have the key it is working on ($name)So you can access

Re: [Puppet Users] Puppet 3.0: Not authorized to call find on /file_metadata, more issues?

2013-01-04 Thread Eric Sorenson
On Jan 3, 2013, at 2:02 PM, Forrie wrote: > I see the ChangeLog in 3.0.2 and this bug is still not addressed? Is there > a technical problem that is not yet resolved, or is this just a matter of > priority and time. Forrie this is on the table for 3.1 which will have a Release Candidate bui

[Puppet Users] How to manage one line in a file by puppet

2013-01-04 Thread Andreas Hilboll
Hi, I want to write a puppet module for xen on Debian. This module will need to manage one line in the file /etc/default/grub, namely the line starting with "GRUB_CMDLINE_XEN=". Currently I want to leave the rest of the file untouched. Which would be the best way to do this? I see two options:

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

2013-01-04 Thread phundisk
Can anyone make sense of the output below? I am still experiencing this error. Does this require any configuration change on the puppet server? On Friday, December 21, 2012 4:45:30 PM UTC-5, phundisk wrote: > > Hi Josh! > > Making the changes and running the command I got the following... (I ma

Re: [Puppet Users] How to manage one line in a file by puppet

2013-01-04 Thread Stephen Jahl
> Hi, > > I want to write a puppet module for xen on Debian. This module will need > to manage one line in the file /etc/default/grub, namely the line > starting with "GRUB_CMDLINE_XEN=". Currently I want to leave the rest of > the file untouched. > > Which would be the best way to do this? > W

Re: [Puppet Users] How to manage one line in a file by puppet

2013-01-04 Thread Roman Shaposhnik
Hi! On Fri, Jan 4, 2013 at 9:46 AM, Andreas Hilboll wrote: > Hi, > > I want to write a puppet module for xen on Debian. This module will need > to manage one line in the file /etc/default/grub, namely the line > starting with "GRUB_CMDLINE_XEN=". Currently I want to leave the rest of > the file u

Re: [Puppet Users] How to manage one line in a file by puppet

2013-01-04 Thread Dan White
http://docs.puppetlabs.com/references/latest/type.html#augeas http://forge.puppetlabs.com/puppetlabs/stdlib (file_line with match parameter) “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 (Calv

Re: [Puppet Users] How to manage one line in a file by puppet

2013-01-04 Thread Jerald Sheets
I'm doing this with the augeas piece like so: augeas { 'make_grub_verbose': context => '/files/etc/grub.conf', changes => [ 'rm hiddenmenu', 'rm splashimage', ], } You should be able to use those features as you like. --Jer

Re: [Puppet Users] How to manage one line in a file by puppet

2013-01-04 Thread Andreas Hilboll
Thanks guys, you're amazing :) While augeas looks like a powerful tool, I went for the quick'n'easy file_line resource, with a match parameter to ensure the parameter isn't set multiple times. Cheers, have a nice weekend! Andreas. Am 04.01.2013 20:06, schrieb Stephen Jahl: >> Hi, >> >> I want to

[Puppet Users] Re: Puppet3 CSW packages for Solaris

2013-01-04 Thread Phips
Hey Alex, Thanks - I've known for a long time the SMF manifests aren't right, but the CSW build process has made it hard to resolve. This is good motivation to finally sort it properly. I'll post a note when it's sorted. --Mark On Thursday, January 3, 2013 12:39:52 AM UTC, Alex Box wrote: > >

[Puppet Users] Re: Hiera hashes and arrays in ERB templates

2013-01-04 Thread jcbollinger
On Friday, January 4, 2013 9:11:28 AM UTC-6, Andy Taylor wrote: > > Hi, > > I'm trying to build a module for haproxy which fetches all the > configuration data from Hiera to populate the haproxy config file. I've run > into a number of issues though when I try to use hashes. Ideally, I want to

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

2013-01-04 Thread Josh Cooper
On Friday, January 4, 2013 11:01:00 AM UTC-8, phundisk wrote: > Can anyone make sense of the output below? I am still experiencing this > error. Does this require any configuration change on the puppet server? > > On Friday, December 21, 2012 4:45:30 PM UTC-5, phundisk wrote: >> >> Hi Josh! >>