hi,
sorry for asking something that is not directly related to CFengine,
but as many of you will probably have virtual environments you
probably know the answer.
How can you detect if a host is a vm (esx vm, in my case)? Right now I
have a self maintained class virtual where I add manually hosts
Forum: Cfengine Help
Subject: Re: Perms set to 0 during copy
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18716,18718#msg-18718
I would set the permissions in the promise. This makes the promise both easier
to understand and more self contained.
_
On Thursday 14 Oct 2010 12:41:02 Natxo Asenjo wrote:
> sorry for asking something that is not directly related to CFengine,
> but as many of you will probably have virtual environments you
> probably know the answer.
>
> How can you detect if a host is a vm (esx vm, in my case)? Right now I
> hav
Forum: Cfengine Help
Subject: Re: OT (maybe) how to detect virtual machines
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18717,18719#msg-18719
If you look at the hard classes the agent defines you'll see if it detects
anything virtual. I think that the latest versions
Forum: Cfengine Help
Subject: Re: Perms set to 0 during copy
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18716,18721#msg-18721
What version, system is this?
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine
Hi.
When I saw the article I had very crazy idea.
You could write promise which will set Virtual class - or report
directly - if it detects
on of those files or any other "symptoms".
This is only for fun ;-)
Jakub V.
On 10/14/2010 01:50 PM, Davide Brini wrote:
> http://serverfault.com/quest
Sorry guys.
I need to reed all posts fully (and maybe more times) before any response.
> Right now I have a self maintained class virtual where
-- J.
On 10/14/2010 02:07 PM, Jakub Viták wrote:
> Hi.
>
> When I saw the article I had very crazy idea.
>
> You could write promise which will set
Forum: Cfengine Help
Subject: Re: Perms set to 0 during copy
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,18716,18724#msg-18724
I certainly agree and try to set permissions explicitly whenever I can.
However in a particular instance, I have lots of subdirectories and
Forum: Cfengine Help
Subject: Re: Perms set to 0 during copy
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18716,18725#msg-18725
This is probably an anomaly. Please upgrade to beta 2 or current svn. We are
approaching a release soon.
__
Forum: Cfengine Help
Subject: Re: Perms set to 0 during copy
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18716,18726#msg-18726
I'm using static linked binaries. So far they have saved me a lot of time and
effort. Some have reported problems with daemons crashing but
I detect VMware by looking for the string VMware in the output of dmidecode.
Tim
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
of
On Thu, Oct 14, 2010 at 1:50 PM, Davide Brini wrote:
>
> This may help:
>
> http://serverfault.com/questions/78343/renting-a-dedicated-but-getting-a-vps-
> how-to-detect
thanks! the lspci tip will do the trick.
--
natxo
___
Help-cfengine mailing list
Forum: Cfengine Help
Subject: Re: Perms set to 0 during copy
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,18716,18728#msg-18728
Thanks! I will grab the latest and recompile.
I was almost hoping that I missed some documentation about file copying because
this behavior
Forum: Cfengine Help
Subject: Re: OT (maybe) how to detect virtual machines
Author: bbomgardner
Link to topic: https://cfengine.com/forum/read.php?3,18717,18730#msg-18730
Yes, dmidecode is very handy this way.
___
Help-cfengine mailing list
Help-cfengin
Forum: Cfengine Help
Subject: Re: Populate a class using an slist fails?
Author: msvob...@linkedin.com
Link to topic: https://cfengine.com/forum/read.php?3,18712,18731#msg-18731
Here's why this might be useful
bundle common global
{
vars:
"outgoing_mail_servers" slist => { "host1", "host2", "
Forum: Cfengine Help
Subject: Re: Populate a class using an slist fails?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18712,18732#msg-18732
In this example I see no reason why vars are needed.
bundle common global
{
classes:
"outgoing_smtp" or => { "host1", "host2", "ho
Forum: Cfengine Help
Subject: Re: Perms set to 0 during copy
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18716,18733#msg-18733
Although I have not seen this behaviour myself, I can imagine it is the result
of a very specific and temporary change that was made in response to
Forum: Cfengine Help
Subject: Building cfengine on AIX
Author: technoronin
Link to topic: https://cfengine.com/forum/read.php?3,18734,18734#msg-18734
It has been several years since I have built any open source software on AIX,
so I am very rusty. Here's an except of the output where errors star
Forum: Cfengine Help
Subject: Re: Building cfengine on AIX
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18734,18735#msg-18735
Clearly, you have no PCRE installed. Perhaps, you can find it here:
http://www.perzl.org/aix/index.php?n=Main.Pcre
___
Thanks Neil. You are the man. I didn't realize that classes could be
combined this way. It would be cool if an example like this could be added
to the reference manual.
On 10/14/10 9:27 AM, "no-re...@cfengine.com" wrote:
> Forum: Cfengine Help
> Subject: Re: Populate a class using an slist
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Populate a class using an slist fails?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18736,18737#msg-18737
http://www.cfengine.org/manuals/cf3-reference.html#classes-in-common-promises
The examples there show classes
Forum: Cfengine Help
Subject: Re: Building cfengine on AIX
Author: technoronin
Link to topic: https://cfengine.com/forum/read.php?3,18734,18738#msg-18738
PCRE is installed and the configure script finds it. It wasn't installed
initially, so I pulled the package down from IBM and installed it.
_
Forum: Cfengine Help
Subject: Re: Building cfengine on AIX
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18734,18739#msg-18739
I've had all kinds of trouble having to compile for a multitude of systems
including RHEL 64 and 32, Suse, AIX, Solaris SPARC and Solaris x86.
Forum: Cfengine Help
Subject: Cfengine minimal configuraton example
Author: sakis
Link to topic: https://cfengine.com/forum/read.php?3,18740,18740#msg-18740
Hello to all,
I am a newcomer to cfengine. I am searching the web for simple, quick & dirty
cfengine configurations ( I prefer the version
Forum: Cfengine Help
Subject: Input directory change mid-run
Author: dan
Link to topic: https://cfengine.com/forum/read.php?3,18741,18741#msg-18741
What happens if the cfengine inputs directory gets changed while an agent is
running? We're looking at putting our cfengine repository in subversion
Forum: Cfengine Help
Subject: Re: Cfengine minimal configuraton example
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18740,18742#msg-18742
If you are new then don't start with version 2. There is nothing to be gained
there as you'll have to learn the new syntax for ve
Forum: Cfengine Help
Subject: Re: Input directory change mid-run
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18741,18743#msg-18743
I usually keep my svn working copies in a masterfiles location (e.g.
/var/cf-masterfiles/repo1/trunk). Then I have the agent download in
Forum: Cfengine Help
Subject: Re: Cfengine minimal configuraton example
Author: sakis
Link to topic: https://cfengine.com/forum/read.php?3,18740,18744#msg-18744
Thanks a lot neilhwatson, I will try it, it looks that it will do the job.
Regarding the version, I was asked about v. 2 because v. 2 is
Forum: Cfengine Help
Subject: Re: Cfengine minimal configuraton example
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18740,18745#msg-18745
If you register at cfengine.com you can get packages from there.
___
Help-cfengine mai
Hi.
This was recently in ML.
http://github.com/megamic/cfengine3-boilerplate
Try it and let us know if it is worth of it ;-)
Jakub V.
On 10/14/2010 05:11 PM, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Cfengine minimal configuraton example
> Author: sakis
> Link to topic:
As far as I know, library.cf is no longer part of the Cfengine distribution.
Th only file that you should have is cfengine_stdlib.cf - if there are any
conflicts, you should just change your private version of library.cf.
-Dan
On Oct 13, 2010, at 7:09 PM, Aleksey Tsalolikhin wrote:
> Hi. Thi
Forum: Cfengine Help
Subject: Re: Release candidate for 3.1.0 (source code only)
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18597,18748#msg-18748
Here's sample of the authentication errors I'm seeing now.
cf3 Allowing 10.129.148.10 to connect without (re)checking ID
Forum: Cfengine Help
Subject: Re: Release candidate for 3.1.0 (source code only)
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18597,18749#msg-18749
A slightly different authentication error.
cf3 Spawning new thread...
cf3 Allowing 10.129.98.8 to connect without (re)chec
Forum: Cfengine Help
Subject: Re: Input directory change mid-run
Author: dan
Link to topic: https://cfengine.com/forum/read.php?3,18741,18750#msg-18750
So, say you're adding a new input file to your cfengine configuration. You
include it in cfagent.conf and place it in the inputs directory. Now i
Forum: Cfengine Help
Subject: Re: Input directory change mid-run
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18741,18751#msg-18751
I do not recommend ever altering the inputs directory by hand. Similarly the
masterfiles directory should only be altered in the same ma
Forum: Cfengine Help
Subject: Re: Input directory change mid-run
Author: dan
Link to topic: https://cfengine.com/forum/read.php?3,18741,18752#msg-18752
I'm not suggesting doing it by hand. I'm wondering if there's a race condition
between running 'svn update' in your working directory agents pull
Forum: Cfengine Help
Subject: Re: Input directory change mid-run
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18741,18753#msg-18753
This should not happen. Either the svn updates are done planned between agent
runs or the agent itself is configured to run the update.
Forum: Cfengine Help
Subject: Re: Input directory change mid-run
Author: megamic
Link to topic: https://cfengine.com/forum/read.php?3,18741,18754#msg-18754
dan Wrote:
---
> I'm not suggesting doing it by hand. I'm wondering
> if there's a race co
Forum: Cfengine Help
Subject: Re: Release candidate for 3.1.0 (source code only)
Author: eystein
Link to topic: https://cfengine.com/forum/read.php?3,18597,18755#msg-18755
We have made some patches that might fix issues like these in the latest svn (I
believe they are part of 3.1.0 beta2).
Try th
Hello,
I am a little stumped as to why I am getting this error.
syntax error, near token 'copy_from'
Here is the file content:
bundle agent site
{
files:
"/etc/grid-security"
handle => "copy_grid-security",
perms => usystem("0755"),
depth_search => urecurse("inf")
On Fri, Oct 15, 2010 at 9:09 AM, Sandra Wittenbrock wrote:
> Hello,
>
> I am a little stumped as to why I am getting this error.
>
Your handle contains an invalid character '_'. Otherwise, my cfengine
3.1.0b2 was happy with your bundle.
>
> syntax error, near token 'copy_from'
>
> Here is the f
Dear Dan,
The cfengine 3.1.0b2 source distribution tar ball includes both
library.cf and cfengine_stdlib.cf.
Please start with a clean slate and follow "Instructions to
replicate the problem" below, you'll see the problem.
Yours truly,
-at
On Thu, Oct 14, 2010 at 9:55 AM, Daniel V. Klein
Hi, Sakis. I also have an introduction at
http://www.verticalsysadmin.com/cfengine3/
Good luck getting started and welcome to the Cfengine community.
Best,
-at
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/list
On 14 October 2010 17:53, wrote:
> If you register at cfengine.com you can get packages from there.
>
Unless you are on Solaris, of course - or have I missed the location of the
cfengine v3.1 package for Solaris 10?
- E
___
Help-cfengine mailing list
44 matches
Mail list logo