It should work. Are you using an old version? There was a patch to this a couple of releases ago as I recall. What does the debug output say? M
On Tue, 2006-02-21 at 10:21 -0500, christian pearce wrote: > Am installing a package that creates a directory path that will house > a custom configuration file. I don't perform the copy until the > package is installed. Which if it is successful I expect the second > pass of cfengine to pick it up. But it doesn't. > > control: > > AddInstallable = ( tlpc_installed ) > > copy: > > !tlpc_installed:: > $(proxy_pack_path)/$(platform)/$(tlpc_package) > dest=$(sysnav_rep_path)/$(tlpc_package) > server=$(parent_ip) > [...] > > $(proxy_conf_path)/hersheys/SUNWtlpc.response > dest=/tmp/SUNWtlpc.response > server=$(parent_ip) > [...] > > tlpc_installed:: > $(proxy_conf_path)/hersheys/tlpc.conf > dest=/opt/SUNWtlpc/conf/tlpc.conf > server=$(parent_ip) > [...] > > shellcommands: > > !tlpc_installed:: > "${pkgadd} -n -a ${admin_file} -d > $(sysnav_rep_path)/$(tlpc_package) -r /tmp/SUNWtlpc.response SUNWtlpc" > define=tlpc_installed > > > > Shouldn't Cfengine pickup on the fact the tlpc_installed created a > pending copy statement and perform this on a second pass? > > Note: Adding the following works. > > control: > > actionseqence = ( copy.tlpc_installed ) > > I should mention I have seen a second pass work before for other > actions like processes. What gives? > > -- > Christian Pearce > > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@gnu.org > http://lists.gnu.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine