[Puppet Users] PXP Agent few questions

2016-10-05 Thread Adrian Mikołajczyk
I need to set up a PXP Agent and i have few questions: - Is any good documentation online for pxp agent? - what doing in pxp agent pcp broker and pcp client is the pcp broker something like middleware in mcollective and pcp client is something like mcollective client? - what is required for set

[Puppet Users] Hiera subkeys lookup should be configurable

2016-01-28 Thread Adrian Muraru
Hi guys, Hiera 3 apparently breaks old yaml configuration where keys are containing "." char. I filed https://tickets.puppetlabs.com/browse/HI-496. Is it just me seeing this issue? thanks, adrian -- You received this message because you are subscribed to the Google Groups &qu

[Puppet Users] Hiera 3.X subkeys lookup

2015-12-07 Thread Adrian Muraru
With the addition of subkeys lookup, e.g. hiera('a.b.c'), those yaml configuration files already including top level keys with a "." in the key name are rendered invalid. Is there a way to disable subkey lookup support on demand for a given backend? thanks, adrian -

[Puppet Users] Could not find dependency File[/etc/snmp/snmpd.conf]

2012-12-01 Thread Adrian Dybwad
apply catalog: Could not find dependency File[/etc/snmp/snmpd.conf] for Service[snmpd] at /etc/puppetlabs/puppet/modules/snmp/manifests/init.pp:25 Why is the puppet agent unable to find this file? Is this possibly an older class not designed for PE 2.7? Thank you Adrian -- You received this

[Puppet Users] Re: Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
their state effectively (which so far they do)? Admittedly, I have been using execs for things like my make, make install, etc... It just seems like the repo notification is the major obstacle even with a custom resource to manage the state of the build. Adrian On Tuesday, October 9, 2012 3:

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
details of providers. If you know where I would start I would be happy to troubleshoot issues with the vcsrepo git provider as they come up. Thanks, Adrian On Tuesday, October 9, 2012 3:39:48 PM UTC+1, Ramin K wrote: > > On 10/9/2012 7:25 AM, Adrian Webb wrote: > > Are you sure th

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
Are you sure this notify is only triggered when there is an actual change in the repo (working copy has changed) or is it when the vcsrepo resource is executed like most notify's? On Tuesday, October 9, 2012 3:18:48 PM UTC+1, Ramin K wrote: > > On 10/9/2012 6:40 AM, Adrian

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
, October 9, 2012 2:40:04 PM UTC+1, Adrian Webb wrote: > > Unfortunately what I need is a little more abstract because I have rolled > my definition into a module that is used by other modules. Below is my > definition (that does not work as intended) right now > >

Re: [Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
mode => '0755', content => template($post_update_template), subscribe => Vcsrepo[$repo_dir], } } As you can see I use the vcsrepo module to update my repo and then desire to send a notify up to the caller through the parameters. So my real problem is how t

[Puppet Users] Question about conditional exec notifications

2012-10-09 Thread Adrian Webb
only after repository updates). In my case I normally build into release directories so absolutely can not afford to rebuild on every puppet execution which runs every 5 minutes. Thanks for any help you can provide! Adrian -- You received this message because you are subscribed to the G

[Puppet Users] Re: "varargs" usage in Parameterized Classes

2012-09-25 Thread Adrian Muraru
myhash => {}) { > ... > } > > and I use the class like this: > myclass { "myclass" : > myhash => { "mykey" => "myvalue" }, > } > > works like a charm. > > > HTH, > Axel. > > > Am Montag, 24. Septem

[Puppet Users] "varargs" usage in Parameterized Classes

2012-09-24 Thread Adrian Muraru
Is it possible to define a parametrized class but allowing variable number of arguments? thanks, adrian -- 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/pu

[Puppet Users] Using array's in Puppet (in combination with Augeas).

2011-12-02 Thread Adrian van Dongen
I searched the documentation, google and the google-group but there seems to be no way of iterating over an array or even get the size of an array. So now I am kind of stuck. I could write a separate define for the up rules but I would rather have this within the define for interfaces. I am pro

Re: [Puppet Users] service status doing strange stuff

