Looking at the manual, "cf-agent -I" supposedly prints "basic 
information about changes made to the system, i.e. promises repaired".

Package promises don't seem to treat "-I" like this, though.

The commands run due to package promises print their output (even in the 
case of my silent wrapper scripts they print the script name). I also 
get messages regarding verification (which is not a system change).

Is there some way to make them output like other promises?

Thanks,

Ian

An example of normal "-I" output:
  -> Created file /var/local/my_debconf_preferences.cf3_generated, mode 
= 600
  -> Group of /var/local/my_debconf_preferences.cf3_generated was 50, 
setting to 0
  -> Edited file /var/local/my_debconf_preferences.cf3_generated
  -> Edited file /var/local/my_debconf_preferences.cf3_generated
  -> Edited file /var/local/my_debconf_preferences.cf3_generated
  -> Edited file /var/local/my_debconf_preferences.cf3_generated
  -> Edited file /var/local/my_debconf_preferences.cf3_generated
  -> Edited file /var/local/my_debconf_preferences.cf3_generated


An example of what happens when I uncomment my packages: promises.

Q:apt-install-wrapped. ...:
Q:apt-update-wrapped.s ...:
Q:    dpkg -s autofs5  ...:Package: autofs5
Q:    dpkg -s autofs5  ...:Status: install ok installed
Q:    dpkg -s autofs5  ...:Priority: extra
Q:    dpkg -s autofs5  ...:Section: utils
Q:    dpkg -s autofs5  ...:Installed-Size: 1408
Q:    dpkg -s autofs5  ...:Maintainer: Jan Christoph Nordholz 
<he...@pool.math.tu-berlin.de>
Q:    dpkg -s autofs5  ...:Architecture: i386
Q:    dpkg -s autofs5  ...:Version: 5.0.4-3.2
Q:    dpkg -s autofs5  ...:Replaces: autofs
Q:    dpkg -s autofs5  ...:Provides: autofs
Q:    dpkg -s autofs5  ...:Depends: libc6 (>= 2.3.6-6~), ucf
Q:    dpkg -s autofs5  ...:Recommends: nfs-common, module-init-tools
Q:    dpkg -s autofs5  ...:Conflicts: autofs
Q:    dpkg -s autofs5  ...:Conffiles:
Q:    dpkg -s autofs5  ...: /etc/init.d/autofs 
6683d9a5c8f380a8b07d843dbf83cc09
Q:    dpkg -s autofs5  ...:Description: kernel-based automounter for 
Linux, version 5
Q:    dpkg -s autofs5  ...: Autofs controls the operation of the 
automount daemons. The
Q:    dpkg -s autofs5  ...: automount daemons automatically mount 
filesystems when they
Q:    dpkg -s autofs5  ...: are used and unmount them after a period of 
inactivity. This
Q:    dpkg -s autofs5  ...: is done based on a set of pre-configured maps.
Q:    dpkg -s autofs5  ...: .
Q:    dpkg -s autofs5  ...: The kernel automounter implements an almost 
complete SunOS
Q:    dpkg -s autofs5  ...: style automounter under Linux. A recent 
version of the kernel
Q:    dpkg -s autofs5  ...: autofs4 module (builtin or separate) is 
required.
Q:    dpkg -s autofs5  ...: .
Q:    dpkg -s autofs5  ...: This is the experimental branch of the 
autofs daemon.
Q:    dpkg -s autofs5  ...:Homepage: 
http://www.kernel.org/pub/linux/daemons/autofs/v5/
Q:    dpkg -s autofs5  ...:
-> Package verification succeeded (returned 0)
Q:apt-update-wrapped.s ...:

  !! Purging /var/cfengine/inputs/mount.cf.cfsaved in copy dest directory
Q:apt-update-wrapped.s ...:
Q:apt-install-wrapped. ...:
Q:apt-update-wrapped.s ...:
!! Package "autofs5" cannot be verified -- no match

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to