How's about: source => "puppet:///modules/apache/krome/httpd/conf.d/php.conf"
On Mar 11, 2011, at 6:55 PM, Tim Dunphy wrote:
> sorry I accidentally mispsated one of the entries above.. there
> actually is a closing brace on php.conf
>
>file {
> "/etc/httpd/conf.d/php.conf":
> owner =>
sorry I accidentally mispsated one of the entries above.. there
actually is a closing brace on php.conf
file {
"/etc/httpd/conf.d/php.conf":
owner => root,
group => root,
mode => 440,
require => Exec["create httpd conf dir"],
source => "puppet:///apache/files/k
Hello Denmat!
Thanks for responding ! That was a tremendous help! I was able to
correct a couple of issues. I corrected the paths and all of the files
are shared but one.. I would appreciate your insight here as well.
## puppet error
err: //apache/File[/etc/httpd/conf.d/php.conf]: Failed to ret
I know its been a while, but that is exactly what I was doing..
returning nothing. Added the blank yaml and all is working.
On Feb 19, 5:40 pm, Gary Larizza wrote:
> With regard to the External Nodes problem - are you returning an empty block
> of YAML if the node isn't defined in the external
I'm the one giving the talk. Airlines have forced it to be rescheduled
for today at 4:55 in Centenial 2.
On Friday, March 11, 2011, Corey Osman wrote:
> Hi, someone is giving a talk about puppet at pycon. Are there any other
> puppet users at pycon?
>
> Sent from my iPhone
>
> --
> You receive
On Mon, Feb 21, 2011 at 20:07, Ty C wrote:
> We've several use cases where we'd like to define stdin as an exec param. My
> searches didn't reveal anything relevant, but I did dredge up a 3-year old,
> unimplemented ticket concerning this matter:
> https://projects.puppetlabs.com/issues/653
>
>
Hi, Stefan. I can't reproduce this on my 2.6.4 machines. Here's what
I've got:
# moduledir/autoreqproblems/manifests/init.pp
class autoreqproblems {}
# moduledir/autoreqproblems/manifests/myfile.pp
class autoreqproblems::myfile {
file {"/tmp/myfile":
ensure => file,
owner => "
Hi, someone is giving a talk about puppet at pycon. Are there any other
puppet users at pycon?
Sent from my iPhone
--
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
On Tue, Mar 8, 2011 at 4:00 PM, trey85stang wrote:
> exec { "bash prescript":
> path => "/path/to/prescript_dir",
> unless => "grep -q $desiredver /path/to/somefile",
> }
The above might work.. but it's really saying that *bash* is to be
found in */path/to/prescript_dir*
Right?
Mohamed.
On Wed, Mar 9, 2011 at 5:30 PM, Jacob Helwig wrote:
> This maintenance release fixes two issues with Puppet 2.6.5.
Enterprise Linux 5 RPM's have been posted to the Puppet Labs prosvc
repository as well. This is available via rsync if you're keeping a
local mirror. I recommend not using --delete
On Mar 11, 2011, at 7:52 AM, Nick Moffitt wrote:
>> I'm not sure what you mean by deduplicating. Puppet won't let you
>> have duplicate *anything*, exported or not. If you mean "filtering",
>> that's doable, but any non-trivial filtering rule will require to you
>> write evil Puppet functions th
On 11 Mar 2011, at 14:39, Felix Frank wrote:
> A sane approach here might be the following:
>
> class motd::motd($os,$region) {
> file "/etc/motd":
> owner => root, group => sys, mode => 0644,
> content => template("motd/motd.$operatingsystem.erb"),
> }
> }
>
> Then instantiate
Brian Gallew:
> A cons cell isn't actually that hard to produce in Puppet: you can use
> a hash. Each key is the member of the cell you want to keep, while
> the value is a throwaway.
Sure. I was actually talking about Nagios there, not Puppet.
> I'm not sure what you mean by deduplicating.
A cons cell isn't actually that hard to produce in Puppet: you can use a
hash. Each key is the member of the cell you want to keep, while the value
is a throwaway. But. Puppet's non-determinate evaluation order is pretty
much guaranteed to bite you in the butt. You can really only get the "full
My setup also has a worst-case propagation delay of 90 minutes. I have a
custom fact that collects all of the information in classes.txt on the
client. That, in turn, is used (for Nagios) by a custom parser function
that produces the hostgroup list for when the nagios_host resource is
exported.
On 03/09/2011 03:01 PM, Mark Phillips wrote:
> Hi all,
>
> I've been testing something today that I can't get to play ball the
> way I'd like. Here's the setup:
>
> site.pp
> import "nodes"
> $extlookup_datadir = "/etc/puppet/envs/poc/extdata"
> $extlookup_precedence = ["%{fqdn}", "common"]
>
>
On 03/08/2011 11:37 PM, Robin Bowes wrote:
> Nigel suggested I posted this here - he likes the idea.
>
> I'm constantly getting bitten by small typos in my manifests, eg. when I
> do something like:
>
> $var1 = extlookup('foo')
> $var2 = extlookup('foo')
> # set $var3 true if $var1 is same as $va
Martijn Grendelman:
> I'm afraid not.
This is distressing news.
I feel like there are two things conspiring to defeat me, here: one is
that nagios resource types like to enumerate *children* instead of
*parent* relationships. Having to maintain these static lists of
"members" is part of the cri
>
> I don't know webrick much at all to be honest, but I'm sure it can
> support more than one. Forgive the stupid question but you don't have
> another host with the same name somewhere that you're confusing log
> messages with?
>
No need to apologies, it's always good to check this kind of thing
On 11-03-11 12:46, Martijn Grendelman wrote:
[snip]
> I did exactly what you did: use exported concat-fragments to collect the
> hostgroups on the puppetmaster and then use generate() to provision the
> hostgroups parameter of the nagios_host.
[snip]
> The biggest downside of my system so far, i
On 03/08/2011 10:09 PM, Disconnect wrote:
> class app {
> exec { "prescript":
> refreshonly => true, command => ..,
> }
> package { package1: ensure => installed, require => Exec["prescript"],
> notify => Exec["postscript"] }
> package { package2: ensure => installed, require =>
> Pac
On Mar 11, 1:49 pm, Romain Pelisse wrote:
> On 11 March 2011 14:41, Luke Bigum wrote:
> > "Connection refused" sounds like networking or a firewall is in your
> > way. On your new Puppet client, can you "telnet puppetmaster.domain
> > 8140"? Assuming your Puppet Master is running on the default
On 11 March 2011 14:41, Luke Bigum wrote:
> > I actually tried --waitforcert 48 ! But it still hang and end up into
> a
> > certificate timeout : puppetd[2078]: Could not request certificate:
> > Connection refused - connect(2)
>
> "Connection refused" sounds like networking or a firewall is
> I actually tried --waitforcert 48 ! But it still hang and end up into a
> certificate timeout : puppetd[2078]: Could not request certificate:
> Connection refused - connect(2)
"Connection refused" sounds like networking or a firewall is in your
way. On your new Puppet client, can you "telnet
Hi,
Thanks for you quick reply.
Try puppetd --test --waitforcert 15
>
I actually tried --waitforcert 48 ! But it still hang and end up into a
certificate timeout : puppetd[2078]: Could not request certificate:
Connection refused - connect(2)
> I think it's complaining about waitforcert bec
Try puppetd --test --waitforcert 15
I think it's complaining about waitforcert because you need that flag to
retrieve the cert from the server.
But it would have been nice to see the actual command you used to produce that
error. :)
The number is the interval that the puppet client will pause
Hi,
I'm using puppet on EC2 to setup my VMs with the following configuration:
# puppetd --version
0.25.5
# uname -a
Linux hostname.domain 2.6.16-xenU #1 SMP Mon May 28 03:41:49 SAST 2007 i686
i686 i386 GNU/Linux
But I keep facing some timeout from puppetd:
warning: peer certificate won't be ver
Hi Nick,
> I've tried to achieve my overall goals with several different features
> of Puppet, but I've hit a bit of a wall here. I think it's time for me
> to explain what I'm trying to accomplish:
>
> I want the enabling of a service in my manifests to configure
> the monitoring of
I've tried to achieve my overall goals with several different features
of Puppet, but I've hit a bit of a wall here. I think it's time for me
to explain what I'm trying to accomplish:
I want the enabling of a service in my manifests to configure
the monitoring of that service by a
On Fri, Mar 11, 2011 at 03:20:20PM +1100, John Warburton wrote:
> Hi All
>
> I have a bit of a strange one, and am not sure I'm doing this right. This is
> with 2.6.4 on Solaris 10
>
> We want to create a sym link from a source file that is created by a
> package. If the package isn't installed,
On Fri, Mar 11, 2011 at 11:37:42AM +1000, Ian Mortimer wrote:
> Hi
>
> The service in this case is ypbind but it could apply to other
> services. The problem is that `service ypbind status' returns 0
> if the service is running even if it's not bound to the domain.
>
What are the reasons that yo
On 8 Mrz., 14:54, Disconnect wrote:
> Alternately, running the puppetca clean before starting the new client will
> result in the standard unsigned behavior.
Maybe, but it would be nice to save this extra afford. In our case,
we do not want the security features of puppet.
> (I do think its p
32 matches
Mail list logo