[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to install a package uninstalled with cfengine???
|
From: |
freak |
|
Subject: |
Re: how to install a package uninstalled with cfengine??? |
|
Date: |
26 Jul 2004 05:59:49 -0700 |
John Sechrest <address@hidden> wrote in message news:<address@hidden>...
> Yes, you can call apt-get from cfengine and use it to install
> new packages.
>
>
>
> address@hidden (freak) writes:
>
> % Hello!!
> %
> % I would to test if a package is installed on different hosts and
> % install this package when is not installed.
> %
> % Anybody knows if it's possible to do this type of command with
> % cfengine???
> %
> % All my network run on Debian Sarge!!!
> %
> % Thanks
> %
Eventually I found an answer to this question of auto installation and
test of the install of a package!!
Look!!!
classes:
smtp = ( ReturnsZero(/bin/sh -c "/usr/bin/dpkg -l ssmtp |grep
^ii") )
shellcommands:
!ssmtp::
"/usr/bin/apt-get --assume-yes --trivial-only install --purge
ssmtp"
> % Freak
> % _______________________________________________
> % Help-cfengine mailing list
> % address@hidden
> % http://lists.gnu.org/mailman/listinfo/help-cfengine
>
> -----
> John Sechrest . Helping people use
> . computers and the Internet
> . more effectively
> .
> . Internet: address@hidden
> .
> . http://www.peak.org/~sechrest