2011-11-10 Thread Adrian Casajús
(monit etc.) > that I want to use service scripts with. > > On Thu, Nov 10, 2011 at 11:05 AM, Adrian Casajús wrote: >> Hi all, >> >>   Puppet gets stuck in one machine after the line >> >> debug: Service[nis](provider=redhat): Executing '/sbin/servic

[Puppet Users] service status doing strange stuff

2011-11-10 Thread Adrian Casajús
Hi all,   Puppet gets stuck in one machine after the line debug: Service[nis](provider=redhat): Executing '/sbin/service ypbind status' if I run by hand '/sbin/service ypbind status' it works properly: [root@host ~]# /sbin/service ypbind status ypbind (pid  12605) is running... [root@host ~]# e

[Puppet Users] Override values from default node inheritance (variable scoping).

2011-10-12 Thread Adrian van Dongen
override the values with an default node of should we leave everything that isn't a "true default" outside of the default node. Thanks you in advance for you answer. Regards, Adrian. Templates.pp: node default_template { ... include resolver resolver::resolv_conf { "company

Re: [Puppet Users] Custom provider works only immediately after sync

2011-08-29 Thread Adrian Casajús
Hi, Thanks! It worked. I clearly overlooked that bit. Cheers, Adri On 28 August 2011 22:29, Stefan Schulte wrote: > On Sun, Aug 28, 2011 at 01:16:25PM +0200, Adrian Casajús wrote: >> Hi again, >> >>  I just checked and both files are rb files: >> >> /et

Re: [Puppet Users] Custom provider works only immediately after sync

2011-08-28 Thread Adrian Casajús
ugust 2011 13:01, Adrian Casajús wrote: > Hi, > >  Thanks for the tip. I'll try that out on monday :) > > Cheers, > Adri > > On 27 August 2011 00:21, Stefan Schulte > wrote: >> On Fri, Aug 26, 2011 at 08:13:03AM -0700, Adrian Casajús wrote: >>> H

Re: [Puppet Users] Custom provider works only immediately after sync

2011-08-28 Thread Adrian Casajús
Hi, Thanks for the tip. I'll try that out on monday :) Cheers, Adri On 27 August 2011 00:21, Stefan Schulte wrote: > On Fri, Aug 26, 2011 at 08:13:03AM -0700, Adrian Casajús wrote: >> Hi all, >> >>  I've got a custom type with a single custom provider. I'

[Puppet Users] Custom provider works only immediately after sync

2011-08-26 Thread Adrian Casajús
Hi all, I've got a custom type with a single custom provider. I've got enabled pluginsync in both client and server. When I run the puppet agent in the client it syncs the type and the provider and properly executes them. But if I execute the agent again it will tell me err: Could not run Puppet

[Puppet Users] web app deployment on a Debian server

