Re: spam in output/previous enterprise 3.18

Stefan Skoglund <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
fre 2021-08-13 klockan 19:35 -0500 skrev 'Nick Anderson' via help-
cfengine:
> Hum, can you please post the verbose run output?
> 
> 
> On Fri, Aug 13, 2021, 6:36 PM Stefan Skoglund <
> [email protected]> wrote:
> > fre 2021-08-13 klockan 17:55 -0500 skrev 'Nick Anderson' via help-
> > cfengine:
> > What's the promise?
> > 
> > ---- 
> >    
> >  "/var/www/
> > www.fakirenstenstorp.st/stefan/css_course_christinatruong/
> > ."
> >         depends_on => { "NS_www_fakirenstenstorp_truong"},
> >          copy_from => default:perms_cp(
> > "/home/stefan/Skrivbord/skaraborgfakir.github.io/christinatruong/."
> > ),
> >        file_select => default:by_name(  @(truong)),
> >       depth_search => default:recurse( "3"),
> >               meta => { "fakirenstenstorp", "httpd",
> > "www.fakirenstenstorp.st"};
> > ---
> > 
> > 
> > https://github.com/skaraborgfakir/skaraborgfakir.github.io
> > 
> > is the git repo ie
> > "/home/stefan/Skrivbord/skaraborgfakir.github.io/" is the clone.
> > 

this was funny:
the error disappeared when i did this:
--
    "/var/www/www.fakirenstenstorp.st/stefan/css_course_christinatruong/."
	    handle => "NS_www_fakirenstenstorp_kopiera_ur_truong",
	depends_on => { "NS_www_fakirenstenstorp_truong"},
	 # copy_from => default:perms_cp( "/home/stefan/Skrivbord/skaraborgfakir.github.io/christinatruong"),
	 copy_from => default:no_backup_dcp( "/home/stefan/Skrivbord/skaraborgfakir.github.io/christinatruong"),
       file_select => by_name( @(truong)),
      depth_search => default:recurse( "inf"),
	      meta => { "fakirenstenstorp", "httpd", "www.fakirenstenstorp.st"};
---
---
body file_select by_name(names)
# @brief Select files that match `names`
# @param names A regular expression
{
	leaf_name  => { @(names)};
       file_types  => { "plain" };
       file_result => "leaf_name.file_types";
}
---

though i dont think the special file_select is really necessary, the default:by_name should be enough

-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/ff42e13021ad442d57ac4dbb4cd7dd08a1eac035.camel%40agj.net.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.