All,
I've just started to use cfengine at my company and we have a mixture of Linux,
Solaris & AIX. I want to check for packages across all of these system and
examples are available for Linux & Solaris however not for AIX. Here is what I
have so far but it isn't working. I suspect it is someth
uot;;
package_delete_command => "/bin echo dummy";
package_verify_command => "/usr/bin/lppchk -fm3";
}
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Jones, Stephen (MAS)
Sent: Monday, 14 February 2011 1:14 PM
To: h
All,
I'm having some issues expanding global variables defined in my site.cf within
a command.
Site.cf extract:-
bundle common g {
vars:
# Managed user account names
"user_name" slist => {"test1", "test2",
"test3", "test4",
All,
I'm trying to integrate cfengine3 into an environment that is already heavily
configured. I'm currently working on a solution for the sudoers file which
appears to be slightly different on about every host I've looked at!
The solution I've come up with is to create a location in the existi
Hi all,
I'm trying to do the simplest thing and it's becoming very frustrating. In my
present company someone wrote a shell script to clean up files, rotate logs etc
and I'm trying to replicate it's functionality with cfengine. Here is what I
have so far...
body common control
{
bundlesequence
)",
delete => tidy_keep_dirs,
file_select => plain_filename_days_old("$(cr[$(cdn)])","$(creg[$(cdn)])"),
depth_search => recurse("$(ctd[$(cdn)])"),
ifvarclass => canonify("$(cd[$(cdn)])"),
action => log;
commands:
"
http://www.perzl.org/aix/index.php?n=Main.Cfengine
AIX Binaries not sure about HPUX
Cheers
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of no-re...@cfengine.com
Sent: Wednesday, 25 May 2011 4:34 AM
To: help-cfengine@cf
I'm reporting on old user accounts and I'd like to output this data to a file.
reports:
cfengine_3::
"WARNING - user=\"$(user)\" last_logon=\"$(logon_time)\"
gecko=\"$(userdata[5])\"";
"WARNING - user=\"$(user)\" last_logon=\"$(logon_time)\"
gecko=\"$(userdata[5])\""
report_to