p;sec=0&p1=179&p2=202
for those battling other timezones).
So try not to find any bugs during those hours. (:
Thanks!
--
Ben Hughes
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-
Good day all,
Just a quick heads-up that I'll be upgrading Redmine on
https://projects.puppetlabs.com on the 28th at 10:30PM PDT. (05:30
UTC)
It should be swift, and probably, no one will even notice.
Thanks.
--
Ben Hughes || Come to PuppetConf http://bit.ly/puppetconfsig
--
You rec
On Wed, Jul 27, 2011 at 11:55:16AM -0700, Ben Hughes wrote:
> It should be swift, and probably, no one will even notice.
Let us all just pretend that was the case...
If anyone is seeing anything out of sorts, please give me a shout (or, if
you still can, raise a ticket).
Thanks.
--
utage earlier too [1].
If you have any issues in a couple of hours once it's all back up, feel
free to hunt me down and ask me.
Thanks.
1. http://status.linode.com/2011/08/partial-outage-in-fremont.html
--
Ben Hughes || Come to PuppetConf http://bit.ly/puppetconfsig
--
You received th
On Tue, Aug 16, 2011 at 06:53:03PM -0700, Ben Hughes wrote:
> Due to continuing problems with our datacenter, we're moving some
> infrastructure this evening.
Both Forge and Redmine are back, we have normality.
(With the obligatory Hitch-Hikers Guide to the Galaxy reference
of: A
On Tue, Feb 15, 2011 at 06:30:29PM -0800, trey85stang wrote:
> while I am at it, what is the best way to load balance between
> multiple servers using passenger? a dedicated load balancer or can
> the balancing be done within passenger like mongrel?
As you're using Passenger you could get Apach
On Tue, Feb 15, 2011 at 07:12:57PM -0800, trey85stang wrote:
> Thanks Ben, that is simple enough.
Other people have had success with putting HAProxy in front of
Apache/Passenger stacks too. Which is simpler in terms of structure, but
more components.
--
ben
--
You received this message becau
On Wed, Feb 16, 2011 at 08:18:42AM -0800, loki77 wrote:
> Hi, I'm looking for a way to have puppet kick off an upgrade of my
> companies software, but only when it's somehow 'told' to.
There's this from the docs about Debian's system upgrade path. Something
like that?
https://projects.puppetlab
On Wed, Feb 16, 2011 at 12:52:49AM -0800, David Kramer wrote:
> <% if tagged(development) %>
In ERB the syntax is different I believe. The tagged() is in manifest
syntax.
In ERB land, you have access to tags via:
<% tags.each do |tag| -%>
So perhaps something like
<% if tags.include?( "develop
et.
[ben@Paresthesia:~]% cat ~/.ackrc
--type-set=puppet=.pp
--
Ben Hughes || http://www.puppetlabs.com/
--
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 unsubscr
u expose the contents of /etc/certname via a simple Fact?
--
Ben Hughes || http://www.puppetlabs.com/
--
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 unsubscri
documented there certainly.
--
Ben Hughes || http://www.puppetlabs.com/
--
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
around this?
What OS/distribution is this on. That combination should work fine.
--
Ben Hughes || http://www.puppetlabs.com/
--
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@googlegrou
nge it to:
<%if foo.to_i > 4 %> Have a foursy day <% end%>
That should work for you.
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to
On Thu, Mar 03, 2011 at 03:11:40PM -0800, Forrie wrote:
> I'm trying to get a simple NFS mount to work with Puppet, using this:
[snip]
> atboot => "true,
Missing a "
(:
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are
t automatically? Rather than just using a file{...} call?
file{ [ "/srv/mount1" , "/srv/mount2" ]: ... }
and so forth.
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To pos
quot;,
ensure => "mounted",
options => "defaults",
atboot => true,
require => File[ "/srv/fraser" ]
}
You could probably make a define to wrap around both to ensure => absent
the directory after you ensure => absent the
require => User[$name],
}
}
userkey{ ["user1","user2","user3"]:
}
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, se
On Thu, Mar 03, 2011 at 11:20:38PM -0800, aleksey_k wrote:
> But puppet client don't copy file from puppet server :(
Anything in the output or logs at all?
Stop the client and run:
# puppet agent --test
and that should give you more information as to why.
--
Ben Hughes
t's not getting called at all.
--
Ben Hughes || http://www.puppetlabs.com/
--
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 gro
, from my laptop:
[ben@Paresthesia:~]% ssh -i /Users/ben/.ssh/biglongkey daisy@centos.local
hostname \; id
centos.localdomain
uid=502(daisy) gid=502(daisy) groups=502(daisy)
context=user_u:system_r:unconfined_t
I've not [knowingly anyway] changed the PAM config on my centos machine and it
seems t
were talking about?
Either make a module for nfs and have the function create the mountpoints
on "ensure" and rmdir them after "absent", would be one way.
Or use run stages and have a "post" stage unmount them and tidy up the
directories you no longer require.
--
On Mon, Mar 07, 2011 at 02:00:23AM -0800, Ankush Grover wrote:
> /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb:
> 270:in `readconfig': undefined method `name' for nil:NilClass
> (NoMethodError)
Do you have a /etc/puppet/fileserver.conf and is it modified i
-u spamd --min-children=40"
Change that to be:
SPAMDOPTIONS="-d -L -i <%= ipaddress_eth0 %> -A 10.44.217.0/20 -A
10.216.15.242/32 -A 10.216.1.14/32 -A 10.216.15.0/24 -A 213.171.193.103/32 -m
40 -q -x -u spamd --min-children=40"
You had a -% in the template. Whic
es/2296
To stop things getting overwritten it prunes the path when it sees
overlaps.
You just need to specify:
file { "/opt/files/copied_from_master":
source => "puppet:///showcase/copied_from_master"
mode => 744,
recurse => true
}
See if tha
ason you can't just make the init script output what you
want, or will that break other things horribly? That seems more the right
thing for it to be doing in the first place? Otherwise the exec{} seems
the path of least resistance.
--
Ben Hughes || http://www.puppetlabs.com/
--
You received
ng yum to install puppet using tmz's repository.
--
Ben Hughes || http://www.puppetlabs.com/
--
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
On Fri, Mar 18, 2011 at 04:43:40AM -0700, Jon wrote:
> Could anyone help with the required steps to get this running?
Does this machine have a full valid, resolvable hostname?
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are subscribed to the Goo
ects/1/wiki/Certificates_And_Security#Manual-CA-Configuration-optional
Does that help at all?
--
Ben Hughes || http://www.puppetlabs.com/
--
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
need to be quoted I'm afraid.
$installplugins = 'true'
if ! ($installplugins in [ 'true', 'false' ]) {
fail("nrpe installplugins parameter must be true or false")
}
if $installplugins == 'true' {
notice( "I work, hurrah&qu
On Wed, Apr 06, 2011 at 03:39:28PM +1000, Denmat wrote:
> Open invitation to those that can attend. Those that can't, maybe another
> time?
Sounds grand.
Is there a Melbourne devops meet up this month too? I hear the last
one went pretty well.
--
Ben Hughes || http://www.pup
modules, you can just specify the module name and it will use
the template named in there.
content => template( 'mymodule/mytemplate.erb' )
>From mymodule/templates/mytemplate.erb
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are subscribe
all the lines to fit
in 80 columns, so I can't tell where all the breaks should be, so can't
test it. Could you pastie or similar it?
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" gro
WQ==",
name => "macbook pro key",
type => "ssh-rsa",
user =>"corey",
}
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are sub
On Fri, Apr 08, 2011 at 09:50:12AM -0700, Corey Osman wrote:
> What do you mean change encryption to type? Do you mean change type
> => "ssh-rsa" to encryption=> "ssh-rsa"?
Yeah, encryption isn't a valid keyword. You need "type => '...'
uire 'pp' ; pp @__scope__ %>
And even then, there's no safe, sane or simple way of getting it out.
You're best off just having two different templates I'm afraid and less
magic.
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you ar
On Tue, Apr 12, 2011 at 06:57:42PM -0400, Tim Dunphy wrote:
> Here's what I've come up with so far:
>
> stage {
> "repo": before => Stage["main"]
>}
Have you tried using the other syntax:
stage{ [repo]: }
Stage[repo] -&g
te. It's
> incredibly stupid, but it works.
That is neater than trying to pick your way through the objects. Really.
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this
daemon's logging.
It logs at syslogfacility daemon by default. Set syslogfacility to
a different level in your puppet.conf and adjust your syslog accordingly.
Or you may use --logdest /path/to/file on the command line if you wish.
--
Ben Hughes || http://www.puppetlabs.com/
--
You receive
ut for that.
Resource isn't, say, a system profiling tool. It's more an interface to
resources you have. And while some will give you all the information you
may want ('user' for example), not all of them can.
--
Ben Hughes || http://www.puppetlabs.com/
--
You received th
On Tue, Apr 19, 2011 at 11:38:35AM -0700, Forrie wrote:
> Is there a simple way to remove the unmanaged data so we can keep
> the systems clean.
Setting the resource to ensure => absent will remove them. Or are you
after something more?
--
Ben Hughes || http://www.puppetlabs.com/
her than
> silently not returning it, as I've no way of knowing that there's a
> constraint on the o/s / distro vs a bug in puppet.
I think this may, to a degree, be a case of not being able to know the
unknown. Certainly resource can improve in some areas though.
If it is a bug
back end.
http://www.devco.net/archives/2009/08/31/complex_data_and_puppet.php
--
Ben Hughes || http://www.puppetlabs.com/
--
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.
disks.uniq.join(',')
end
end
However, from the command line with facter, it works:
[r...@foo-vm:~]# FACTERLIB=/var/lib/puppet/lib/facter/ facter localdisks
sda
So I'm a little confused. What have I done painfully wrong? ):
--
Ben Hughes - MindCandy
--
Mind Candy Ltd, Reg
44 matches
Mail list logo