Re: scope ?

2011-04-04 Thread Sandra Wittenbrock
OK. Thanks. On 03/30/2011 09:43 PM, Mark Burgess wrote: > Sandra, I can't see an error here, just an informational message to say > that you have 3 variables in your bundle defined implicitly by calling > the edit bundle. > > On 03/30/2011 11:51 PM, Sandra Wittenbrock wrote

scope ?

2011-03-30 Thread Sandra Wittenbrock
I'm getting the following error and am stumped. BUNDLE ChangeSysctlSettings( {'net_core_rmem_max','3','33554432'} ) cf3 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * cf3 cf3 ? Augment scope ChangeSysctlSettings with setting cf3 ? Augment scope ChangeSysctlSet

using variable for list of hosts

2011-02-18 Thread Sandra Wittenbrock
I haven't been able to use a variable for a list of hosts in the access lists. The files in question are world readable, so file owner and permissions should not be an issue. When I do not use a variable, but list all the servers by IP address, the access works. When defined thusly, everythi

Re: denied access to /var/lib/cfengine3/masterfiles/conf/sshd_config

2011-02-11 Thread Sandra Wittenbrock
On 02/11/2011 03:33 PM, Jonathan CLARKE wrote: > Hi Sandra, > > Le 12/02/2011 00:06, Sandra Wittenbrock a écrit : > >> I'm trying to copy a file from the policy host. The key exchange >> appears to be successful, and a "matching rule" is found in

denied access to /var/lib/cfengine3/masterfiles/conf/sshd_config

2011-02-11 Thread Sandra Wittenbrock
I'm trying to copy a file from the policy host. The key exchange appears to be successful, and a "matching rule" is found in the access list. The file had read permissions. I'm not sure why access is denied. Regrads, Sandra f3 Received: [CAUTH 255.3.30.102 esg. root 0] on socket 6 cf3 Allow

Re: still not able to use list

2011-02-10 Thread Sandra Wittenbrock
6 96 - +33 (0)6 14 63 25 18 > > > On 10/02/2011 20:53, Sandra Wittenbrock wrote: > >> Hello, >> >> I'm still having some trouble using a list for "allowallconnects" and >> "trustkeysfrom". >> >> I define t

still not able to use list

2011-02-10 Thread Sandra Wittenbrock
Hello, I'm still having some trouble using a list for "allowallconnects" and "trustkeysfrom". I define the list in promises.cf: *** body common control { version => "0.2.0"; inputs => { "update.cf", "library.cf", # "e

using a list

2011-01-31 Thread Sandra Wittenbrock
Hello, I am trying to use a list of servers, so I don't have to enter the servers individually. Unfortunately, the variable sdm_host_list is not working for me. Any pointers would be appreciated. Currently I have in serverd.cf: body server control { allowallconnects=> {

Re: classes

2010-12-17 Thread Sandra Wittenbrock
ar problem go away. > > -Dan > > On Dec 17, 2010, at 2:08 PM, Sandra Wittenbrock wrote: > > >> Hello, >> >> I am using cfengine for firewall configurations. I have many servers, >> and most have different firewall configurations. I am using classes t

classes

2010-12-17 Thread Sandra Wittenbrock
Hello, I am using cfengine for firewall configurations. I have many servers, and most have different firewall configurations. I am using classes to specify the firewall settings. I'm having difficulty when there is only one server in a class. For the classes containing lists of servers I de

Re: run cf-agent on policy host

2010-12-02 Thread Sandra Wittenbrock
Please disregard my previous question. I now see what is happening here. Sandra On 12/02/2010 04:11 PM, Sandra Wittenbrock wrote: > I want to run cf-agent on the policy host, so that the files and > configs are updated. > > I'm getting the following error, which may or may

run cf-agent on policy host

2010-12-02 Thread Sandra Wittenbrock
I want to run cf-agent on the policy host, so that the files and configs are updated. I'm getting the following error, which may or may not be related to running on the policy host. Thank you. cf3 Work directory is /var/lib/cfengine3 cf3 cf3: INFO: /var/lib/cfengine3/bin is a symbolic link, n

if_reconfigured

2010-11-30 Thread Sandra Wittenbrock
Hello, I'm uncovering layers of errors. Eventually, I may get back to my initial question. In site.cf, I have, files:, processes: and commands:. In the files section, I define a promise result which is to be used to restart a process. However, the processes portion is being looked at first,

if_repaired

2010-11-24 Thread Sandra Wittenbrock
Hello, I am trying to use if_repaired(x). I have it defined as follows in library.cf: body classes if_repaired(x) { promise_repaired => { "$(x)" }; } I'm using the following in an attempt to restart sshd when the configuration is changed by cfengine. Unfortunately, I'm not able to get it

Re: cf3 body "restart_sshd()" was undeclared

2010-11-24 Thread Sandra Wittenbrock
Hi Michael, Thanks for the help. That is an easy fix. Sandra On 11/23/2010 02:25 PM, Michael Potter wrote: > Change: > >restart_class => restart_sshd; > > To: > >restart_class => "restart_sshd"; > > And try again. > > On Wed, Nov

Re: boolean constraint classes did not match internals

2010-11-18 Thread Sandra Wittenbrock
nothing more) from all the other data which can provide us some real > keys not to your servers, but to your problem. Otherwise you'll have > to deal with it alone, or perhaps, file a bug into the bug tracker > (you'll be asked to provide as much information as possible there,

Re: boolean constraint classes did not match internals

2010-11-18 Thread Sandra Wittenbrock
7; for variable 'version' return final variable type=string, value={ 0.2.0} On 11/18/2010 11:07 AM, Seva Gluschenko wrote: > Well, this is the very tight cut of output, it's hard to tell anything > from there. Perhaps, you should even dive into -d 1 verbosity. > > 2010

Re: boolean constraint classes did not match internals

2010-11-18 Thread Sandra Wittenbrock
ine are you using, btw? Which OS? > > 2010/11/18 Sandra Wittenbrock: > >> Hello, >> >> I'm trying to implement the process restart I was advised on. In this >> case, the process restarts with a command, so it failed under >> "commands:"

boolean constraint classes did not match internals

2010-11-18 Thread Sandra Wittenbrock
Hello, I'm trying to implement the process restart I was advised on. In this case, the process restarts with a command, so it failed under "commands:" rather than "processes:" The error I get is: -> Using literal pathtype for /etc/sysctl.conf cf3 Software error - expected type (X) for bool

verify service running

2010-11-10 Thread Sandra Wittenbrock
Hi, What would be the command to make sure a service (sysctl, firewall, etc) is running, and/or restart it when cfengine updates the config files? Thank you, Sandra ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman

syntax error, near token 'copy_from'

2010-10-14 Thread Sandra Wittenbrock
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")

Re: defined classesf

2010-08-26 Thread Sandra Wittenbrock
Yes! That works! Cheers, Sandra Mark Burgess wrote: > Sandra, try "canonifying" the string hostname1.domain -> hostname1_domain > > You can see the list of available classes on your machine by typing > > cf-promises -v > > Sandra Wittenbrock wrote: > &g

defined classesf

2010-08-26 Thread Sandra Wittenbrock
Hello, I am trying to define a custom class, containing a list of servers. When I attempt to use it, the computer I run from, (hostname1.domain, with ipaddress "relavantip") does not recognize it IS in the class, so the promises are not relevant. I'd appreciate being pointed in the right di

Re: defining classes

2010-05-05 Thread Sandra Wittenbrock
ndle => "global_classes"; "policy_hosts" or => {classify("cfengine.domain.com")}, handle => "global_classes"; Cheers, --Nakarin On May 5, 2010, at 9:24 PM, Sandra Wittenbrock wrote: Justin, Thanks for the swift response. And your suggestion worked

Re: defining classes

2010-05-05 Thread Sandra Wittenbrock
since classes declared in common bundles become global. 2010/5/5 Sandra Wittenbrock : Hello, I've been playing with cfengine for a while, copying configurations, and running them on my systems. Now I need to make then do what I need them to do. For this I need to define classes. I've bee

Re: defining classes

2010-05-05 Thread Sandra Wittenbrock
- From: help-cfengine-boun...@cfengine.org [mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Sandra Wittenbrock Sent: Wednesday, May 05, 2010 12:36 PM To: help-cfengine@cfengine.org Subject: defining classes Hello, I've been playing with cfengine for a while, copying configurations, and r

defining classes

2010-05-05 Thread Sandra Wittenbrock
Hello, I've been playing with cfengine for a while, copying configurations, and running them on my systems. Now I need to make then do what I need them to do. For this I need to define classes. I've been able to use hard classes to select when some bundles are run, however I've been unable to