Re: [Puppet Users] Getting Puppet module version

2020-05-26 Thread 'Pablo Baeyens' via Puppet Users
Just what I was looking for, thank you! On Tue, May 26, 2020 at 8:03 AM 'Tim Meusel' via Puppet Users < puppet-users@googlegroups.com> wrote: > Hi, > puppetlabs-stdlib has a function to parse the metadata: > https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/REFERENCE.md#load_module_meta

[Puppet Users] Getting Puppet module version

2020-05-25 Thread &#x27;Pablo Baeyens' via Puppet Users
/question/26188/how-to-use-puppet-module-version-in-the-manifest/> on ask.puppet.com suggests just accessing and parsing the json file, but I would like to avoid that if possible. Thank you in advance, Yours, Pablo -- You received this message because you are subscribed to the Google Gro

[Puppet Users] Setting puppet.client_cert_path and puppet.client_private_key_path on Windows

2015-06-02 Thread Pablo Gosse
wing error: puppet server provisioner: * The specified client cert path could not be found * The specified client private key path could not be found Do I need to mount the location within Vagrant in order to access the folder where the client cert and private key are stored? Pablo -- You receive

Re: [Puppet Users] Re: puppetlabs-firewall issue

2014-07-02 Thread Pablo Morales
our puppet.conf. The error > specified seems to be having an issue fining the type which is sync'ed > from the master to the agents through plugin sync. > > On Tue, Jul 1, 2014 at 1:50 PM, Pablo Morales > wrote: > > If it helps this is what I see when running in debug

[Puppet Users] Re: puppetlabs-firewall issue

2014-07-01 Thread Pablo Morales
tatus' debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig iptables' El martes, 1 de julio de 2014 16:17:30 UTC-3, Pablo Morales escribió: > > Hi there guys > I'm new to puppet I thinks it's a great tool and I'm trying to configure > some

[Puppet Users] puppetlabs-firewall issue

2014-07-01 Thread Pablo Morales
Hi there guys I'm new to puppet I thinks it's a great tool and I'm trying to configure some task to perform automatically like users and some services which I had no problems until now with iptables, this is what I'v got server and client: CentOS release 6.5 (Final) On client: puppet-2.7.25-2.e

Re: [Puppet Users] Re: Rethinking Puppet modules

2014-06-24 Thread Pablo Fernandez
have the steering wheel) is more-or-less clear with how they envision the "ideal" module. As long as we stick to that, our modules will live longer and be used more often. This should not prevent us from thinking of alternatives, obviously. BR/Pablo -- You received this message

Re: [Puppet Users] Re: Rethinking Puppet modules

2014-06-23 Thread Pablo Fernandez
s with wider purpose, configurable so that it serves many people too, and there you go. So, exactly what you described in the part 1... but not in the part 2, sorry. My two cents! BR/Pablo -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To u

[Puppet Users] Error: undefined method `gsub' for nil:NilClass

2014-01-31 Thread Juan Pablo Daniel
Hi guys, can you give me a hint on this? Thanks! Debug: Executing '/sbin/sysctl -n net.ipv4.ip_local_port_range' Error: undefined method `gsub' for nil:NilClass Error: /Stage[main]/Spotflux_pweb::Sysctl/Sysctl[net.ipv4.ip_local_port_range]/value: change from to 5000 65000 failed: undefined metho

Re: [Puppet Users] Single certificate, multiple nodes... or image-based systems

2014-01-10 Thread Pablo Fernandez
HTTP calls before running puppet upon reboot, or - Single cert for all, making puppet node_name to be taken from node's facter, this way: https://gist.github.com/ahpook/1182243 Thanks a lot to everybody, this was really useful for us! BR/Pablo On 01/09/2014 11:57 PM, Jeff Bachtel wrote: > On 0

Re: [Puppet Users] Single certificate, multiple nodes... or image-based systems

2014-01-09 Thread Pablo Fernandez
o get some first-hand hints. Thanks again! BR/Pablo On 01/09/2014 04:05 PM, jcbollinger wrote: > > > On Thursday, January 9, 2014 6:40:42 AM UTC-6, pablo.f...@cscs.ch wrote: > > Thanks for your suggestions, > > Running masterless is a bit too exotic, since we would l

Re: [Puppet Users] Single certificate, multiple nodes... or image-based systems

2014-01-09 Thread Pablo Fernandez
need to match the fqdn for puppet to allow connections? Thanks! BR/Pablo On 01/09/2014 12:16 PM, Andrey Kozichev wrote: > > Maybe look into running masterless to avoid problems with certs. Just > run puppet apply on the new server. > > On 9 Jan 2014 09:42, "Pablo Fernandez&qu

[Puppet Users] Single certificate, multiple nodes... or image-based systems

2014-01-09 Thread Pablo Fernandez
by puppet as different hosts (including PuppetDB entries)? I saw different facts for each: ::clientcert and ::fqdn, that gave me hopes. Besides that, do you see any other problem with this type of deployment? Does anybody have experience with something similar? Thanks! BR/Pablo -- You received

[Puppet Users] Class parameter flexibility with ENC, hiera or both

2013-12-02 Thread Pablo Fernandez
hough)... but: - Is it possible to force the parsing order so that I don't need to use the include inside the define? - Or is it possible to have the ENC push parameters the "Hiera" way instead of the "Classic" way, so that both includes are equivalent? Thanks a lot, Pa

Re: [Puppet Users] Re: Providing hiera with module data

2013-12-01 Thread Pablo Fernandez
I recommend you run the master with --debug and --no-daemonize, you should be able to see all hiera searches for each parameter. At least that helped me a lot. On 12/02/2013 06:32 AM, Igor Berger wrote: > Same problem here > > :( > > > On Sunday, December 1, 2013 2:27:42 AM UTC-5, Steven Jonthen w

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-17 Thread Pablo Fernandez
ect = { "command": "replace catalog", "version": 2, "payload": data } print json.dumps(object, indent=2) I guess you could potentiate this script by running the curl itself, but that would require permissions on both PuppetDBs. BR/Pablo On 10/17/2013 06:0

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-17 Thread Pablo Fernandez
atalog", "payload": {"data": {"version ...etc... But I get a: HTTP/1.1 413 FULL head This seems to be the Jetty server not accepting big POST. This one is 112 KB, which is not really big for a catalog. I probably hit a configuration issue, but I don't see the option

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-16 Thread Pablo Fernandez
le... it's a pity this small asymmetry. I submitted a refactor request for this. Thanks again, Pablo -- 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 an email t

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-16 Thread Pablo Fernandez
le) I'm curious > why the empty list of edges fails. That smells like a bug to me; would > you mind filing a ticket against PuppetDB with the above command > included? We can take a look and see what's up. Submitted! Thanks a lot, Pablo Fernandez -- You received this message

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-15 Thread Pablo Fernandez
quot;/etc/puppet/modules/puppetdb/manifests/server.pp\", \"line\": 121, \"tags\": [\"node\", \"puppetdb\"], \"parameters\": {\"hasrestart\": true, \"ensure\" : \"running\"} }

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-15 Thread Pablo Fernandez
quot;node\", \"puppetdb\"], \"parameters\": { \"ensure\" : \"running\"} } I get: 2013-10-15 11:20:43,042 ERROR [command-proc-45] [puppetdb.command] [15abcd55-b7c6-4acc-8839-94b96f85ba68] [replace catalog] Retrying after attempt 8, du

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-15 Thread Pablo Fernandez
tempt 8, due to: org.postgresql.util.PSQLException: ERROR: syntax error at or near ")" Position: 66 I have looked again and again into the data, and syntax seems to be correct. Anybody tried this? Hints? Thanks a lot, Pablo Fernandez On 10/10/2013 05:23 PM, Throwe, Jesse wrote: >

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-10 Thread Pablo Fernandez
however I've not gone beyond thinking about it. > > > > > > On Thu, Oct 10, 2013 at 7:12 AM, Pablo Fernandez > mailto:pablo.fernan...@cscs.ch>> wrote: > > Thanks Ken, > > I took a look at the Command API and seems to be quite >

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-10 Thread Pablo Fernandez
ces from Node_A before sending them to the DB... and this seems to me like a bit dirty :) Am I missing anything? Or is there another way to implemen what I need with Puppet 3.2? Thanks again, BR/Pablo On 10/10/2013 09:16 AM, Ken Barber wrote: >>> Is there a mechanism to pull and push so

Re: [Puppet Users] Sync data between various PuppetDB instances

2013-10-10 Thread Pablo Fernandez
API does not seem to have the PUT or POST methods. Thanks! BR/Pablo On 10/07/2013 01:07 PM, Pablo Fernandez wrote: > Dear all, > > We have a few reasons to have various PuppetDBs (and Masters, one per > cluster) in our datacenter and, eventually, there may be a need to share &g

[Puppet Users] Sync data between various PuppetDB instances

2013-10-07 Thread Pablo Fernandez
resources from one PuppetDB to another? I guess this could be done with the API, but has anybody tried it, or will it work at all? Thanks a lot, Pablo Fernandez -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this grou

[Puppet Users] Unable to find main/binary-armel/Packages

2013-08-23 Thread Pablo Carranza
dpkg --configure -a* has not remedied the problem. Anyone have any ideas on what I need to do? -Pablo -- 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 an email to puppet

[Puppet Users] Got a SOGo Puppet module?

2013-08-13 Thread Pablo Carranza
ailed to realize virtual resources User[sogo], Group[sogo] on node > mail2.mydomain.tld Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run -Pablo -- You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] Re: puppet agent --test errors

2013-08-13 Thread Pablo Carranza
What are the contents of */etc/puppetdb/conf.d/jetty.ini*? -Pablo On Wednesday, July 10, 2013 9:03:39 AM UTC-5, Joseph Mwesigwa Bbaale wrote: > > Hello puppet-users. > ... > > Today I decided to redo the setup, on a different machine. But after > installing the puppet-mas

Re: [Puppet Users] dynamic hiera_config setting

2013-08-12 Thread Pablo Wright
this helps! Pablo D. Wright Technical Operations - www.edrans.com Buenos Aires: +54 11 5368 5839 - Ext. 8017 | Las Vegas: +1 5057183014 On Fri, Aug 9, 2013 at 4:59 AM, jamese wrote: > > Hi all, > > I'm playing with a new setup of puppet 3.2.3 and hiera 1.2.0 on an EL6 server.

[Puppet Users] Adding Foreman to an existing Puppet master

2013-08-07 Thread Pablo Carranza
ing Puppet master need to/should include? If so... where/when? Before running The Foreman Installer? In the *answers.yaml* file? Thanks! -Pablo -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop re

[Puppet Users] Re: Newbie: Could not retrieve catalog from remote server: Error 400 on SERVER

2013-08-06 Thread Pablo Carranza
What's on line 13, col 10 of /biz/puppet/modules/profile/manifests/web_server.pp? -Pablo On Tuesday, August 6, 2013 1:58:56 PM UTC-5, Dan M wrote: > > Hi > > I am setting up first sandbox environment with Puppet and facing > (probably) config issue. > Any help is highly

Re: [Puppet Users] Trouble connect to PuppetDB

2013-08-05 Thread Pablo Carranza
ocalhost. To listen on all available interfaces, > use 0.0.0.0. It'd probably be helpful to incorporate Ken's magical words "These should both be set to the *IP address* you want PuppetDB to listen on" (emphasis added.) Just a thought! Thanks, again! -Pablo On Monday,

[Puppet Users] Trouble connect to PuppetDB

2013-08-05 Thread Pablo Carranza
Greetings: I'm having trouble connecting to PuppetDB. When I execute *sudo puppet agent --test* on a client node, I receive the following: Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Could not retrieve facts for web1.mydomain.tld:

[Puppet Users] Deploying SOGo with Puppet

2013-07-26 Thread Pablo Carranza
Wondering if any SOGo (a free, scalable groupware server) admins/users out there have successfully installed and configured SOGo with Puppet; or, whether the folks that have tried would recommend against it. -Pablo vDevices, LLC 1 Parker Place, Suite 303 Janesville, WI 53545 (608) 305-4446

[Puppet Users] Problem on live-management - Node list missing - User ->Find Resources not working

2013-03-30 Thread Juan Pablo Baudoin
Hello I'm testing Puppet Enterprise 2.7 and I'm having the following problem. When I go to live-management, the node list sometimes is missing. This behavior is random, but when I

Re: [Puppet Users] windows : exec ressources and creates paramater

2013-01-24 Thread Pablo Wright
ile, and running the command you specified only if it can't find it. It's assumed that your command will create that file and the exec won't run more than once. Hope it's clearer now, regards! Pablo On Thu, Jan 24, 2013 at 1:49 PM, GRANIER Bernard (MORPHO) < bernard.gran...@

Re: [Puppet Users] CRAY / BlueGeneQ

2012-07-13 Thread Pablo Fernandez
wing that someone around the community has done this before would be a great relief! Thanks, BR/Pablo -- 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@googlegroups.com. To unsubsc

[Puppet Users] CRAY / BlueGeneQ

