Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,15923,20945#msg-20945 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,11503,20942#msg-20942 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,13577,20941#msg-20941 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,11709,20940#msg-20940 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,20489,20939#msg-20939 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,13793,20938#msg-20938 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,13455,20937#msg-20937 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,8978,20936#msg-20936 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is t

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,11886,20935#msg-20935 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,16213,20932#msg-20932 Generally speaking, the mbt shoes is available in two different sole designs, mbt sh oe , which is s omething relatively new. The first typ

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,9016,20931#msg-20931 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is t

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,12586,20926#msg-20926 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Cfengine Help: Re: Your favorite environment

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Your favorite environment Author: zhanhuichuan Link to topic: https://cfengine.com/forum/read.php?3,20659,20923#msg-20923 Generally speaking, the mbt shoes is available in two different sole designs, mbt shoe, which is something relatively new. The first type is

Re: packages: (yum) installing multiple architectures?

2011-03-03 Thread Frans Lawaetz
What version are you running? It looks like you might be hitting this bug: https://cfengine.com/bugtracker/view.php?id=456 ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine

packages: (yum) installing multiple architectures?

2011-03-03 Thread Michael Stevens
According to the reference manual entry for package_architectures; "It is possible to specify a list of packages of different architectures if it is desirable to install multiple architectures on the host" I have the following, which in practice looks for only the final architecture in the list

proper logging for cfengine processes

2011-03-03 Thread Jake
before using cfengine in production i need to get cfengine's logging sorted out. i searched and did not find a definitive "these are the dials, turn them" document. i would appreciate it if someone could forward me to such a document or suggest a best practice for getting cfengine processes to

Cfengine Help: Re: Question about a goup of host

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Question about a goup of host Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,20898,20914#msg-20914 Max, use common bundles: bundle common g { vars: linux:: "stdbundle" slist => { "linux.cf", "site.cf" }; "stdseq"

Cfengine Help: Re: Question about a goup of host

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Question about a goup of host Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,20898,20913#msg-20913 I used to have a groups.cf file, stemming back from cfengine2. I've carried that habit over into CFE3 and I define my groups as the first bun

Cfengine Help: Re: Separating clients into groups

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Separating clients into groups Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,20902,20912#msg-20912 It should. If you take a quick look at /var/cfengine/state/allclasses.txt you should see that classes get defined for all levels of your

Cfengine Help: Re: Question about a goup of host

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Question about a goup of host Author: max_fr Link to topic: https://cfengine.com/forum/read.php?3,20898,20911#msg-20911 Hi Dave, Thanks a lot for you help! Ok i understand how to implement this. But, where must i define this classes, promises.cf file or other e

Cfengine Help: Re: Separating clients into groups

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Separating clients into groups Author: Lucas Link to topic: https://cfengine.com/forum/read.php?3,20902,20910#msg-20910 Classify did the trick thank you. though should that classes work without the fully qualified domain? say just servermgt16 servermgt17 etc?

Cfengine Help: Re: Separating clients into groups

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Separating clients into groups Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,20902,20909#msg-20909 Lucas, If you want to reference a machine name in you class, You may want to look at using the classify function: classes:

Cfengine Help: Re: Separating clients into groups

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Separating clients into groups Author: Lucas Link to topic: https://cfengine.com/forum/read.php?3,20902,20908#msg-20908 Thank you for the response! I am about to go to your site and look it over. But i tried what you suggested and I've actually tried this alre

Cfengine Help: Re: Question about a goup of host

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Question about a goup of host Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,20898,20907#msg-20907 I manage CFengine for a large global bank. These are some of the approaches I've taken to help me organize hosts: I've created groups based

Re: Cfengine Help: Re: how to build a slist from array volumes?

2011-03-03 Thread Max Ivanov
> bundle agent test > { > vars: > linux:: > "all_ips" slist => { "$(sys.ipv4)","$(sys.ipv4)","$(sys.ipv4)" }; > "mngmt_ip" slist => grep("10.0.50.*","all_ips"); > > reports: > linux:: > "--> $(mngmt_ip)"; > } Thanks for idea, following code works but its an ugly hack =) List of all ip a

Cfengine Help: Re: Separating clients into groups

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Separating clients into groups Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,20902,20904#msg-20904 Lucas, This is what classes are for. You can check the hostname using the automatically-defined hard classes, or even group them according

Re: Cfengine Help: Please help with regex format

2011-03-03 Thread Daniel V. Klein
It appears you have a slight misunderstanding on indices, etc. Here's how I would rewrite your code (I didn't test, but you seemed to have a spurious : and the wrong slist indexing the wrong array (there is no mypasswd_user array, it is the slist into the mypasswd_array array): bundle agent pa

Cfengine Help: Re: how to build a slist from array volumes?

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: how to build a slist from array volumes? Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,20899,20903#msg-20903 I'm not quite sure how many ip addresses you would get from $(sys.ipv4) alone. I usually specify an interface name to sys.ipv4 to

