Re: Cfengine Help: How to reset hostsseeen?

2010-10-25 Thread milo...@gmail.com
On 25 October 2010 16:15, wrote: > Forum: Cfengine Help > Subject: How to reset hostsseeen? > Author: hristob > Link to topic: https://cfengine.com/forum/read.php?3,18860,18860#msg-18860 > > Hi > > How to reset hostsseen database? > > Is there a configuration value? Or it is a command/file? /va

Re: Cfengine Help: Re: Quickstart guide?

2010-09-20 Thread milo...@gmail.com
Hm, is there any system that can generate all widely used virtual appliances at one go? I'm not sure if there is any format that would work with most of them. Live CD seems a better idea for me. What is in your mind, how should it work? If you can give a high level overview I'll take a look into t

Re: Cfengine Help: Re: Quickstart guide?

2010-09-20 Thread milo...@gmail.com
> I've been thinking about a script that can generate a server and client > configuration suitable for testing and evaluation on a single host. I've > also started on an updated version of the cookbook. Perhaps I'll add this > script to it. I didn't followed the thread, but my 'old' plan (ori

Re: How to get an slist of mounted local filesystems with CFengine 3?

2010-09-16 Thread milo...@gmail.com
>   mount |egrep '(ext2|ext3|ext4)' |cut -f3 -d" " > > ... but somehow I feel that I am about to reinvent a wheel ;-) > Maybe "df -l" is a better command to run, I'm quite surprised that mount does not have this option (at least I can't find it in the manual). _

Re: Cfengine Help: Update inputs from a svn repository

2010-04-14 Thread milo...@gmail.com
> Is there a way for cfengine to talk directly to a svn repository without > having to use shell commands? > As far as I know there's no such thing and the reason for that is that to deploy a new cfengine configuration must be a human decision - YOU must hit the button on the 'svn up' as you know

CentOS 5 RPM packages and included libraries

2010-04-02 Thread milo...@gmail.com
Hello, after few hours debugging we found that after install cfengine-community RPM on a CentOS 5 system PCRE UTF-8 support won't work. ldd /usr/bin/pcretest libpcre.so.0 => /var/cfengine/lib/libpcre.so.0 (0x2b52f2cee000) ... I'm wondering why it is needed to include library files

Re: CentOS and lsb-release call

2010-04-01 Thread milo...@gmail.com
> Apr  1 17:54:11 eth0 cf-execd[29952]:  Couldn't run /usr/bin/lsb_release > Apr  1 17:54:11 eth0 cf-execd[29952]:   !!! System error for execv: > "No such file or directory" > Is it possible to eliminate those complaints somehow? Other option would be to depend on that package. A proper Requi

Re: Accessing global arrays?

2010-03-29 Thread milo...@gmail.com
On Mon, Mar 29, 2010 at 4:28 PM, Justin Lloyd wrote: > This silly (but easy-to-make) mistake of mine was pointed out to me already. > :) I did, however, see some weirdness with it after I fixed it. Here's my > original response to that from last Thursday: Sorry, subject has been changed, gmail

Re: Accessing global arrays?

2010-03-29 Thread milo...@gmail.com
>    vars: >        "at_fields" slist => getindices("$(g.asset_cache)"); ## THIS > DOES NOT WORK > Have you tried without the $ sign? "v[index_1]" string => "value_1"; "v[index_2]" string => "value_2"; "parameter_name" slist => getindices("v"); ___

Re: Cfengine Help: Re: cfengine edit_line - don't understand, must be something very basic

2010-03-26 Thread milo...@gmail.com
> > What you are doing byusing the getindices() list variable directly as an > arbument to the edit bundle is to iterate over the editing of the file > itself, i.e.  you are saying > > for each index do >   edit file(...index ) >      edit lines > > You should pass the list as @(bundle.list)

Re: Cfengine Help: Re: cfengine edit_line - don't understand, must be something very basic

2010-03-26 Thread milo...@gmail.com
On Fri, Mar 26, 2010 at 9:01 AM, milo...@gmail.com wrote: > On Thu, Mar 25, 2010 at 9:54 PM, Todd Sayers wrote: >> I should have clarified that I'm using version_2 (installed via a "Dag >> Wieers" RPM -- cfengine-2.2.3-1.el5.rf ).  I haven't seen "bund

Re: Cfengine Help: Re: cfengine edit_line - don't understand, must be something very basic

2010-03-26 Thread milo...@gmail.com
On Thu, Mar 25, 2010 at 9:54 PM, Todd Sayers wrote: > I should have clarified that I'm using version_2 (installed via a "Dag > Wieers" RPM -- cfengine-2.2.3-1.el5.rf ).  I haven't seen "bundles" in > CFengine v2. > > Thanks for your answer.  I don't think that it's relevant to v2 (and could > be w

Re: install rpm from a file in cfengine 3?

2010-03-26 Thread milo...@gmail.com
On Thu, Mar 25, 2010 at 9:56 PM, Daniel Holth wrote: > In cfengine3, how do I use the packages: directive to either install an RPM > directly from a file or URL, or define a class if the package isn't > installed for use in commands: ? In the standard library you can find tools to manage packages

cfengine edit_line - don't understand, must be something very basic

2010-03-25 Thread milo...@gmail.com
Hi, in some cases I have to edit a file multiple times. I found that file changes every time although it contains the required lines. I'm quite sure I'm missing something very basic. I've set up a small test file, please find it below. I run the latest RPM of community edition. cf-agent -V This

Re: lastseen confusion

2010-03-02 Thread milo...@gmail.com
> Which "updated doc" did I get early access to? I have searched the docs I The one you got the example from. > know of without finding too much on cf-report, but maybe I overlooked > something? And I will happily joint in thanking the team, but there is > always room for improvement. That is ve

Re: Cfengine and Xen Configuration!

2010-03-02 Thread milo...@gmail.com
> > > I wonder some one has any tutorial guide on that. > > Thanks in advance for help! > > What are you looking for exactly? As far as I know other than some build-in classes CFEngine does not really care if it's a VM or a physical hardware. I run CFEngine on KVM based VMs with no special setti

Re: lastseen confusion

2010-03-02 Thread milo...@gmail.com
> Why not include this in the documentation, then I wouldn't have had to ask > these all these questions? On the top of this page: Cfengine 3.0.4 This hasn't been released yet, so it seems for me the guys work hard to update they doc and Mark gave you an early access to the updated doc. Thank y

Re: arrays with IP addresses

2010-02-27 Thread milo...@gmail.com
2010/2/11 : > Canonify might help you. > Hi Neil, thanks for your answer. For the first read I thought you totally misunderstood what my problem was, but now I see that I was the one who totally misunderstood the answer. Regards, ___ Help-cfengine ma

Re: Linux Packages Cfengine 3

2010-02-20 Thread milo...@gmail.com
> For those who did not join the Cfengine Facebook group, Cfengine is now > giving away Community Edition Packages for Linux distros on the Tech > Corner, to assist users in upgrading. Login and go to MySpace. Thanks for that, it makes upgrade/deployment much easier! I set up some system with the

arrays with IP addresses

2010-02-11 Thread milo...@gmail.com
Hi, I want to use an array for some settings in my mailserver. I used the IP address of the node in the array, but it's not working, I guess beacause of the '.' in the IP address. I use 3.0.3 community version. vars: "array[XX.YY.ZZ.19][example.com][bindip]" string => "XX.YY.ZZ.113";