Hi all,
im trying to get a vmware-server setup by using cfengines working.
below you'll find my cf file, that is beeing importet.
So far, nearly everything is working fine ... except the packages part.
Could anybody tell me, how to get the packages - installation work ??
An ldap.cf file I wrote in the same style is working very well ...
If I delete in this file the class-label needs_vmware:: in the packages
section it's also working ... no more ideas ...
thx & rgds
Achim
##################################################################
#
# vmware.cf
#
##################################################################
#####
#
# BEGIN vmware.cf
#
#####
control:
actionsequence = ( directories.needs_vmware
shellcommands.needs_vmware editfiles.needs_vmware mountall
packages.needs_vmware )
#
# This points to the file containing general text
#
directories:
needs_vmware::
/vmware mode=775 owner=root group=root
shellcommands:
needs_vmware::
"/usr/bin/test `/sbin/lvscan | /usr/bin/grep vmware_lv |
/usr/bin/wc -l` -eq 0 && /sbin/lvcreate -n vmware_lv -L 10G system &&
/sbin/mkfs.reiserfs /dev/system/vmware_lv -q"
editfiles:
needs_vmware::
{ /etc/fstab
AppendIfNoSuchLine "/dev/system/vmware_lv /vmware
reiserfs defaults 1 2"
}
packages:
needs_vmware::
VMware-server action=install
#####
#
# END vmware.cf
#
#####
begin:vcard
fn:Achim Schmidt
n:Schmidt;Achim
org:MindMatics AG;Infrastructure
adr:;;Marcel-Breuer-Str. 18;Munich;Bavaria;80807;Germany
email;internet:[EMAIL PROTECTED]
title:Manager Infrastructure
tel;work:+49 89 322986 593
tel;fax:+49 89 322986 570
tel;cell:+49 151 162490 93
note;quoted-printable:For detailed Information - look to our websites:=0D=0A=
=0D=0A=
MindMatics:=0D=0A=
=0D=0A=
http://www.mimatics.de/=0D=0A=
http://www.mindmatics.com/=0D=0A=
http://www.mindmatics.co.uk/=0D=0A=
=0D=0A=
http://www.misteradgood.de/=0D=0A=
=0D=0A=
=0D=0A=
PlanB Media AG:=0D=0A=
=0D=0A=
http://www.planb-media.de/=0D=0A=
=0D=0A=
x-mozilla-html:FALSE
url:http://www.mindmatics.de/
version:2.1
end:vcard
_______________________________________________
Help-cfengine mailing list
[email protected]
http://cfengine.org/mailman/listinfo/help-cfengine