On Thu, May 11, 2006 1:19 am, [EMAIL PROTECTED] wrote: > I am new to CF Engine and have been tasked by my manager to get a > package installed on all our HP-UX systems. I have looked at the > manuals (cfengine-Tutorial.pdf and cfengine-Reference.pdf) and can not > seem to get something to work. I have a base configuration that seems > to work but am having trouble testing to see if a pacakge is installed > and if not installing it. I would like to use the packages > functionality for this. I am using CF Engine 2.0.0 > > Can someone tell me if I'm the right path? I get an error the > following as output: > > .... > Import file /opt/cfengine/cfscripts/cf.test > cf:myhost:/opt/cfengine/cfscripts/cf.test:13: parse error > Import file /opt/cfengine/cfscripts/cf.test > cf:myhost:/opt/cfengine/cfscripts/cf.test:3: Warning: invalid statement > cf:myhost:/opt/cfengine/cfscripts/cf.test:3: parse error > cf:myhost:/opt/cfengine/cfscripts/cf.test:5: Warning: invalid statement > cf:myhost:/opt/cfengine/cfscripts/cf.test:5: parse error > cf:myhost:/opt/cfengine/cfscripts/cf.test:6: Warning: invalid statement > cf:myhost:/opt/cfengine/cfscripts/cf.test:6: parse error > myhost:/opt/cfengine/cfscripts/cf.test:7: Warning: Redefinition of > macro test=action=install > cf:myhost:/opt/cfengine/cfscripts/cf.test:7: Warning: invalid statement > cf:myhost:/opt/cfengine/cfscripts/cf.test:7: parse error > cf:myhost:/opt/cfengine/cfscripts/cf.test:8: Warning: invalid statement > cf:myhost:/opt/cfengine/cfscripts/cf.test:8: parse error > myhost:/opt/cfengine/cfscripts/cf.test:Too many errors > >
I'm not sure that the "packages" functionality was available in 2.0.0. At any rate, I would upgrade to the latest version (2.1.20) before you try getting this to work. There were many security and other fixes since 2.0.0. -Jeff _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine