[Puppet Users] Issue with package provider dnfmodule

2021-07-22 Thread 'Christian Masopust' via Puppet Users
kage[redis:6]: Evaluated in 7.61 seconds So, is this an issue in puppet? Or is my resource configuration wrong? Thanks, Christian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop r

[Puppet Users] Override default schedule for all resources

2021-07-06 Thread 'Christian Masopust' via Puppet Users
dules, but that would mean to define the schedule for each and every resource, which definitly would be painful :) So the next idea was to override the default schedule "puppet". Does anyone of you know if that's possible? Or do you have other/better ideas how I could handle thi

[Puppet Users] Re: Unknown resource type after Upgrade

2018-09-28 Thread Christian Reiß
Hey, thank you-- that clears that up. Seems like time will solve the issue; postponing the update for now. Am Donnerstag, 27. September 2018 11:14:19 UTC+1 schrieb Christian Reiß: > > Hey folks, > > I am currently upgrading to 6.x on a test setup using my live puppet code; > t

[Puppet Users] Puppetserver does not auto-load.

2018-09-27 Thread Christian Reiß
I have a wierd question: On a fresh Server (Centos 7, PuppetServer 6) with only one nagios class (with nagios_core from forge I am getting this error: Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource St

Re: [Puppet Users] Unknown resource type after Upgrade

2018-09-27 Thread Christian Reiß
e now available >as the puppetlabs/nagios_core module from the Forge. > > > Em qui, 27 de set de 2018 às 07:14, Christian Reiß > escreveu: > >> Hey folks, >> >> I am currently upgrading to 6.x on a test setup using my live puppet >> code; trying t

[Puppet Users] Unknown resource type after Upgrade

2018-09-27 Thread Christian Reiß
Hey folks, I am currently upgrading to 6.x on a test setup using my live puppet code; trying to get it to work with 6.x. One weird issue I am getting is that alle default definitions (upper case classes) are faulting: Error: Could not retrieve catalog from remote server: Error 500 on SERVER: S

Re: [Puppet Users] Question Exec resource

2016-08-01 Thread Christian Charpentier
Yes the command exit with succes from a root shell. I'm gonna try to use exec environment parameter. Thx -- 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

Re: [Puppet Users] Question Exec resource

2016-07-28 Thread Christian Charpentier
Thnaks for your answer Martin. Here is the beginning of the stack: [0;36mDebug: Executing '/bin/sh -c source /etc/profile && /opt/openam/bin/openam_install.sh install cm > /opt/openam/install.log' [0m [0;36mDebug: /Stage[main]/Openam::Config/Exec[openam_install]/returns: Certificate was adde

[Puppet Users] Question Exec resource

2016-07-27 Thread Christian Charpentier
Hi, I'm trying to install openam with puppet. To do this i'm using an exec resource: exec { 'openam_install': command => "source /etc/profile && /opt/openam/bin/openam_install.sh install ${::env} > /opt/openam/install.log", provider => shell, creates => '/var/lib/tomcat/webapps/sso', }

[Puppet Users] Re: how to trigger puppet run on agents remotely

2015-11-30 Thread Christian Flamm
Very simple, yet helpful: https://github.com/alcCapone/doll -- 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-users+unsubscr...@googlegroups.com. To view th

Re: [Puppet Users] Anonymous block scope?

2015-08-28 Thread Christian Flamm
Thanks for clearing this up! -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit

Re: [Puppet Users] Anonymous block scope?

2015-08-27 Thread Christian Flamm
Not proud of this idea, but... if true { ... } ? -- 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-users+unsubscr...@googlegroups.com. To view this discus

Re: [Puppet Users] Anonymous block scope?

2015-08-27 Thread Christian Flamm
Yes Am 27.08.2015 13:07 schrieb "R.I.Pienaar" : > > > - Original Message - > > From: "Christian Flamm" > > To: "puppet-users" > > Sent: Thursday, August 27, 2015 12:03:11 PM > > Subject: [Puppet Users] Anonymous block scope

[Puppet Users] Anonymous block scope?

2015-08-27 Thread Christian Flamm
atest/reference/lang_defaults.html). Thanks in advance, Christian -- 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-users+unsubscr...@googlegroups.co

Re: [Puppet Users] Re: Puppet agent run runs slowly

2015-08-27 Thread Christian Flamm
I most sincerely love you! Thank you, thank you, thank you!!! Am Mittwoch, 26. August 2015 19:26:31 UTC+2 schrieb Christopher Wood: > > On Wed, Aug 26, 2015 at 05:13:19PM +0200, Constantin Wolber wrote: > >Hi, > >after some more searching and investigating i came to the solution > that

[Puppet Users] Problems with a resource default definition

2015-03-05 Thread Christian Hase
ource declaration its working. Can someone tell me how i have to declare a resource default that it is working for i.e. 5 services wich i include in the nodedefinition ? Thanks in Advance Christian Hase (Yes thats my real name ^-^ its german and means rabbit) -- You received this message becaus

[Puppet Users] Dallas Fort-Worth Puppet User Group

2015-02-27 Thread Brad Christian
Hi, I've started the DFWPUG. Please go to http://www.meetup.com/Dallas-Fort-Worth-Puppet-User-Group <http://www.meetup.com/Dallas-Fort-Worth-Puppet-User-Group>for details, I'll be organizing a first meeting soon. Brad Christian @vhipster -- You received this message

Re: [Puppet Users] Unreported Windows nodes (Puppet 3.7.3, Exchange 2010)

2015-02-05 Thread Christian Koep
This is what it looks like: http://i.imgur.com/Woxi68C.png On Thu, Feb 5, 2015 at 11:27 PM, Rob Reynolds wrote: > On Tue, Feb 3, 2015 at 8:25 AM, cko wrote: > >> Icacls: http://i.imgur.com/s1xQy65.png >> > > Can you run one against the last_run_report.yaml and the lock file (if > still presen

Re: [Puppet Users] hiera variable problem

2014-08-07 Thread Christian Charpentier
No, the command to get the hiera variable value (hiera nom) doesn't work. The common.yaml file contents: --- apache_packages_list: - apr-1.4.8 - apr-devel-1.4.8 - apr-util-1.5.2 - apr-util-devel-1.5.2 - distcache-1.4.5 - distcache-devel-1.4.5 - httpd-2.4.6 - httpd-tools-2.4.6 - mod_ssl-

[Puppet Users] hiera variable problem

2014-08-07 Thread Christian Charpentier
ce => "/etc/puppet/test.txt.erb", } } *test.txt.erb*: <%= nom %> Any idea about to fix this?I thought this could be an file access right issue, so i tried to grante access on some files (755) and it's not working... Thanks to those who 'll take time to read me

[Puppet Users] Re: Problem using hiera variable in templates

2014-06-30 Thread Christian Charpentier
It was due to some kind of syntax error (= missing) : <%= scope.lookupvar('apache::config::servername') %> -- 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 pupp

[Puppet Users] Problem using hiera variable in templates

2014-06-24 Thread Christian Charpentier
7;apache::config::servername') %> ServerAdmin <% ServerAdmin = scope.lookupvar('apache::config::serveradmin') %> I also tried syntax as follow: ServerName <%= scope.function_hiera('ServerName') %> ServerName <%= @servername %> But i doesn't

[Puppet Users] Re: Puppet + hiera file backend problem

2014-06-10 Thread Christian Charpentier
I have a file accounts.victorbuckservices.com.conf and not an .erb template. It seems a little weird to me that we have to use template function either for .erb template or file backend. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubs

[Puppet Users] Puppet + hiera file backend problem

2014-06-06 Thread Christian Charpentier
to figure out what happen? If there are some information missing to make easier to understand what's going on feel free to ask me. Thanks. Christian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from

Re: [Puppet Users] Error 400 on SERVER : could not find class xxx for yyy on node yyy

2014-06-02 Thread Christian Charpentier
Thanks a lot Jose, i appreciate your help :) Le vendredi 30 mai 2014 15:53:42 UTC+2, Jose Luis Ledesma a écrit : > > Class vstar::apache should be in > > /etc/puppet/modules/vstar/manifests/apache.pp > > To allow autoloader find it. > > Regards, > El 30/05/2014 15

[Puppet Users] Error 400 on SERVER : could not find class xxx for yyy on node yyy

2014-05-30 Thread Christian Charpentier
Hi, I'm statrting using puppet with role/profile pattern and i'm facing a problem. I use puppet 3.4.3 with a master running on red hat 2.6 and a client on a local VM centOS 6.5. When i try to test my code with the command above i got an error : Error 400 on SERVER could not find class vstar::apa

[Puppet Users] Re: Two (hopefuly minor) Questions (ip-array, line for several hosts)

2013-10-23 Thread christian . reiss . sg
Hey folks, that worked, thanks. -Christian. Am Donnerstag, 10. Oktober 2013 11:54:31 UTC+2 schrieb christian...@googlemail.com: > > Hey Folks, > > I have two question, which I hope are minor. First off I would like an > array with all IPs for a system. This would come in ha

[Puppet Users] Two (hopefuly minor) Questions (ip-array, line for several hosts)

2013-10-10 Thread christian . reiss . sg
(theoretical) nameservers, which configs (zones) get distributed over puppet. - I want, in each zonefile a line "mydomain.de. IN NS <$fqdn::dns::server>." Furthermore I want those lines purged if a NS does clean/deactivated. Thanks for your help in advance! -Christian. -- Y

Re: [Puppet Users] Re: [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-10-04 Thread Christian Koep
xed this issue > for you? > > > https://github.com/ferventcoder/facter/blob/874a5a96ac5fa778c50f1e93424850022b1756cf/lib/facter/util/ip/windows.rb#L46-L47 > > > > > On Thu, Oct 3, 2013 at 1:42 PM, Christian Koep wrote: > >> Yes, thats all i got from *facter --trac

Re: [Puppet Users] Re: [windows server 2008 r2] puppet errors in 3.3.0 on exchange database servers

2013-10-03 Thread Christian Koep
than, >>>> >>>> what's the exact command that i would have to use? >>>> >>>> >>>> On Wednesday, October 2, 2013 11:35:29 PM UTC+2, Ethan Brown wrote: >>>> >>>>> Christian - >>>>> >>>&g

[Puppet Users] Howto model different stages

2013-10-02 Thread Christian Flamm
uppet environments - or being checked out on different puppetmasters but then colleagues of mine recently attended Citconf in Turin were somebody strongly recommended *not* to use puppet environments and/or branches. I'd like to understand how you solve(d) this. Thanks in advance,

[Puppet Users] Re: Vagrant+Puppet using RVM to install Apache2+Passenger fails

2013-09-26 Thread Christian
Anyone? -- 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-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups

[Puppet Users] Vagrant+Puppet using RVM to install Apache2+Passenger fails

2013-09-23 Thread Christian
Hi all, hope to be on the right place here.. I'm playing with Vagrant and Puppet for a small Apache2+Passenger Server above ubuntu-precise-32. I like to get this working for a small group of developers. I confess, I didn't read the whole documentation about puppet, but I've browsed the whole

[Puppet Users] Puppet, Facter, looping through IPs

2013-08-14 Thread Christian Reiß
Hello all, I am trying to set up ssh keys (sshkeys) for populate /etc/ssh/ssh_known_hosts. So far it works great, but I want to have aliases for all ips online on that host. Two problems: - The assumption is that the interface count and names are unknown. There can be one eth or many, none b

Re: [Puppet Users] Debugging Puppetmaster with Apache/Rack/Passenger

2013-07-24 Thread Christian Flamm
9:40 UTC+2 schrieb Christian Flamm: > > Did what you posted. > Strange thing happened: nothing appears in the specified logdest. Instead: > the (wanted) debug output it now sent to apache's error log! > > I have no idea what's going on - but at least I have the outp

Re: [Puppet Users] Debugging Puppetmaster with Apache/Rack/Passenger

2013-07-24 Thread Christian Flamm
Did what you posted. Strange thing happened: nothing appears in the specified logdest. Instead: the (wanted) debug output it now sent to apache's error log! I have no idea what's going on - but at least I have the output I was looking for :-/ Thanks, Christian Am Mittwoch, 24. Juli

[Puppet Users] Debugging Puppetmaster with Apache/Rack/Passenger

2013-07-23 Thread Christian Flamm
Hi, I'm currently trying to debug a performance issue I'm having. Therefore I would need "DEBUG" output. When using one puppetmaster process, this is fairly easy by starting it like this: > puppet master --no-daemonize --debug Now I need to see this debug output when running puppetmaster th

Re: [Puppet Users] What's the benefit of Virtual Resources?

2013-07-12 Thread Christian Flamm
Am Freitag, 12. Juli 2013 17:03:11 UTC+2 schrieb Nan Liu: > > On Fri, Jul 12, 2013 at 7:45 AM, Christian Flamm > > > wrote: > >> Hi, >> I'm having trouble understanding the added value Virtual Resources >> provide. Let's say I'm having two

[Puppet Users] What's the benefit of Virtual Resources?

2013-07-12 Thread Christian Flamm
$manifestsdir/nodes.pp node // { include adminuser include mailserver include webserver } I guess I'm missing something here, or I'm using it wrong. Your help is highly appreciated, thanks in advance, Christian -- You received this message because you are subscribed to the

[Puppet Users] Nagios & Puppet

2013-06-27 Thread Christian Reiß
Hello folks, I am currently using Puppet to forge the nagios configuration files. Using exported ressources it really works well - to a point. The one thing I am banging my head against is the service definitions. The services use stuff like remote-nrpe-zombie-procs, which of course, is not de

Re: [Puppet Users] puppet: 3.1.1 -> 3.2.1 load increase

2013-06-27 Thread Christian Flamm
Forgot to say this explicitly: config_retrieval times (guess this includes catlog compilation) on the agents explode. -- 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 emai

Re: [Puppet Users] puppet: 3.1.1 -> 3.2.1 load increase

2013-06-25 Thread christian . le . flamm
Forgot to enable email notification here. Decided to go back to 3.1.1 a week ago. Will upgrade again to provide more specific load information. Thx! You have to be a little bit more specific. Is load only CPU related, or > I/O? Also, what do the log say? 3.2 pushes lots of notices about syntax

[Puppet Users] puppet: 3.1.1 -> 3.2.1 load increase

2013-06-13 Thread christian . le . flamm
Hi, I recently updated from puppet 3.1.1 to 3.2.1 and noticed quite a bit of increased load on the puppetmaster machine. I'm using the Apache/passenger/rack way of puppetmastering. Main symptom is: higher load on puppetmaster machine (8 cores): - 3.1.1: around 4 - 3.2.1: around 9-10

[Puppet Users] Re: Variable re-use, override, inherit and include

2013-05-10 Thread christian . le . flamm
Sorry, wasn't able to format it properly... formatting it had no effect. -- 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-users+unsubscr...@googlegroups.co

[Puppet Users] Re: Variable re-use, override, inherit and include

2013-05-10 Thread christian . le . flamm
Thx, maybe this was a little too straight from the hip... BTW: I've tried it - it even worked... but I see that's probably caused by a lot of strange luck... > Subclasses can never 'override' ancestor class variables. They can > partially *hide* them within their own scope by declaring a sam

[Puppet Users] Variable re-use, override, inherit and include

2013-05-03 Thread christian . le . flamm
to override it. } Question: Is there somehow a problem that class "child" inherits class "module_x" *with all its many includes*? Thanks in advance, Christian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] Re: Defining custom resource types wrapping exec resources and using optional “unless”

2013-04-10 Thread christian . le . flamm
Never heard of *undef *before - sounds great! Thanks -- 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-users+unsubscr...@googlegroups.com. To post to this g

[Puppet Users] Defining custom resource types wrapping exec resources and using optional “unless”

2013-04-10 Thread christian . le . flamm
The following code example is purely academical but it illustrates my question pretty well. define touch($file=$title, $unless='/bin/false') { exec { "/bin/touch ${file}": unless => $unless } } If I define my own resource type that wraps another *exec* resource and I want to *add

Re: [Puppet Users] "Could not find class" hiccups *often* once after manifest/module changes

2013-03-18 Thread christian . le . flamm
Switching to an Apache/Passenger/Rack solution (and dumping WEBrick) seems to solve this problem. -- 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-users+u

Re: [Puppet Users] "Could not find class" hiccups *often* once after manifest/module changes

2013-03-08 Thread christian . le . flamm
ame) searchspace.each do |fqname| result = send(type, fqname) unless result # do not try to autoload if we already tried and it wasn't conclusive # as this is a time consuming operation. unless @notfound[fqname] result = loader.try

Re: [Puppet Users] "Could not find class" hiccups *often* once after manifest/module changes

2013-03-08 Thread christian . le . flamm
Hi David, thanks for your answer! I only have the 'nodes.pp' import: > egrep -R "import[ \t]" /opt/xxx/dev/puppet/ /opt/xxx/dev/puppet/manifests/site.pp:import 'nodes.pp' Must I get rid of this? Best Regards, Christian > > Hi, > >

[Puppet Users] "Could not find class" hiccups *often* once after manifest/module changes

2013-03-08 Thread christian . le . flamm
Hi, I’ve got no idea if this is a bug or some kind of misuse/misconfiguration. Hope somebody can help. Thanks! If I change a file in a module or manifest directory this *often* results in errors, mostly of the following kinds - Could not find class for on node - Cannot f

[Puppet Users] Usage of puppet to deploy and configuration manage software patches

2012-11-09 Thread Christian
I have some questions in terms of how to use puppet of configuration management for software patches. My previous approach was it to create a puppet module for each patch ... Like Patch1 includes (FileA, FileB, FileC), Patch2 includes (FileD, FileE)... So far so good and that works but now i ha

[Puppet Users] Re: Puppet 3.0 on Debian Lenny

2012-10-12 Thread Christian Page
Felipe, Thanks for the information, I will give this a shot! Cheers, Christian On Friday, October 12, 2012 3:46:18 PM UTC-6, Felipe Salum wrote: > > Hi Christian, > > My libaugeas0 is 0.7.2 from backports: > http://archive.debian.org/debian-backports/pool/main/a/augeas/libaugeas

[Puppet Users] Re: Puppet 3.0 on Debian Lenny

2012-10-12 Thread Christian Page
archive.debian.org, and puppet from apt.puppetlabs.com requires version 0.6.0. What did you have to do to get this dependency met? Thanks for your help, Christian On Tuesday, October 9, 2012 12:29:22 PM UTC-6, Felipe Salum wrote: > > Hi guys. > > I don't see the latest puppet 3.0 on the

