thank you very much, i'm gonna try this
and tell you
2011/7/7 Nan Liu n...@puppetlabs.com
On Thu, Jul 7, 2011 at 9:43 AM, romuald FREBAULT kurgan...@gmail.com
wrote:
Hi,
We decide to manage all our specific crons for applications with puppet.
As all people who creates crons does'nt
heya,
Excuse me if my understanding of your needs is completely out of whack :-).
Maybe you want to describe what you want to do with this data once you have
gathered it.
The reason we are doign this is to make sure that we have sufficient free
disk space on various mountpoints to actually
The reason we are doign this is to make sure that we have sufficient free
disk space on various mountpoints to actually run the application on the
server.
Oh - and your monitoring doesn't do this already?
So this is something I'd like to enforce (or ensure) as part of the
configuration.
Hi All,
I am setting up puppetmaster with nginx and passenger and separating
the Puppetmaster primary CA server. I have 3 host
loadbalancer01 - Nginx doing LB on IP address and also running
puppetmaster with passenger under 127.0.0.1 (port 8140).
primaryca - Puppetmaster Primary CA
pclient -
On 07/07/2011 12:43 PM, romuald FREBAULT wrote:
has anyone an idea of how i could have managed files removed on
destnation when removed from source without using the entierely purge
function?
What you want is a /etc/cron.puppet.d and a way to link files there
into /etc/cron.d (cron supports
Hey everyone,
I'm experiencing an issue resulting from the way RubyGems works when
dealing with multiple gem versions.
When managing a gem through the Package provider, setting ensure to a
version lower than a currently installed version will result in Puppet
installing the older version,
Hi guys
Am new to puppet so please take it easy on me.
I want to know how can I add lines to hosts file on the client
machine, I am trying to add a couple of IP addresses to the hosts file
on client and I dont want to overwrite their hosts file, just add new
stuff in there.
My server and client
You can add new entries using the 'host' type:
http://docs.puppetlabs.com/references/stable/type.html#host
For example:
host { myhostname:
ip = 1.1.1.1,
}
By itself, it won't remove existing entries (but there is a way to do
this as well using purging).
If you haven't read it already, there
Hi Ryan,
I experience the same. I'm using gem provider to manage puppet and
facter installed versions. When I recently upgraded a selection of
nodes to 2.7.1 I saw other not being removed like the way apt is
doing.
I would like to see what you purpose. Ensure = 2.7.1 also removes 2.6.8, 2.6.4
Folks,
OpenCSW have released Facter 1.6.0 for Solaris - this includes a back port of
the patch for issue 7038[1].
It's been released to the current catalog, but for now you can pick it up at
http://buildfarm.opencsw.org/experimental/html#markp
Regards,
--Mark
[1]
Thanks for this help Ken, one more question please, suppose I want to
add the following lines in the smb.conf file already existing on the
client machine:
[USERNAME]
path = /home/USERNAME
available = yes
valid users = XYZ
read only =yes
How can I add lines to smb.conf with out overwriting the
On Jul 8, 2011, at 12:45 PM, newguy wrote:
How can I add lines to smb.conf with out overwriting the content of
the file.
I think Augeas is what you’re looking for (for this and other inevitable use
cases).
http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas
--
Rob McBroom
Thanks Rob but what if I simple decide to remove the existing smb.conf
file and push the new smb.conf from the server, I know I can use the
source to tell which file to install and its location but how would I
remove the smb.conf from the client.
On Jul 8, 9:54 am, Rob McBroom
On Jul 8, 2011, at 1:52 PM, newguy wrote:
Thanks Rob but what if I simple decide to remove the existing smb.conf
file and push the new smb.conf from the server, I know I can use the
source to tell which file to install and its location but how would I
remove the smb.conf from the client.
If
Rob I am writing a module for installing Haproxy on client machine and
I want modified haproxy.cfg and modified /etc/init.d/haproxy to be
installed on the client. Here is my code but teh files are not getting
to the client machine:
class haproxy::install {
package { haproxy:
ensure
On Fri, 08 Jul 2011 11:18:57 -0700, newguy wrote:
class haproxy::init {
file { /etc/init.d/haproxy:
ensure = present,
owner = 'root',
group = 'root',
mode = 0600,
source = puppet:///modules/haproxy/haroxy,
Got a
Thanks dude, there was another typo too, fixed both and it worked,
thanks everyone.
On Jul 8, 11:22 am, Jacob Helwig ja...@puppetlabs.com wrote:
On Fri, 08 Jul 2011 11:18:57 -0700, newguy wrote:
class haproxy::init {
file { /etc/init.d/haproxy:
ensure = present,
That leads to the next question.
How to access a variable set in the node declaration from a class that
executes in the post stage?
On Thu, Jul 7, 2011 at 11:51 PM, vagn scott vagnsc...@gmail.com wrote:
That sounds suspiciously like procedural thinking about a declarative
language.
You
I just wondering if anyone can point me to the documentation on the
metric section of a report. I have a slow agent run which has
following numbers:
Config Retrieval10.43 seconds
Exec0.00 seconds
File157.11 seconds
Filebucket 0.00 seconds
Package 0.07 seconds
Schedule
On 07/08/2011 04:10 PM, Chip Schweiss wrote:
How to access a variable set in the node declaration from a class that
executes in the post stage?
The answer is the same whether you use stages or not.
Put your variables in a class.Below was tested on
puppet 2.7.1. Per node stuff (eg
20 matches
Mail list logo