help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: packages: action=install doesn't work?


From: Eric Dorland
Subject: Re: packages: action=install doesn't work?
Date: Thu, 31 Mar 2005 15:10:17 -0500

Doh! I was looking at the 2.1.14 doc, and now I see the patch is against
2.1.13, so clearly it's not in 2.1.13. Looking even more forward to
2.1.14 :) Sorry for the noise.

On Thu, 2005-03-31 at 11:08 -0600, rader@ginseng.hep.wisc.edu wrote:
> my copy of the 2.1.13 doc doesn't reference RPMInstallCommand
> or packages action=install...  try this...
>  
>  packages:
>    rpm_system::
>      ntp version=0:0.0.0-0 cmp=ge elsedefine=install_ntp
>  
>  shellcommands:
>    install_ntp::
>      "/bin/rpm ..."
> 
> steve 
> - - - 
> systems & network manager
> high energy physics
> university of wisconsin
> 
>  > > Eric Dorland wrote:
>  > > I've got a cf snippet that looks like this (rpm_system is a class I
>  > > defined myself):
>  > > 
>  > > packages:
>  > >  rpm_system::
>  > >          ntp                     define=ntp_installed
>  > >                                  action=install
>  > > 
>  > > which gives me the error:
>  > > 
>  > > cf:cfengine::/var/cfengine/inputs/cf.ntpd:4: Illegal packages attribute
>  > > 
>  > > I've previously set RPMInstallCommand. The documentation says this
>  > > should work. What am I doing wrong?
>  > > 
>  > > PS Running 2.1.13 on a RHEL3 system. 
> 

-- 
Eric Dorland
eric.dorland@mcgill.ca
WSG
514.398-5023 ext. 09562





reply via email to

[Prev in Thread] Current Thread [Next in Thread]