Re: [Puppet Users] install vmware tools through puppet

2012-09-22 Thread Christian McHugh
I've done something similar using the open-vm package on debian hosts. On Saturday, September 22, 2012 3:06:10 PM UTC-5, Alan Evans wrote: > > I believe the open-vm-tools at http://packages.vmware.com/tools are ESX > host version agnostic. > > We pull the rhel 4-6 repos into RHN satellite and

RE: [Puppet Users] puppet client could not request certificate: Error 500 on SERVER

2012-08-20 Thread Mark Christian
Have you confirmed that puppet master is running as user = puppet? On the master check: puppet --genconfig|grep user Mark From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Jo Rhett Sent: Monday, August 20, 2012 1:03 PM To: puppet-users@googlegroups.com Subj

RE: [Puppet Users] newish puppet on RHEL4 and/or SLES9?

2012-08-15 Thread Mark Christian
I'm not running newish puppet on rhel/cent 4, but the 0.25.6 EPEL packages seem to work well enough with my puppet master that runs 2.7.18. -Original Message- From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Jason Antman Sent: Wednesday, August 15,

[Puppet Users] Re: hiera scope and hiera-foreman

2012-08-10 Thread Christian McHugh
Okay. I figured out my issue. I'm not a developer so this is probably ugly, but came up with: begin fqdn = scope.catalog.tags[4] rescue fqdn = scope['fqdn'] if scope.has_key?('fqdn') Hiera.debug("trying mcollective") end Hiera.debug("g

[Puppet Users] hiera scope and hiera-foreman

2012-08-09 Thread Christian McHugh
Hey all, I've been messing around with the hiera-foreman backend to see if it would let me migrate to hiera and use foreman and an ENC. https://github.com/torrancew/hiera-foreman It works by querying each node's yaml file from foreman. Currently this code works when called from the hiera comma

Re: [Puppet Users] add an rpm to a host

2012-06-27 Thread Christian DeKonink
Thanks for your immediate response. The first solution you propesed worked flawlessly. I like that. Thanks. On Fri, Jun 22, 2012 at 9:23 AM, Christopher Wood < christopher_w...@pobox.com> wrote: > > class myrpm { > package { 'foo_bar': } > } > > node "myhost.me.com" { > class { 'myrpm': } > } >

[Puppet Users] add an rpm to a host

2012-06-22 Thread Christian DeKonink
Hi I am new to puppet. I have an existing puppet 2.6 config and I have about 400 hosts that I would like to install a package on. the specific package is foo_bar_1.0.rpm How would I deploy this to all hosts that talk to my puppetmaster? Thanks Chris -- You received this message because you ar

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-06-19 Thread Christian McHugh
I have this working in our environment as a module, which I will attempt to describe. module: casfirewall init.pp class casfirewall { include casfirewall::default, casfirewall::fwpre, casfirewall::fwpost file {"/etc/iptables": ensure => "directory", owner => "root", group => "ro

[Puppet Users] Re: Generating dhcp/pxe configuration from puppet

2012-04-20 Thread Christian Requena
scribe the nodes in a nodes.pp and from there setup DHCP and PXE for them. Any other hints? Cheers, Christian On Apr 18, 10:22 am, Luke Bigum wrote: > If you wanted to do this all in Puppet, you could take the same approach > that people do with Nagios an use exported resources. Have each

[Puppet Users] Generating dhcp/pxe configuration from puppet

2012-04-18 Thread Christian Requena
Hello, I want to generate my infrastructure's dhcp/pxe config from puppet, but to go through the node definitions? Btw. we only use explicit definitions, no regexp. So everything is explicit. I thought about using Puppet::Parser...something ... any hints? Thanks for you help! Chri

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-14 Thread Christian McHugh
Super, it all works great! Since the whole fwpre class is run before everything else, is it necessary to define each resource with dependencies with firewall {"002 testing": ...}->firewall {... as in your gist? Anyway, works great for us now. Thanks much! All that remains is waiting for a new

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-14 Thread Christian McHugh
Great! ... almost? The Firewall notify dependency check almost covers everything. I really like its elegance. The one problem I can still think of is that the firewall module is not the only one setting firewall rules. In the puppetlabs/apache module, for example, it attempts to open up port 8

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-13 Thread Christian McHugh
In the pre main stage I have defined rules to allow outbound and allow related and established. In the post main stage, it does a drop all. Before this was organized into stages, occasionally the drop all would get applied before keep established and allow outbound, and thus the client could los

[Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-13 Thread Christian McHugh
I appreciate the interest but I don't understand how you can tell me you don't have any experience with the module but yet know that I'm doing it wrong. The puppetlabs firewall module does not have classes or anything else to base a dependency on. I agree, I would rather not use stages, which i

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-10 Thread Christian McHugh
Sounds interesting. As far as I've seen, the puppetlabs-firewall resource activates instantly. I've not tried to have them all write out to a file and trigger an exec iptables-restore. If the firewall resource kicks the only way I think it can, then we had an issue of firewall ordering. While

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-09 Thread Christian McHugh
> > Thus far I've only been able to get puppet to run without making the > firewall persistent. > In the case of running the exec save-rules in the post: it's no good if your hosts are at all dynamic since it only runs after the main stage. So if you have an existing host, add another normal f

[Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-02-15 Thread Christian McHugh
I've got slightly more info. In trying to figure this out I ran across http://projects.puppetlabs.com/issues/10665 where it was suggested that the persist-firewall bits (already shown in the previous message) get placed into site.pp. This almost worked perfectly. I've placed the following inside a

[Puppet Users] puppetlabs-firewall stages and persistence

2012-02-15 Thread Christian McHugh
Hi all, I'm attempting to use the puppetlabs-firewall module. In testing, rules are enabled in a random order, so it seems necessary to utilize puppet stages to guarantee proper ordering. I created a module to organize my firewalling. It consists of localfw::pre to open the INPUT chain for establ

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

2012-02-13 Thread Christian Requena
gger": name => "logger", ensure => "present", [ 'mongodv', 'postgres', 'custom', 'www' ].each do | g | g.exist? _groups < g.to_s end groups => _groups shell => "/bin/bash";

Re: [Puppet Users] Re: explicit class dependencies

2011-12-07 Thread Christian G. Warden
On Wed, Dec 07, 2011 at 01:36:13PM -0800, jcbollinger wrote: > On Dec 6, 4:12 pm, "Christian G. Warden" wrote: > > On Tue, Dec 06, 2011 at 01:38:38PM -0800, Nan Liu wrote: > > > On Tue, Dec 6, 2011 at 12:27 PM, Christian G. Warden > > > wrote: > &

Re: [Puppet Users] explicit class dependencies

2011-12-06 Thread Christian G. Warden
On Tue, Dec 06, 2011 at 01:38:38PM -0800, Nan Liu wrote: > On Tue, Dec 6, 2011 at 12:27 PM, Christian G. Warden > wrote: > > Do explicit class dependencies work? > > This simple example fails with: > > Could not find resource 'Class[Config]' for relat

[Puppet Users] explicit class dependencies

2011-12-06 Thread Christian G. Warden
es_config'] } include uses_config Am I doing something? Thanks, Christian -- 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

[Puppet Users] scope of tags

2011-12-06 Thread Christian G. Warden
7;t enclose 'second'. But given that the 'first' tag is set, why isn't the 'third' tag also set? Finally, is there a way to extend the scope of a tag through explicit dependencies? I'd like to do something like: Class['first'] -> Class[&#x

Re: [Puppet Users] Dynamic configuration file

2011-11-29 Thread Christian G. Warden
.188"], ports => [25, 80, 443]; } } The contents of ldirectord.cf.snippet.rb: virtual=<%= Integer(service)|0x1000 %><% real_ips.each do |real_server| %> real=<%= real_server %> gate<% end %> service=http request="ldirector.html" receive=&quo

RE: [Puppet Users] Concat module

2011-11-03 Thread Mark Christian
Can't speak to concat, but you might consider using augeas for managing /etc/sysctl.conf. There is an excellent example of this at: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Augeas , see "Working Examples" > -Original Message- > From: puppet-users@googlegroups.com [mailto:p

[Puppet Users] Re: I managed to break my Cent5 mongrel puppetmaster after upgrading from EPEL .25.5 to 2.6.6

2011-10-13 Thread Mark Christian
I removed the rubygem-mongrel rpm and reinstalled it. That appears to have fixed my issue. On Oct 13, 6:22 pm, Mark Christian wrote: > CentOS release 5.7 (Final) > puppet-server-2.6.6-1.el5.noarch > ruby-1.8.5-19.el5_6.1.x86_64 > rake, version 0.9.2 > > The upgrade from 25.5

[Puppet Users] I managed to break my Cent5 mongrel puppetmaster after upgrading from EPEL .25.5 to 2.6.6

2011-10-13 Thread Mark Christian
CentOS release 5.7 (Final) puppet-server-2.6.6-1.el5.noarch ruby-1.8.5-19.el5_6.1.x86_64 rake, version 0.9.2 The upgrade from 25.5 to 2.6.6 had been working fine. Not sure if this is relevant: I then attempted to get puppet-dashboard working using this guide: http://docs.puppetlabs.com/guides/in

Re: [Puppet Users] Re: Strange Could not find dependency error

2011-08-11 Thread Christian Kauhaus
not very helpful in such a case. Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · k...@gocept.com · systems administration gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 11 · fax +49 345 1229889 1 Zope and P

[Puppet Users] Puppet Class is applied but is not executed

2011-06-24 Thread christian huber
rror. Executing again on the linuxbox the puppet command, nothing happens. I would now expect a error. But it looks like puppet just doesn't executed this class. anyone a idea what i'am missing .. ? thanks Christian -- You received this message because you are subscribed to the Goo

Re: [Puppet Users] Could not find a default provider for package

2011-06-20 Thread Christian Kauhaus
to function. Is eix installed? Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · k...@gocept.com · systems administration gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 11 · fax +49 345 1229889 1 Zope and

Re: [Puppet Users] Re: Cannot dry run puppet on the puppetmaster

2011-05-08 Thread Christian Kauhaus
on failed catalog > err: Could not retrieve catalog; skipping run There's not much to see here. It would probably more informative to start the server with the --debug flag and see what is going on there. Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · k...@gocept.com ·

Re: [Puppet Users] help with template and has_variable?

2011-05-02 Thread Christian Kauhaus
Am 02.05.2011 15:41, schrieb Arnau Bria: > so, any ideawhy is ruby doing it? Identifiers beginning with uppercase letters denote constants in Ruby. The most visible example for this rule are class names. Class names are constants that point to their respective class objects. Regards Christ

Re: [Puppet Users] Puppetmaster best practice for multiple zones

2011-04-19 Thread Christian Kauhaus
masters? If do the later how will I be > able to unify my view of the three zones? I'd prefer one puppetmaster for everything. If the puppetmaster needs to reachable from everywhere, it belongs into the production zone. Regards Christian -- Dipl.-Inf. Christian Kauhaus <><

[Puppet Users] Re: Multiple file path for single module in the fileserver.conf

2011-04-13 Thread Christian
should be taken. Is there an interest on a change request? As a workaround i probably will simply create two separated modules. On 13 Apr., 16:01, Felix Frank wrote: > On 04/12/2011 04:44 PM, Christian wrote: > > > Is it possible to have multiple file paths defined for a single modul

[Puppet Users] Multiple file path for single module in the fileserver.conf

2011-04-12 Thread Christian
idea if this is possible. Thanks a lot Christian -- 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] Re: Use puppet to preconfigure gnome gvfs shares

2011-04-02 Thread Christian Kauhaus
providing this functionality. Something in /etc/profile (or your login shell's equivalent) would also be feasible. Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · k...@gocept.com · systems administration gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · german

Re: [Puppet Users] Use puppet to preconfigure gnome gvfs shares

2011-03-31 Thread Christian Kauhaus
tent => template("path/to/template") } given that the template makes use of the $username variable too. If you need the same procedure for more than one user, wrap the whole thing into a define. Add 'replace => false' to make this a one-shot operation. Did I get the probl

Re: [Puppet Users] RFC: Splitting up the file{} type functionality.

2011-03-23 Thread Christian Kauhaus
nd > recurselimit I see your point. As an alternative, extracting the recursive directory copy facility is definitely a step in the right direction. I'm not sure if the symlink feature should be extracted too. It should at least get a different parameter name, though. The overloaded &#

Re: [Puppet Users] RFC: Splitting up the file{} type functionality.

2011-03-22 Thread Christian Kauhaus
symlinks. Each one has unique attributes: files should support source/content, while directories should support the recursive copy feature. Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · k...@gocept.com · systems administration gocept gmbh & co. kg · forsterstraße 29 · 0

Re: [Puppet Users] RFC: Refactoring the mount provider.

2011-03-18 Thread Christian Kauhaus
er OSes), and one that manages actual mount > state. +1 Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · k...@gocept.com · systems administration gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 11 · fax

Re: [Puppet Users] grub config

2011-03-15 Thread Christian Kauhaus
Am 15.03.2011 03:25, schrieb David Kavanagh: > Has anyone come up with a preferred method of messing with grub? I need to > install a hypervisor (like xen or kvm) and modify the grub.conf to make the > machine boot from the new kernel. > I might mess with Augeas. What do the experts say? We use Pu

Re: [Puppet Users] Proposal: "strict" mode for manifests

2011-03-15 Thread Christian Kauhaus
Is there already a ticket to vote? Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · k...@gocept.com · systems administration gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 11 · fax +49 345 1229889 1 Zope and

[Puppet Users] Re: puppet dashboard group and class

2010-12-14 Thread Christian
ch module belongs to which node will be done then in puppet dashboard. Your class name have of course be exactly the same name as the module name you have in your folder structure in the puppet module folder. Hope that helps a bit Christian On 15 Dez., 02:17, Nicolas Aizier wrote: > Hi everyone

[Puppet Users] Re: managing normal users with Puppet

2010-11-15 Thread Christian
' resource. Christian -- 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-users+unsubscr...@googlegroups.com. For more

[Puppet Users] Re: Puppetrun reports certificates were not trusted

2010-10-19 Thread Christian
running finished with exit code 3" If i run puppetrun a second time than the same node does not report problems anymore. Does anybody know what is the background of that problem? Christian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

  1   2   >