Re: [Puppet Users] intermodule dependency

2012-01-26 Thread Gabriel Filion
pe" or "node role" kind of class that you include in your node. say: class mysql_server_role { include ldap_authentication_role # which declares whatever is needed # for ldap support include mysql Class['Ldap'] -> Class['Mysql

Re: [Puppet Users] Selecting modlues based on subnet in nodes.pp

2012-01-26 Thread Gabriel Filion
u can find the code for custom facts from arbitrary files) -- Gabriel Filion -- 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, send

Re: [Puppet Users] Interesting permissions issue with nagios_* providers

2012-02-03 Thread Gabriel Filion
ection: Nagios_command <||> { target => "${nagios::defaults::vars::int_nagios_cfgdir}/conf.d/nagios_command.cfg", # ... } also, for the permissions, you could use a file resource with the same path to set permissions (but not the contents). check out this module for

Re: [Puppet Users] Ensure service nsca

2012-02-06 Thread Gabriel Filion
nstall"], > } > > If I add hasstatus => true work perfectly on gentoo but work bad on > debian. It's possible (I haven't verified) that the init script for nsca does not have a "status" command which reports if the service is running or not. If tha

[Puppet Users] opensource VPN modules

2012-02-09 Thread Gabriel Filion
Hey there, Do you guys know of opensourced puppet modules for managing VPN services? I've only found a handful of modules for openvpn that seemed less than complete. -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Hiera data unusable in a class with an array parameter

2012-02-09 Thread Gabriel Filion
o puppet-users@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. -- Gabriel Filion -- You received this message because you are subscr

Re: [Puppet Users] opensource VPN modules

2012-02-10 Thread Gabriel Filion
On 12-02-10 10:12 AM, Raffael Schmid wrote: > On Thu, 09 Feb 2012, Gabriel Filion wrote: > >> Do you guys know of opensourced puppet modules for managing VPN >> services? >> >> I've only found a handful of modules for openvpn that seemed less >> than com

Re: [Puppet Users] Dynamically extending the group membership of a custom system user

2012-02-13 Thread Gabriel Filion
reate a custom fact that would harvest those groups that are present and that you need to add to your users. (I can't help you too much with how to implement this, though, since my ruby is at the level of baby steps) In your manifests, you would then have to split the string returned by the fa

[Puppet Users] catalog format performance comparison

2012-03-25 Thread Gabriel Filion
default because it fairs better than "marshal" ? -- Gabriel Filion -- 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, send email to p

Re: [Puppet Users] catalog format performance comparison

2012-03-29 Thread Gabriel Filion
On 12-03-25 11:43 PM, Gabriel Filion wrote: > Changelog from 0.24.5 mentions a new format, "marshal", being very much > faster than the previous default, "yaml". > > But the current default format is "pson". I can't find any comparison in > pe

Re: [Puppet Users] Why latest stable Debian Squeeze package is 2.6.2-5+squeeze4 please ?

2012-04-05 Thread Gabriel Filion
ackports[1] branch, in which you can find puppet 2.7 [1]: http://backports-master.debian.org/Instructions/ -- Gabriel Filion -- 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@googlegroup

Re: [Puppet Users] Puppet and Passenger

2012-04-07 Thread Gabriel Filion
>> >> Thank you! >> >> -- >> 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, send emai

Re: [Puppet Users] Taking github noise away from puppet-dev list

2012-04-09 Thread Gabriel Filion
prior to making a > pull request/patch. > 4. You can also watch the RSS feed for the puppet projects you have > the most interest in. > > This decision isn't final, but I would like to get opinions on the > idea. I welcome feedback until Friday, April 13. -- Gabriel Filion

[Puppet Users] Implementing hooks

2012-04-11 Thread Gabriel Filion
't need to modify the module directly anymore? -- Gabriel Filion -- 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, send email to puppet-user

Re: [Puppet Users] Implementing hooks

2012-04-12 Thread Gabriel Filion
27;my_nagios' definition, but still the one from the nagios module. > If you actually need to modify parameters of a resource in a definition > though then the only way I know of would be to have that parameter > controlled by an argument to the defined type. yeah, hence the need to m

Re: [Puppet Users] Implementing hooks

2012-04-12 Thread Gabriel Filion
epending on an arbitrary "level" of service : class level1_apache_server { Nagios::Service { base_groups => 'level1-apache-server', } include apache_logic } I think I remember seeing discussion about this kind of feature getting killed sometime because of scoping issues..

[Puppet Users] Re: Implementing hooks

2012-04-13 Thread Gabriel Filion
On 12-04-12 02:10 AM, Gabriel Filion wrote: > Do you guys know if it would be possible to implement a way to "hook" my > extraneous logic into the define so that I don't need to modify the > module directly anymore? oh, I think I've just found something that does pre

Re: [Puppet Users] Telly: Nagios types moving into Module

2012-04-15 Thread Gabriel Filion
Since the types by themselves are not a module per-se, could it be better to package them in the same manner as the core is packaged, and made available through the same resources? so then, people could install those with gem, apt or yum. (and easily require those automatically from actual modules) --

Re: [Puppet Users] Re: Cron job isn't running

2012-04-21 Thread Gabriel Filion
1, 2012 12:52 PM, "Christopher Wood" <mailto:christopher_w...@pobox.com>> wrote: > > What does the custom facter variable contain? -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

Re: [Puppet Users] Template populated from multiple defines

2012-05-07 Thread Gabriel Filion
hack and > doesn't cleanly express what variables are available to be set. > > Anyone have any suggestions on the best way to make this work? The only way that I could think of doing this would be by using a concatenated file[1]. Each define would create a morcel that would get conc

Re: [Puppet Users] use puppet to manage user accounts on mysql

2011-07-09 Thread Gabriel Filion
tps://labs.riseup.net/code/projects/shared-mysql check out 'lib/puppet/type' -- Gabriel Filion -- 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 unsubscrib

Re: [Puppet Users] Re: use puppet to manage user accounts on mysql

2011-07-11 Thread Gabriel Filion
ten wrote: >>> This looks like a good opportunity for the various mysql module authors to >>> all get together and produce one single awesome module :) I suggested collaboration to the others in the group working on the shared modules hosted at riseup's. I think it should in

Re: [Puppet Users] Exported Resources with --noop

2011-07-13 Thread Gabriel Filion
a conflict (redefinition of an exported resource) but it shouldn't commit resources to database. -- Gabriel Filion -- 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@googlegro

Re: [Puppet Users] Re: Using puppet to import database on client side

2011-07-16 Thread Gabriel Filion
milar fashion in your manifests it probably errors out because it doesn't find it. try using an absolute path to your dump file. e.g.: exec {"Get db": command => "/usr/bin/mysql -uroot -proot papa < /var/backups/mysql/dumpfile.sql", r

Re: [Puppet Users] Up and running with puppet

2011-08-31 Thread Gabriel Filion
on Rails > could help throw some light on the topic. verify the permissions on the whole path. maybe the "config" or the "puppet-dashboard" directories don't give enough privileges to the user running dashboard. -- Gabriel Filion -- You received this message because you

Re: [Puppet Users] classes with parameters

2011-09-06 Thread Gabriel Filion
added parameters to the 2nd class and would like to set > values here. What is the appropriate way to do that? Did you try to split the two classes up? e.g.: class { 'eucalyptus': 'eucalyptus::nc': arg1 => value1, } -- Gabriel Filion -- You received this mess

Re: [Puppet Users] classes with parameters

2011-09-06 Thread Gabriel Filion
f the 'class' reserved word, it now looks like you're defining a new class inside your nodes) But I guess once you get the hang of it, it's not that bad. Being able to use the same notation as other kinds of resources is a good thing. -- Gabriel Filion -- You received this mes

Re: [Puppet Users] Storeconfigs seem slow

2011-09-12 Thread Gabriel Filion
e shouldn't change much with or without exporting nagios resources, except on the Nagios server (the one extracting the puppet resources). In my experience, exporting native Nagios resources on Nagios clients and collecting them on the Nagios server doesn't seem to be scaling very well.

Re: [Puppet Users] Storeconfigs seem slow

2011-09-12 Thread Gabriel Filion
l > of the files from the CLI takes less than 2 seconds. I haven't traced the thing, but from what I could understand, the most time is spent in resolving relationships between exported nagios resources and ensuring that all the exported resources are unique. To verify this, you could setup p

Re: [Puppet Users] custom function puzzlement

2011-09-16 Thread Gabriel Filion
; stringarray = string.split(//) > > File.open('/tmp/t2', 'w') {|f| f.write(stringarray[0]) } > > count = 0 > > for i in (stringarray) > if values[i] > count = count + values[i] > end > end > > srand(count) >

Re: [Puppet Users] custom function puzzlement

2011-09-16 Thread Gabriel Filion
rt > with 1,1. The "Using Facts and Variables" section of > http://docs.puppetlabs.com/guides/custom_functions.html shows how to use > lookupvar() to obtain client facts. oh, I didn't know about the purpose of lookupvar().. I guess I'll sleep a little less stupid to

Re: [Puppet Users] Using puppet to install debian packages from backports

2011-09-25 Thread Gabriel Filion
ved 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, send email to >> puppet-users+unsubscr...@googlegroups.com. >&g

Re: [Puppet Users] Collecting only certain virtual resources?

2011-10-19 Thread Gabriel Filion
;CH3'. > > I'm using a single mysql DB for thin stored configs, and have three > puppet masters, one in each location. All three are connecting to the > same mysql db for stored configs. > > Any suggestions? There might just be some simple syntax that I'm > miss

Re: [Puppet Users] AW: nagios_service does not replace target file

2011-11-16 Thread Gabriel Filion
;>> > require => File["${baseconfigdir}"], >>> > } >>> > >>> > Everything works fine on the first run. But once a client changes its >>> > Nagios resources, the new configuration will not end up in the target >>> >

Re: [Puppet Users] AW: nagios_service does not replace target file

2011-11-17 Thread Gabriel Filion
exported resources. You said you rsynced the files from somewhere else, though. If you hold out that rsync process for a while, do you see new services getting added to the file? -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Use

Re: [Puppet Users] Running puppet agent and master from cron jobs

2011-12-04 Thread Gabriel Filion
r > uptime. Here, puppet is run via Apache with the passenger module, so the service simply doesn't need any restarting at all (since the puppetmaster code is only interpreted when a request is made) -- Gabriel Filion -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Is there a way to push/copy a file from client to master ?

2011-12-13 Thread Gabriel Filion
t life exists elsewhere in > the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send e

Re: [Puppet Users] a tips , run puppet in client mode in big datacenter

2011-12-13 Thread Gabriel Filion
that the GPG key, being off of the puppet master, ensures an external validation of the catalog content. but for the rest, it sounds like it's just a manual deconstruction of the puppetmaster-puppetclient model.. -- Gabriel Filion -- You received this message because you are subscribe

Re: [Puppet Users] filtering exported resources...

2011-12-16 Thread Gabriel Filion
uot;ensure => absent" on them. > Can I do something like: > > class ssh::knownhosts { > Sshkey <<| type= 'rsa' |>> {ensure => present} > } this should surely work, yes. -- Gabriel Filion -- You received this message because y

Re: [Puppet Users] Re: Puppet capacity with apache+passenger, server saturated

2011-12-21 Thread Gabriel Filion
at peak concurrency, you could lower MaxSpareThreads a little to have Apache kill more loose processes (and thus regain their memory faster). -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this grou

Re: [Puppet Users] Re: Best practice for SELinux overrides

2012-01-07 Thread Gabriel Filion
Or you could use a parametrized class to make things shorter and easier to understand: class common ( $selinux_mode = 'enforcing' ) { class { selinux: mode => $selinux_mode } } node server1 { include common } node server2 { class { common: selinux_mode => 'permiss

Re: [Puppet Users] Problem with definition/classes

2012-01-07 Thread Gabriel Filion
ment).conf", > require => Class["snmpd::install"], > } and another } here > And on the node that getting the error message i have include snmpd. If the above is true though, I would expect puppet to fail with a syntax error instead of saying that it can&

[Puppet Users] Nagios hostgroups

2010-06-12 Thread Gabriel Filion
e hosts if they have those services installed. -- Gabriel Filion -- 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

Re: [Puppet Users] Re: Nagios hostgroups

2010-06-14 Thread Gabriel Filion
On 14/06/10 07:30 PM, donavan wrote: > On Jun 12, 1:09 pm, Gabriel Filion wrote: >> I tested giving a list of strings to the "hostgroups" attribute to the >> nagios_host resource but it only considers the first element of the list. > > Something like this?: > nag

Re: [Puppet Users] Re: Nagios hostgroups

2010-06-16 Thread Gabriel Filion
On 2010-06-15 21:17, donavan wrote: > On Jun 14, 11:07 pm, Gabriel Filion wrote: >> Interesting. I'll try this out in the next few days and give you >> feedback on whether this workaround does the job. > > If you use a variable, like $nagios_hostgroups, you may

Re: [Puppet Users] Could not find class, code-blind

2010-06-17 Thread Gabriel Filion
; source => "puppet:///rhn/up2date-rhn", > require => File["/usr/share/rhn/RHNS-CA-CERT"], > } > > file { "/usr/share/rhn/RHNS-CA-CERT-VISMA": > ensure => present, >

Re: [Puppet Users] Variable Scope in classes

2010-06-20 Thread Gabriel Filion
el4::defaults class, it will see variables from elements::tfel4 , elements, :: (global scope), in that order of precendence -- e.g. the global variables being accessed only if the variables are not "redefined" or modified in the parents. so, for your case, the tfel4_ClusterDbType vari

Re: [Puppet Users] header for puppet managed files

2010-06-20 Thread Gabriel Filion
at would enforce the existence of a header. > I've been meaning to ask the same question, lately. thanks for asking :) Unfortunately I didn't look into it yet so I don't have any suggestion about that. -- Gabriel Filion -- You received this message because you are subscrib

Re: [Puppet Users] header for puppet managed files

2010-06-20 Thread Gabriel Filion
t common, but nowhere near universal. > Good point there. I wonder if using a module that does "file concatenation" could be a good method. one would need to have a define for each format of header to include and could include a file by calling the appropriate define. I'm

Re: [Puppet Users] Re: Nagios hostgroups

2010-06-25 Thread Gabriel Filion
Hello, On 2010-06-15 21:17, donavan wrote: > On Jun 14, 11:07 pm, Gabriel Filion wrote: >> bug or missing feature.. I haven't tried it with 0.25.5, though. I'm on >> Debian unstable, using the puppet/puppetmaster packages, so the version >> is 0.25.4 >> >

Re: [Puppet Users] Variable Scoping: What do you want?

2010-06-29 Thread Gabriel Filion
e value. And to go with that, having access to joining lists into a string without having to use an inline template would be nice. I think that collecting values inside a list from within any arbitrary class, that should be used in one place is a not-so-edgy case that is currently halted b

Re: [Puppet Users] Nagios Types

2010-07-05 Thread Gabriel Filion
d be to use (I havent tested it yet) File { owner => root, group => nagios, mode => '0640'; } inside the class in which you declare the nagio file resources so that those permissions are the default for the nagios config files. -- Gabriel Filion -- You received t

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.0 - Final release!

2010-07-20 Thread Gabriel Filion
ing along but was not quite there yet. What features are currently working properly and what are the ones that are lacking? -- Gabriel Filion -- 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.

Re: Puppet on Windows (was Re: [Puppet Users] ANNOUNCE: Puppet 2.6.0 - Final release!)

2010-07-20 Thread Gabriel Filion
n that direction would be awesome. > > We've got some basic notes at: > > http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows > Oh, I didn't see your reply before I sent my last message. thanks for the link. -- Gabriel Filion -- You received this message becaus

Re: [Puppet Users] Nagios allowed hosts, how would you do it?

2010-07-27 Thread Gabriel Filion
t; It may look a bit nasty but you could possibly do it with a global variable: $nagios_allowed_hosts = ['ip1', 'ip2'] node default { import nagios // ... } node special_customer inherits default { $nagios_allowed_hosts += ['ip3'] } -- Gabriel Filion

Re: [Puppet Users] use current array element when declaring multiple resources using an array

2010-11-10 Thread Gabriel Filion
meter? So the "foo" resource has a parameter value > "foo" and "bar" with a parameter value "bar"? I think what you want is to use $name. it corresponds to the resource name that is currently being worked on. file { [ "foo", "bar&quo

Re: [Puppet Users] The puppet model

2010-11-24 Thread Gabriel Filion
e them > - if we have to sync resources, then create an event. This description is actually concise and quite understandable. I would suggest adding it to Puppet's documentation wiki, not too far away from the "extended knowledge" section [1]. [1]: http://docs.puppetlabs.com/#

Re: [Puppet Users] Puppet definitions and inheritance

2010-12-28 Thread Gabriel FIlion
orks since I can call it directly from within > the class main. I even tried calling luser using main::luser but same > error. > If your code is in a module, try invoking it in a fully qualified manner: module_name::main::luser { "blah": ... } hope it helps. -- Gabriel Filion

Re: [Puppet Users] How the agents are distinguishing the matching config changes ?

2010-12-28 Thread Gabriel FIlion
he subdirectory doesn't exist), it'll try to get 'site-apt/files/02show_upgraded'. If this one is not there, its last resort is in the 'apt' module. So, it'll try to find a file in 'apt/files/02show_upgraded'. This way, you have one very generic file

Re: [Puppet Users] Problem with specifying server name

2011-01-20 Thread Gabriel Filion
y problem. It's not very scientific, though. You should give the above-mentioned workaround a try. -- Gabriel Filion -- 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

[Puppet Users] accessing puppet config variables inside a manifest

2011-01-31 Thread Gabriel Filion
've done a quick test to print (notify{}) the value of $vardir and it's empty. Do you guys know of a way I could access this value within the module's manifests? -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

Re: [Puppet Users] accessing puppet config variables inside a manifest

2011-02-03 Thread Gabriel Filion
end > end hmm, that's interestingly very simple. I would personally use a fact instead of a function, but now that I know the ruby part to fetch the config value, writing a fact shouldn't be too difficult. thanks, -- Gabriel Filion -- You received this message because you are subs

Re: [Puppet Users] Re: accessing puppet config variables inside a manifest

2011-02-03 Thread Gabriel Filion
On 11-02-01 04:16 AM, R.I.Pienaar wrote: > Since 2.6.0 you can just do notice($settings::vardir) oh .. I've just tried it out and it works. hurray for 2.6, then! :) and, I'll also keep Nan Liu's suggestion in mind for 0.25.x Thanks to everyone for the feedback! -- Gabri

[Puppet Users] can we choose which inteface defines the $ipaddress fact?

2011-02-07 Thread Gabriel Filion
ecific interface for the ipaddress value? -- Gabriel Filion -- 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, send email to puppet-user

Re: [Puppet Users] can we choose which inteface defines the $ipaddress fact?

2011-02-08 Thread Gabriel Filion
ut some effort on my nagios module to provide for an override for the ip address, then. -- Gabriel Filion -- 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 f

Re: [Puppet Users] can we choose which inteface defines the $ipaddress fact?

2011-02-09 Thread Gabriel Filion
mm this fact looks like it won't work for any host that doesn't resolve, which would be problematic for something like a test setup with virtual machines. -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

Re: [Puppet Users] Inter-Module Dependency

2011-02-15 Thread Gabriel Filion
; ... > } hmm this actually binds the OP's 'random_app' module to the 'dns_config' one while Daniel's suggestion can find the File resource even though it is moved from one module to another. -- Gabriel Filion -- You received this message because you are subscribed

Re: [Puppet Users] Nagios configuration arrays

2011-03-02 Thread Gabriel Filion
aster anyway, I can do what I > want :-) > > Unfortunately, it doesn't solve my problem. > > I am trying to do the same thing as Gabriel Filion in this post: > http://groups.google.com/group/puppet-users/browse_thread/thread/276e6e694520224d > > So, I have a nagio

Re: [Puppet Users] Nagios configuration arrays

2011-03-02 Thread Gabriel Filion
ive server change. hmm, that's an interesting approach. it sounds like it requires a lot of exec magic but it does cover for the config breakages and also for purging resources. When I finally get some free time, I'll look into implementing that. Thanks for the hint. -- Gabriel Filion --

Re: [Puppet Users] how to fix symbolic links

2011-04-20 Thread Gabriel Filion
nion makes things clearer: # this should theroetically make a symlink relative to the current # directory. You can also use absolute paths for the target. file { '/opt/lfc/lib/liblfc.so': ensure => link, target => 'libdpm.so.1.8.0', } -- Gabriel Filion -- You

Re: [Puppet Users] Automating Nagios with Puppet

2011-04-26 Thread Gabriel Filion
ample.int <http://db.example.int>' inherits dbserver {} > > node 'mail.example.int <http://mail.example.int>' inherits > mailserver {} > > node 'nagios.example.int <http://nagios.example.int>' inherits > nagiosserver {} > > >

Re: [Puppet Users] Re: Automating Nagios with Puppet

2011-04-28 Thread Gabriel Filion
gt; client? Judging from the manifests that the OP sent, the HTTP server is run on the nagios server, not on each node: the "nagios" class is included only on the node 'nagiosserver', while the class "nagios::target" is included everywhere. It is possible to run a Nagios se

[Puppet Users] Negative checkin time

2011-05-19 Thread Gabriel Filion
taken from node.values[:_timestamp]. Is this timestamp based on the remote node's clock? -- Gabriel Filion -- 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] Negative checkin time

2011-05-19 Thread Gabriel Filion
-s -d' on the node "solved" my issue. but I think, like you, that basing the checkin time on the remote clock is awfully wrong. I'll go vote for the issue. -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Users&

[Puppet Users] enabling of 'thin_storeconfigs'

2011-05-21 Thread Gabriel Filion
? p.s. on another note: I can't grasp the advantage of not using thin_storeconfigs. Since we'll be parsing the manifests on every change anyway, having all info replicated into a database doesn't seem to bring us anything. Is there any use case where not using this option would make sens

Re: [Puppet Users] enabling of 'thin_storeconfigs'

2011-05-25 Thread Gabriel Filion
On 11-05-22 05:22 AM, Brice Figureau wrote: > On 22/05/11 01:10, Gabriel Filion wrote: >> Hello, >> >> I found out that a puppetmaster I manage is currently not using the >> thin_storeconfigs option and suggested to the other admins that we use >> this in order to

Re: [Puppet Users] enabling of 'thin_storeconfigs'

2011-05-25 Thread Gabriel Filion
w virtual servers to use different setups from your nodes. This testing phase will be the longest, but it's always better to be safe than sorry ;) After that, upgrade your puppet master, wait a couple of days just to see if it holds up well. Finally upgrade your clients. -- Gabriel Filion

[Puppet Users] functions and environments

2011-06-14 Thread Gabriel Filion
.pp:73 on node node.mydomain.net warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run There's a mention on the wiki [1] about plugins vs. environments but I don't really get what would be needed. [1] : http://projects.puppetlabs.com/projects/1/wiki/U

Re: [Puppet Users] functions and environments

2011-06-15 Thread Gabriel Filion
On 11-06-14 04:39 PM, Nigel Kersten wrote: > On Tue, Jun 14, 2011 at 1:26 PM, Gabriel Filion <mailto:lelu...@gmail.com>> wrote: > I'm trying to test out new features of a module before I deploy it and I > have difficulty with the functions declared by the module

Re: [Puppet Users] Problem with usage of arrays

2011-06-16 Thread Gabriel Filion
second line: notice { $callapidata[1]: } -- Gabriel Filion -- 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, send email to puppet-users+unsubscr...

Re: [Puppet Users] functions and environments

2011-06-16 Thread Gabriel Filion
ctory, then the other dirs are not inspected.. But apparently this is not the case. This could lead to some nasty bugs when testing things out with such a mixed environment. Is there a work around to make the other module of the same name in the /etc/puppet/modules directory not influence the de

Re: [Puppet Users] functions and environments

2011-06-16 Thread Gabriel Filion
on, you then move it into the per-env > directories as appropriate. Oh ok ... I'll have to work something out then.. this is more complicated to use than I thought. Thanks everyone for all the help. -- Gabriel Filion -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] Pros and Cons of a Decentralized Puppet Architecture

2012-07-17 Thread Gabriel Filion
esources) is tougher. you pretty much have to reinvent a method of doing it. * you really have to trust users with root access on each node since manifests are pulled directly on the server (and can thus be modified locally). -- Gabriel Filion -- You received this message because you are subscribe

Re: [Puppet Users] dmz network configuration

2012-08-29 Thread Gabriel Filion
u let established connections out of the DMZ, then connection both ways should be assured. -- Gabriel Filion -- 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 fro

Re: [Puppet Users] Nagios purge deleted items and notify nagios service problem

2012-09-10 Thread Gabriel Filion
=> true, > } > > > > And make Nagios service subrscribe to the file /etc/nagios (cheksum => > mtime) hum, was the purge functionality ever fixed for nagios types? I've wanted to use that for some time but fwir it was not implemented. -- Gabriel Filion -- You r

Re: [Puppet Users] Nagios purge deleted items and notify nagios service problem

2012-09-11 Thread Gabriel Filion
this since I can expect it to only get marked as "wontfix") -- Gabriel Filion -- 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, send

[Puppet Users] sharing a storeconfigs db between masters (across versions)

2012-09-29 Thread Gabriel Filion
ies of issues with having two puppetmasters with *different versions* hit on the same db ? The goal of the above scenario with the storeconfigs db would be to keep the nagios configuration functional across puppet master versions while migrating nodes to the 2.6 master. -- Gabriel Filion --

Re: [Puppet Users] sharing a storeconfigs db between masters (across versions)

2012-10-01 Thread Gabriel Filion
On 2012-09-29 16:42, Gabriel Filion wrote: > From what I understand of storeconfigs, it is possible to plug both > puppetmasters on the same MySQL db. Are there any possibilities of > issues with having two puppetmasters with *different versions* hit on > the same db ? FYI I ran a

Re: [Puppet Users] sharing a storeconfigs db between masters (across versions)

2012-10-02 Thread Gabriel Filion
On 2012-10-02 02:46, David Schmitt wrote: > On 01.10.2012 23:11, Gabriel Filion wrote: >> On 2012-09-29 16:42, Gabriel Filion wrote: >>> From what I understand of storeconfigs, it is possible to plug both >>> puppetmasters on the same MySQL db. Are there any possi

Re: [Puppet Users] Puppet client not listening on port 8139

2012-10-10 Thread Gabriel Filion
allow * > > # this one is not stricly necessary, but it has the merit > # to show the default policy which is deny everything else > path / > auth any > > It seems as though the puppet is running: > 4074 ?Ss 0:00 /usr/bin/ruby /usr/sbin/puppetd > --server=mypuppetserver.fqdn --logdest=/var/log/puppet/puppet.log > > But I cant even telnet to port 8139 on the localhost to test that the > port is open. > > Can any one please help? > > Any suggestions welcome, I have copied the /etc/puppet/*.conf files from > another working server. > > Please Help! -- Gabriel Filion signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Puppet client not listening on port 8139

2012-10-10 Thread Gabriel Filion
y to port 8139 or 8140. hmm this is weird. in your original post you showed us that there were no iptables rules, and you do have "listen = true" in your puppet.conf. do you see the port as open and listening with netstat? -- Gabriel Filion signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Nagios

2012-10-12 Thread Gabriel Filion
e probably exporting the same resources twice. you might want to verify either that one nagios server is exporting these and the second is collecting them, or that both create them as local resources and collect host/service definitions from other nodes. -- Gabriel Filion signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Encrypt Passwords in Manifests

2013-04-03 Thread Gabriel Filion
github.com/duritong/trocla with the puppet integration module: https://github.com/duritong/puppet-trocla -- Gabriel Filion signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Puppet 2.6.x is now EOL

2013-05-02 Thread Gabriel Filion
x27;ll be around for another year. -- Gabriel Filion signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Holding packages on providers with holdable feature

2013-05-15 Thread Gabriel Filion
fo on pinning (it doesn't talk about preferences.d, but everything that can go in /etc/apt/preferences can be split in different files in /etc/apt/preferences.d) [0]: http://wiki.debian.org/AptPreferences this way, you're sure that no operation, should it be puppet or manual intervention

Re: [Puppet Users] Holding packages on providers with holdable feature

2013-05-16 Thread Gabriel Filion
http://wiki.debian.org/AptPreferences > <http://wiki.debian.org/AptPreferences> > > this way, you're sure that no operation, should it be puppet or manual > interventions will upgrade the package. -- Gabriel Filion signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Holding packages on providers with holdable feature

2013-05-17 Thread Gabriel Filion
er to it on the list. that way you can get people to vote on the issue to show support ;) -- Gabriel Filion signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Puppet 2.7 deprecation warnings

2013-06-03 Thread Gabriel Filion
/ > As you can see, type 2 has no reference to the code. Am I right to > assume that type 2 logs are related to ruby functions or .erb templates? one way to have a better idea what causes the error is to run with --debug to see the full trace. -- Gabriel Filion signature.asc Description: OpenPGP digital signature

Re: [Puppet Users] Re: New to Puppet bash: command not found

2013-06-15 Thread Gabriel Filion
ment variable $PATH. with puppet, it is considered a good practice to set a global $PATH value that corresponds to your system with the below snippet (the capital letter at the beginning of "Exec" is important). Exec { path => '/bin:/sbin:/usr/bin:/usr/sbin', } -- G

Re: [Puppet Users] Nagios service not restarting when removing a host from the database

2013-08-05 Thread Gabriel Filion
g runs fine. however in your example, you seem not to be redefining the "target" when collecting, so you might consider using purge => true. to achieve what you want with the workflow you mentioned above (e.g. without the need to export with ensure => absent) -- Gabriel Filion signature.asc Description: OpenPGP digital signature

  1   2   >