2012-07-12 Thread Pablo Fernandez
Dear all, I would like to ask you, does anybody here have experience with Puppet under CRAY systems, or BlueGeneQ? It would be nice to hear some experiences with this, if any. Thanks! Pablo -- You received this message because you are subscribed to the Google Groups "Puppet Users&q

Re: [Puppet Users] Re: Reducing system load

2012-06-20 Thread Pablo Fernandez
d for that today, this is probably something worth developing for the future. How many changes do you perform to the system? I believe 95% of the compile time (probably closer to 99%) produces exactly the same output again and again. BR/Pablo On 19/06/12 15:59, Brian Gallew wrote: There act

Re: [Puppet Users] Re: multiple resources dependencies

2012-04-05 Thread Pablo Fernandez
your only choice currently is to specify them outside of any class. " I've tested it, and it seems to work fine. Thanks! BR/Pablo On 04/05/2012 03:01 PM, jcbollinger wrote: On Apr 5, 4:47 am, Pablo Fernandez wrote: Dear all, I have a class where I declare one file and

[Puppet Users] multiple resources dependencies

2012-04-05 Thread Pablo Fernandez
dependency of the kind inside that class: File["myfile"] -> Exec[*] I have tried setting "require" => File['myfile'] inside my template, but File is not recognized inside the template. And if I quote it, Puppet does not recognize it as a File resource. Do

Re: [Puppet Users] local vs global variables

2012-04-03 Thread Pablo Fernandez
pletely separated group schema). I have tried doing that, and the overrides work quite nicely, but... could it be that the Facts are also inherited? It really seems like, otherwise why would Hiera stop looking there? (I have tried include instead inherits, and the variables are not accesible wi

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-03 Thread Pablo Fernandez
cus on the documentation. Maybe going through it, checking which paragraphs are more confusing or hide not-so-easy concepts or common misconceptions, and back up with better real-life examples, together with a FAQ, would probably remove 30% of the questions there are here. Thanks for this list! Pablo On

[Puppet Users] hiera_array() default value not taken

2012-04-02 Thread Pablo Fernandez
stead: "Error 400 on SERVER: Could not find data item iptables_open_ports_public in any Hiera data file and no default supplied" Is there any special way to define an empty array as a parameter? Thanks! Pablo -- You received this message because you are subscribed to the Google Gro

Re: [Puppet Users] stdlib/range issue

2012-04-02 Thread Pablo Fernandez
Krzysztof are awesome, specially "node[01-45]", simply perfect. Thanks! Pablo On 03/30/2012 06:49 PM, Jeff McCune wrote: On Thu, Mar 29, 2012 at 11:50 PM, Pablo Fernandez mailto:pablo.fernan...@cscs.ch>> wrote: Hi, It looks like range("host01", "

Re: [Puppet Users] local vs global variables

2012-03-30 Thread Pablo Fernandez
problem happens). The problem is that hiera('netmask') is picking up a fact, when I believe it shouldn't. Thanks! Pablo On 03/30/2012 04:06 PM, Brian Gallew wrote: I would imagine this has to do with the whole, "you can't override variables" thing that comes with a

Re: [Puppet Users] local vs global variables

2012-03-30 Thread Pablo Fernandez
different (and the hiera lookup) and it does the right thing, so I am quite sure it's actually conflicting with the "netmask" fact. Any ideas? Thanks! Pablo On 03/30/2012 11:59 AM, Pablo Fernandez wrote: Hi, I have just found something very weird. I define this: define

[Puppet Users] local vs global variables

2012-03-30 Thread Pablo Fernandez
the variables $netmask and $gateway should pick up their default values, that are taken from Hiera. But then, when I apply the manifests in the node, the value picked up is the one from Facter. To summarize: the content of the file takes ${netmask} which is a parameter of the define, but i

Re: [Puppet Users] stdlib/range issue

2012-03-29 Thread Pablo Fernandez
his is exactly what I was looking for, which indeed is much nicer than doing prefix(range(blabla)). In any case, I still don't see the reason for the artificial type change inside that function, but anyway... BR/Pablo -- You received this message because you are subscribed to the Goo

Re: [Puppet Users] stdlib/range issue

2012-03-29 Thread Pablo Fernandez
onal? How do I properly address this request? No problem. We've turned off Github Issues because we use our central Redmine server for bug tracking --> http://projects.puppetlabs.com/projects/modules/issues Please feel free to file any module tickets here! Gary, Pablo, I a

Re: [Puppet Users] stdlib/range issue

2012-03-29 Thread Pablo Fernandez
uot;.."99") and that will do the right thing, but the range() function provided with stdlib does some type conversion (detects if it's a number, and changes the type to integer) which converts "01" to 1 breaking this possibility. Hey Pablo, Just a questi

[Puppet Users] stdlib/range issue

2012-03-29 Thread Pablo Fernandez
out the type conversion. I tried that and it works like a charm. Thanks! Pablo -- 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@googlegroups.com. To unsubscribe from this group, s

[Puppet Users] Arrays from templates

2012-03-27 Thread pablo
Error 400 on SERVER: array is not an hash or array when accessing it with 1 at /home/pablof/puppet-tree/manifests/groups.pp:27 on node I have been trying, and it seems like the inline_template recognizes external array declared this way (as arrays) but Puppet doesn't... am I missing so

Re: [Puppet Users] Plugins and Hiera

2012-03-27 Thread pablo
Hi, You are indeed absolutely right, and I am very happy about that. Thanks!! I think the confusion is coming from here: http://puppetlabs.com/blog/first-look-installing-and-using-hiera/ There it constantly says "it queries Facter", which turns out to be wrong. BR/Pablo On 03/25/

RE: [Puppet Users] Plugins and Hiera

2012-03-25 Thread Fernandez Pablo
ing easily done with arrays that can be stacked with hiera_array()) should be easy. Thanks! Pablo From: puppet-users@googlegroups.com [puppet-users@googlegroups.com] on behalf of Gary Larizza [g...@puppetlabs.com] Sent: Saturday, March 24, 2012 12:0

RE: [Puppet Users] Plugins and Hiera

2012-03-24 Thread Fernandez Pablo
Hi, That would define $primary_group as a variable, not as a fact. Indeed, what I want to do is: :backends: - puppet :hierarchy: - %{primary_group} :puppet: :datasource: data And that requires primary_group to be a fact. Any other ideas? Thanks! Pablo

Re: [Puppet Users] Plugins and Hiera

2012-03-23 Thread Pablo Fernandez
uot;, and do an include of those that I actually want to include... but how do I do that? How do you select which plugins to load, from inside the puppet code? Thanks! Pablo On Friday 23 March 2012 11:04:38 Luke Bigum wrote: > Hi Pablo, > > The Ruby part of Facts is a little daunt

[Puppet Users] Plugins and Hiera

2012-03-23 Thread Pablo Fernandez
be there too? Or maybe I could use parameters, that the plugin will recognize somehow? I hope the questions are clear enough, because this is clearly not clean in my head. Thanks! Pablo -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

Re: [Puppet Users] Re: Removing lines from a file

2012-03-23 Thread Pablo Fernandez
an't see the file_line type in the manual: http://docs.puppetlabs.com/references/2.7.0/type.html Thanks! Pablo -- 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@googlegroups.com. To u

Re: [Puppet Users] Re: import manifest inside subdirectory

2012-03-21 Thread Pablo Fernandez
if I extend the module path, I will have to either: - include /etc/puppet/manifests as a module path, which is probably not a good idea - or create an additional level on the tree: /etc/puppet/manifests/data/data/, which is ugly. I feel better using the manual import, or globbing, if this bec

Re: [Puppet Users] Re: import manifest inside subdirectory

2012-03-21 Thread Pablo Fernandez
d hiera, but data is just fine. It is not imported automatically, so those files need to be imported by hand. And if I use globbing, I may have surprises later because of that known problem with globbing (that require a touch on the site.pp). If there is a more elegant way to proceed, I'm happy to he

[Puppet Users] import manifest inside subdirectory

2012-03-20 Thread Pablo Fernandez
a_file1.pp, and place it in the same directory as site.pp (so, no subdirectories), it works. I was reading the language guide, and it seems like "import" should work the way I use it, but it does not, at least in my case. Any clue? Thanks, Pablo -- You received this message because

Re: [Puppet Users] ENC with Hiera

2012-03-20 Thread Pablo Fernandez
nd to run puppet with the new fact active. Can you think of a way to do it at once? That's why I was thinking of using the :datasource: and pick up the group definitions from within the manifests tree, but it must be static inside the tree, not depending on the module you are currently try

Re: [Puppet Users] Simple hiera-puppet usage

2012-03-20 Thread Pablo Fernandez
the array. Also, is there any kind of documentation on how to use the hiera_puppet datasource? Thanks! Pablo On Saturday 17 March 2012 09:21:12 Gary Larizza wrote: > Hi Pablo, > > The Puppet backend accepts a 'datasource' parameter whose value will be the > class name for wh

[Puppet Users] Simple hiera-puppet usage