Cfengine Help: Separating clients into groups

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Separating clients into groups Author: Lucas Link to topic: https://cfengine.com/forum/read.php?3,20902,20902#msg-20902 I have been digging through the large amounts of documents on cfeng 3 and I'm still not used to how this all works but I'm getting closer. I am

Re: How to test promises?

2011-03-03 Thread Jonathan CLARKE
On 03/03/2011 14:09, Max Ivanov wrote: > How do you test your promises? > I've copied everyting from masterfiles into separate dir, edited few > things and then execute them using "cf-exec -v -f" but according to > output it executes things in "inputs" directory, not in my copy. That should be "cf

Cfengine Help: Please help with regex format

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Please help with regex format Author: raymondcox Link to topic: https://cfengine.com/forum/read.php?3,20900,20900#msg-20900 Hello, For the past few weeks off and on I have been trying to develop a solution to keep all of my LINUX and AIX passwords in sync. I

how to build a slist from array volumes?

2011-03-03 Thread Max Ivanov
I need to get ipv4 address in a var to write it into config file. There are variety of interface configurations, but all machines has ip from subnet 10.0.50.0/24 which is management subnet. Unfortunately this ip can be assigned to different interfaces: somewhere to eth0, somewhere to eth1 etc...

Cfengine Help: Question about a goup of host

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Question about a goup of host Author: max_fr Link to topic: https://cfengine.com/forum/read.php?3,20898,20898#msg-20898 Hi, I am trying to implement the last version of cfengine (3.1.4) in a wide and different environment servers such as development, live environme

Cfengine Help: Re: Cfengine Help: Re: Cfengine Help: ex_list and purge conflict?

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Cfengine Help: ex_list and purge conflict? Author: hartikka Link to topic: https://cfengine.com/forum/read.php?3,20882,20897#msg-20897 All, Thank you again Bas. Do I have to create a 'purge directory'? I cannot find mention in the ref doc.

Re: How to test promises?

2011-03-03 Thread Mark Burgess
There is also dry-run mode -n --dry-run for the agent as a next step. After that, pick a harmless test environment and then gradually increase the scope of the deployment until you are comfortable. On 03/03/2011 02:09 PM, Max Ivanov wrote: > How do you test your promises? > I've copied everyting

How to test promises?

2011-03-03 Thread Max Ivanov
How do you test your promises? I've copied everyting from masterfiles into separate dir, edited few things and then execute them using "cf-exec -v -f" but according to output it executes things in "inputs" directory, not in my copy. On the other hand, "cf-promises -f" works fine, at least it catc

Cfengine Help: Re: Edit crontabs - was cfengine/puppet choice

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit crontabs - was cfengine/puppet choice Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18633,20894#msg-20894 Okay, sounds reasonable. But don't forget to mention it in the Cfengine reference to avoid such questions in the future )

Cfengine Help: Re: Edit crontabs - was cfengine/puppet choice

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit crontabs - was cfengine/puppet choice Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18633,20893#msg-20893 For two reasons. 1. This was inspired by the original quoted example which only used this. 2. Cron should never be used for jobs tha

Cfengine Help: Re: Do you trust nodes?

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Do you trust nodes? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,20889,20892#msg-20892 Ah yes. I struggled with this one for awhile and created a method that is similar to Jonathan, but instead of different directory, the client only copies

Re: Cfengine Help: Re: Cfengine Help: ex_list and purge conflict?

2011-03-03 Thread Bas van der Vlies
On 02-03-11 23:14, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Cfengine Help: ex_list and purge conflict? > Author: hartikka > Link to topic: https://cfengine.com/forum/read.php?3,20882,20886#msg-20886 > > Thanks Bas, > > Your suggestion sounds promising. > But,the "purge dir

Re: Do you trust nodes?

2011-03-03 Thread Jonathan CLARKE
On 03/03/2011 12:25, Max Ivanov wrote: > Hi all! > I am newbie to cfengine and have probably silly question: do I > understand right that every host receives all policies for every other > host managed by cfengine on each update? Which means that my notebook > contains all rules to configure my se

Do you trust nodes?

2011-03-03 Thread Max Ivanov
Hi all! I am newbie to cfengine and have probably silly question: do I understand right that every host receives all policies for every other host managed by cfengine on each update? Which means that my notebook contains all rules to configure my servers? Is there any way to avoid that? If I mana

Cfengine Help: Re: Edit crontabs - was cfengine/puppet choice

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Edit crontabs - was cfengine/puppet choice Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,18633,20888#msg-20888 Why weekdays and monthdays are ignored? Cronjobs rely not on hours and minutes only. ___

Cfengine Help: Edit crontabs - was cfengine/puppet choice

2011-03-03 Thread no-reply
Forum: Cfengine Help Subject: Edit crontabs - was cfengine/puppet choice Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18633,20887#msg-20887 Sorry for the delay in replying. I've been travelling, I made a cronjob method in the standard library, so that adding cron is simple: