Hi San,
On 08/16/2011 08:46 PM, Sans wrote:
> Thanks John! Is $hostname a puppet built-in variable like
> $operatingsystem, $fqdn etc?
These varaibles are made available to puppet by facter.
You can run facter on command line to see facter output.
Regards,
Martin
>
> -San
>
> On Aug 16, 3:38
On Fri, Aug 12, 2011 at 9:53 AM, Craig White wrote:
> Clearly not a problem caused by puppet but something I can't apparently
> deploy with puppet unless someone has an idea.
>
> Trying to automate a way to deploy mod_mono for apache
>
> from CLI, the problem seems obvious...
>
> apt-get install
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: Anything you stil
Hey folks,
Due to continuing problems with our datacenter, we're moving some
infrastructure this evening.
During this period, both Redmine (https://projects.puppetlabs.com/) and the
Forge (http://forge.puppetlabs.com) will be unavailable.
Sorry about the short notice of this, and the outage earl
Try running optimize on it.
-scott
On Tue, Aug 16, 2011 at 5:53 PM, Sandor W. Sklar wrote:
> Thanks, Scott. After posting this, I did some googling and pretty much
> came up with the same solution. Unfortunately, because we're using ISAM
> tables, the only way I know of to reclaim the space u
Thanks, Scott. After posting this, I did some googling and pretty much came up
with the same solution. Unfortunately, because we're using ISAM tables, the
only way I know of to reclaim the space used by the datafiles is to do a
mysqldump and then restore after clearing out the older reports.
There should probably be a rake task for this (tbh, all that stuff should be
rewritten, loading the whole Rails env to do it is ...ugly), but you can
probably (caveat emptor, I don't know this table very well) do something
like
*delete from resource_statuses where time <= date_sub(now(), interval
Some times doing things the right way requires going through the pain of
changing your current practices for the better.
On Tue, Aug 16, 2011 at 9:24 AM, Rich Rauenzahn wrote:
> On Tue, Aug 16, 2011 at 6:23 AM, jcbollinger
> wrote:
> [Lots of good ideas]
> >
> > Of those, I would recommend eith
It's not just you. Unfortunately, it's down right now. Seems to be a
hosting issue, so hopefully they'll get things sorted out quickly.
On Tue, Aug 16, 2011 at 16:16, David L Ballenger
wrote:
> Okay, I'll file a bug report on this later today. I seem to be having
> problems contacting the bug
Okay, I'll file a bug report on this later today. I seem to be having problems
contacting the bug tracker right now.
On Aug 16, 2011, at 4:08 PM, Nigel Kersten wrote:
>
>
> On Tue, Aug 16, 2011 at 4:00 PM, David L Ballenger
> wrote:
>
> On Aug 16, 2011, at 10:48 AM, Nigel Kersten wrote:
>
On Tue, Aug 16, 2011 at 4:00 PM, David L Ballenger
wrote:
>
> On Aug 16, 2011, at 10:48 AM, Nigel Kersten wrote:
>
>
>
> On Mon, Aug 15, 2011 at 6:22 PM, David L Ballenger <
> d...@davidlballenger.com> wrote:
>
>> Since upgrading for Puppet 2.7.1 to 2.7.3 I have been getting the
>> following error
On Aug 16, 2011, at 10:48 AM, Nigel Kersten wrote:
>
>
> On Mon, Aug 15, 2011 at 6:22 PM, David L Ballenger
> wrote:
> Since upgrading for Puppet 2.7.1 to 2.7.3 I have been getting the following
> error whenever a Puppet agent runs:
>
> err: Failed to apply catalog: Parameter options failed
I've "inherited" the administration of a puppet-dashboard (version
1.1.0, installed on RHEL 5.6 from puppetlabs RPM), and have hit a
problem I'm hoping for some help with.
In short, one table, "resource_statuses" appears to be growing at a
rate far higher then the other tables:
mysql> select coun
I used extlookup to do something similar to this. For our Redis slaves
I set redis_master,master01.my.domain.com in the $fqdn.csv
<%- if redis_master != "" then -%>
slaveof <%= redis_master %> 6379
<%- end -%>
It's a bit of a hack, but it works cleanly. The pros are data is kept
in extlookup and
Thanks John! Is $hostname a puppet built-in variable like
$operatingsystem, $fqdn etc?
-San
On Aug 16, 3:38 pm, jcbollinger wrote:
>
> You can interpolate the 'hostname' fact into the name of the resouce,
> the name of the file on the file server, or both. For example:
>
> file { "${hostname}-c
I'm trying to build puppet packages to deploy the puppet agent on OSX
Lion machines. This is my first time using create package.sh, so
please bear with me if I am doing something silly.
When I run the script, I get the following output:
Installing Puppet to /tmp/puppetpkg.K5gt7Li1
Installing docs
On Mon, Aug 15, 2011 at 6:22 PM, David L Ballenger
wrote:
> Since upgrading for Puppet 2.7.1 to 2.7.3 I have been getting the following
> error whenever a Puppet agent runs:
>
> err: Failed to apply catalog: Parameter options failed: Options must be
> provided as an array, not a comma separated li
On Aug 16, 2011, at 7:56 AM, jcbollinger wrote:
>
>
> On Aug 15, 8:22 pm, David L Ballenger
> wrote:
>> Since upgrading for Puppet 2.7.1 to 2.7.3 I have been getting the following
>> error whenever a Puppet agent runs:
>>
>> err: Failed to apply catalog: Parameter options failed: Options mus
On Tue, Aug 16, 2011 at 03:34:02PM +0200, Arnau Bria wrote:
> Hi all,
>
> I have some code like:
>
> {
> '/srv/cloud' :
> name => '/srv/cloud/' ,
> atboot => true ,
> device => 'iscsidisk01.domain.org:/volumes/POOL/one' ,
> fstyp
On Tue, Aug 16, 2011 at 6:23 AM, jcbollinger wrote:
[Lots of good ideas]
>
> Of those, I would recommend either extlookup() or your ENC (if you
> have one), with my personal preference being extlookup(). I think
> Hiera may offer an even better solution (though similar to
> extlookup()), but I'm
Is there a "puppetized" way for puppet to create a resource file from
an existing crontab?
Here's an example of what has worked for me:
$ crontab -l
* * * * * date > /tmp/date.log
$ ralsh cron
Could not run: You must specify a name or title for resources
$ crontab -l | awk '!/^ *#/ {print "# Pu
Good people ~
We're in an unfortunate situation with Dashboard, having to patch a
bug half-way for the Dashboard 1.2 release because we don't have time
for a complete fix, and because a complete fix may require Puppet
changes.
Within Dashboard's report interface we show links to the filebucket
ev
Also I think Nigel posted a load balanced solution using entirely
Apache that's floating around on the list, configs and all. Was a few
months ago now if you want to go searching.
On Aug 16, 4:12 pm, Luke Bigum wrote:
> Sean,
>
> Previously I've set up a cluster of Puppet Masters with one machine
Or, even more likely, Puppet is passing the file URL to RPM. RPM does
not understand the puppet: URL scheme. Note the Puppet documentation
for this property, which explicitly says "This must be a [path ...] or
a URL that your specific packaging type understands; Puppet will not
retrieve [the pac
Sean,
Previously I've set up a cluster of Puppet Masters with one machine
acting as the software load balancer (IPVS) as well as the Puppet
Certificate Authority. The relevant puppet.conf options are ca_port
and ca_server to specify where your CA is. The Puppet Master service
on the CA server list
On Aug 15, 9:37 am, Sans wrote:
> err: /Stage[main]/Xx_emi/Package[emi-release]/ensure: change from
> absent to present failed: Execution of '/bin/rpm -i --oldpackage
> puppet:///modules/g_repo/emi-release-1.0.0-1.sl5.noarch.rpm' returned
> 1: error: open of puppet:///modules/g_repo/emi-release
On Aug 15, 8:22 pm, David L Ballenger
wrote:
> Since upgrading for Puppet 2.7.1 to 2.7.3 I have been getting the following
> error whenever a Puppet agent runs:
>
> err: Failed to apply catalog: Parameter options failed: Options must be
> provided as an array, not a comma separated list
>
> I
Hello,
I just set up Puppet / Passenger by following the documentation.
For servers already authenticated key I do not encounter problems, but
for new I have these errors:
<-->
root@server2:~# puppetd --test --no-daemonize
warning: peer certificate won't be verified in this SSL session
warning: p
On Aug 16, 2:59 am, Sans wrote:
> Dear all,
>
> I need to copy some files to the various clients in some logical way.
> The files are named in this way: "farm001-cert.pem", where the forst
> part of the name (i.e. nfarm001) is the name of host where it should
> be copied. How can I do that? Any
Hello,
I just set up Puppet / Passenger by following the documentation.
For servers already authenticated key I do not encounter problems, but
for new I have these errors:
root@server2:~# puppetd --test --no-daemonize
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate ad
> 0x is typically the CA cert, was the inventory.txt file blank when
> this occurred? If you have all the certificates, you can use puppet
> cert -pa and extract the serial number, date, and CN info. I'm not
> sure if there's an automated way using openssl commands. This might be
> reasonably c
Hi all,
I have some code like:
{
'/srv/cloud' :
name => '/srv/cloud/' ,
atboot => true ,
device => 'iscsidisk01.domain.org:/volumes/POOL/one' ,
fstype => 'nfs' ,
remounts => true ,
options => 'defaults'
On Aug 15, 4:02 pm, Rich Rauenzahn wrote:
> Is it possible to do something like this within the new scoping rules?
> It seems that $::IMSPECIAL doesn't refer to the decl in node a. And
> I can't use class parms as the variable is evaluated in a base class.
>
> Suggestions? Currently using pup
Hi Harold,
On 08/16/2011 01:56 PM, Harold Ditchfield wrote:
> According to the docs, you can specify tags on the command line and in the
> puppet.conf but can you specify them in something like the nodes.pp on the
> puppetserver. Interested to see if the tags can be managed from a central spot
>
According to the docs, you can specify tags on the command line and in the
puppet.conf but can you specify them in something like the nodes.pp on the
puppetserver. Interested to see if the tags can be managed from a central spot
Thanks
Harold
--
You received this message because you are subscr
Righto. The puppetmaster is 0.25.5-1.el5 on CentOS 5, while the puppet
client is 0.25.5-1.el6 on CentOS 6. I'm aware this version is quite old
now, but it looks like a significant amount of trouble to package a
newer version for deployment via RPM along with its various dependencies.
I'm succe
Thanks for your response. Having "before" in the configtest exec and
"notify" in the dhcpd service causes an error about a circular dependency.
Dropping the "notify" but keeping the "before" makes the order work
properly, but the configtest doesn't get triggered when the service
restarts.
Is
On Mon, Aug 15, 2011 at 10:47:05AM -0700, Nan Liu wrote:
> On Sun, Aug 14, 2011 at 10:18 AM, Alex L. Demidov
> wrote:
> > I'm trying to implement /etc/hosts handling using hiera as data
> > source, but my current implementation requires data duplication
> > because I could pass only array of strin
Dear all,
I need to copy some files to the various clients in some logical way.
The files are named in this way: "farm001-cert.pem", where the forst
part of the name (i.e. nfarm001) is the name of host where it should
be copied. How can I do that? Any help greatly appreciated. Cheers!!
--
You re
39 matches
Mail list logo