2012-03-16 Thread Pablo Fernandez
ut any hierarchy, because I don't want to use the yaml backend, and I don't know why else would I need it. Could anyone shed some light on me, please? Thanks, Pablo -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to t

[Puppet Users] ENC with Hiera

2012-03-14 Thread Pablo Fernandez
, you need to have them as facts, essentially forcing you to do two runs every time you change a group). How do you overcome this limitation? Thanks a lot, Pablo -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group

Re: [Puppet Users] Puppet Dashboard, arrays and hashes

2012-03-14 Thread Pablo Fernandez
Hi, I am actually interested in this... what is the actual status? I would like to be able to have arrays and define them in the dashboard, possibly filling parts of the array from different groups. Is it possible? How? Thanks! BR/Pablo On Miércoles, 7 de Marzo de 2012 23:22:09 Nan Liu

Re: [Puppet Users] Re: Google Groups the best place?

2012-03-08 Thread Pablo Fernandez
It is not... You just need to register your normal email address as google account, with a password (for the google acount, not the real one). No more info is required. BR/Pablo On Thursday 08 March 2012 06:20:43 jcbollinger wrote: > On Mar 7, 10:22 am, jimbob palmer wrote: > > A col

Re: [Puppet Users] Puppet staging server

2012-03-07 Thread Pablo Fernandez
maybe you can trick your client with a temporal /etc/hosts entry, may be worth a try. Good luck! Pablo -- 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@googlegroups.com. To unsubscribe

Re: [Puppet Users] Re: Inherited node tagging

2012-03-07 Thread Pablo Fernandez
't seem apropiate, and possible neither variables (they difer within all scopes, and from the modules I can't reference variables created on the nodes). What's the right way to do this, then? Thanks! Pablo -- You received this message because you are subscribed to the Google

[Puppet Users] Inherited node tagging

2012-03-06 Thread Pablo Fernandez
gs, and they are not inherited either. Am I doing something wrong, or is "tagging" not well documented? Thanks! Pablo -- 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@googlegr

Re: [Puppet Users] Duplicate definition + parameterized classes + class scope

2012-03-06 Thread Pablo Fernandez
It must be some kind of "sales department" decision, you name things to be attractive, not because they represent reality. On Tuesday 06 March 2012 05:53:57 chris_sny...@sra.com wrote: > I don't understand Puppet Language. How can you take object-oriented > constructs such as 'class' and 'inheri

[Puppet Users] File class overwritten by other classes

2012-03-05 Thread Pablo Fernandez
;default files" for those cases, and then edit afterwards. I do this, for example: class parent: file { "/root/.ssh/authorized_keys": content => "" } class child inherits parent: ssh_authorized_key { "Pablo": blabla } File ["/root/.ssh/authorized_keys&q

Re: [Puppet Users] Running command in server

2012-03-05 Thread Pablo Fernandez
e("<%= %x{host $hostname|awk '{print \$4}'}.chomp %>") notify { "New IP: $new_ip": } Kind regards, Pablo -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pu

Re: [Puppet Users] sysctl

2010-06-25 Thread Pablo
Hi Augeas module will help you in that task Just use "/files/etc/sysctl.conf" and set "whateverparameter " "value" Regards Pablo Pablo Iranzo Gómez (http://Alufis35.uv.es/~iranzo/) (PGPKey Available on http://www.uv.es/~iranzop/PGPKey.pgp) -- Po

[Puppet Users] Re: CA expirations

2010-06-23 Thread Pablo
Hi El día 21 de junio de 2010 11:53, Pablo Iranzo Gómez escribió: > Hi > > I've installed puppet and made autosigning work like a charm (EPEL > version 0.25-5 for EL4 and EL5) > > What I would like to do know is to setup the environment in order to > achieve: > >

[Puppet Users] CA expirations

2010-06-21 Thread Pablo Iranzo Gómez
Hi I've installed puppet and made autosigning work like a charm (EPEL version 0.25-5 for EL4 and EL5) What I would like to do know is to setup the environment in order to achieve: As server can be reinstalled and a new CA created, clients should either expire, or accept any cert while using auto

[Puppet Users] Syntax error at "user::virtual" in a simple Debian configuration

2008-09-17 Thread Pablo Virgo
/modules/user/*" in the site.pp file. The entire setup consists of two machines (one client, one server) and they were working with a slightly modified version of "The Simplest Puppet Install Recipe" from the wiki. I've reviewed the tutorial, best practices, faq, and style guide