2011-02-23 Thread Adrian Tofan
the each server. The third issue is how to do production deployments manually / or how to trigger them when wanted. What I can mention is that we have a 4-5 servers with only two of them being in production. We do have a couple of php applications which we intend to package them for debian(de

[Puppet Users] Re: override inheritance oddness

2011-01-17 Thread Adrian Bridgett
t's possible. Ah, interesting - I hadn't appreciated that, it seems a bit of a shame in some ways. That explains what I'm seeing. One reason for the slight oddness here and setting defaults was to all a more standardised approach in how we write modules - to avoid missing

[Puppet Users] override inheritance oddness

2011-01-17 Thread Adrian Bridgett
Maybe I'm going a little nuts, this behaviour seems odd to me (and inconsistent). I have a puppet class like this: class puppet::config { File { owner => "puppet", notify => Service["puppet"], } file { "/etc/puppet/puppet.conf": content => template("puppet/puppet.conf"), }

[Puppet Users] Re: Considerations for puppet/cluster to manage 6000 hosts.

2011-01-11 Thread Adrian Bridgett
It may also be worth looking at some form of improved scheduling in order to avoid a thundering herd of requests to your puppetmasters. One option that looks interesting (about to try it myself) is to use mcollective: http://www.devco.net/archives/2010/03/17/scheduling_puppet_with_mcollective.ph

[Puppet Users] Re: puppetdoc - referring to main class

2011-01-06 Thread Adrian Bridgett
Posted 5mins too early, found the answer. Hopefully this will help someone else. # See example[link:classes/example/example.html] HTH, Adrian -- 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] puppetdoc - referring to main class

2011-01-06 Thread Adrian Bridgett
verted into two separate hyperlinks, both to classes/example.html. This is using puppet 2.6.4-0.5-el5 and ruby-rdoc 1.8.5-5.el5_4.8 on RHEL 5. Thanks, Adrian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, se

Re: [Puppet Users] source /etc/profile

2010-12-15 Thread Adrian Tofan
Here is what I managed to do: I was forced to replace package {"buildr":ensure=>installed} with : $java_home = "/usr/lib/jvm/java-1.5.0-sun" exec { install_buildr: command => "echo 'export JAVA_HOME=$java_home;gem install -y buildr'|/bin/bash", path => "/us

Re: [Puppet Users] Re: source /etc/profile

2010-12-15 Thread Adrian Tofan
Thank you for an interesting idea , > Hi Adrian, > > I'm not sure but I imagine by just trying to 'source' the profile within the > current puppet runtime the scope will be lost as it would be called within an > exec? > > Obviously if you are not worried

[Puppet Users] source /etc/profile

2010-12-14 Thread Adrian
am not sure what can I do ... Thank you, Adrian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-user

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Adrian Tofan
am looking forward to find it ;) Adrian On 12 déc. 2010, at 08:59, Olivier Le Cam wrote: > Hi - > > On 12/12/10 05:01, Ben wrote: >>> Is there a way when installing a package like this : >>> >>> package { "rubygems": >>> ensure => installed,

[Puppet Users] apt-get -t lenny-backports

2010-12-08 Thread Adrian
Hello everybody, Is there a way when installing a package like this : package { "rubygems": ensure => installed, } to pass -t parameter to apt-get in order to use a specific apt source ? EG : apt-get install -t lenny-backports rubygems Ideally I would not use exec ... I am

Re: [Puppet Users] Puppet system deployment hanging ..

2010-08-17 Thread Adrian Snyman
thing about this kind of problem is actually figuring out what > causes the issue, since Puppet/Yum only log the action after it's > completed. > > -Eric > > > On Tue, Aug 17, 2010 at 2:04 AM, Adrian Snyman wrote: >> On Fri, Aug 13, 2010 at 8:46 AM, Adrian Snyman w

Re: [Puppet Users] Puppet system deployment hanging ..

2010-08-16 Thread Adrian Snyman
On Fri, Aug 13, 2010 at 8:46 AM, Adrian Snyman wrote: > On Fri, Aug 13, 2010 at 8:02 AM, Adrian Snyman wrote: >> On Thu, Aug 12, 2010 at 1:38 PM, Trevor Hemsley >> wrote: >>> You're not exec'ing some install program that is stopping and waiting for >>&

Re: [Puppet Users] Puppet system deployment hanging ..

2010-08-12 Thread Adrian Snyman
On Fri, Aug 13, 2010 at 8:02 AM, Adrian Snyman wrote: > On Thu, Aug 12, 2010 at 1:38 PM, Trevor Hemsley > wrote: >> You're not exec'ing some install program that is stopping and waiting for >> input? When we deploy Platform Symphony, we have to do something like

Re: [Puppet Users] Puppet system deployment hanging ..

2010-08-12 Thread Adrian Snyman
similar problem. > Hmm, I am not aware of any installers running ... I will take a look and see if there are any background processes waiting for input .. thanks ! > Adrian Snyman wrote: >> >> On Thu, Aug 12, 2010 at 12:49 PM, Ohad Levy wrote: >> >>> >>>

Re: [Puppet Users] Puppet system deployment hanging ..

2010-08-12 Thread Adrian Snyman
Users" group. > To post to this group, send email to puppet-us...@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] Puppet system deployment hanging ..

2010-08-12 Thread Adrian Snyman
to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > Well, This is happening at about 50% of the installation - so it is definitely deploying .. I am running : puppetd --test --verbose And, as listed a

[Puppet Users] Re: Bacula Puppet Type

2009-08-26 Thread Adrian Silva
on, > though I still have a few bugs to clean up. Most likely it'll be ready for > wider testing in another week or so. > > Just drop me an email if you'd like to try the plugin once it's finished. > Reporting interest in your plugin. Count me as tester Thanks! -- Ad