Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>After reviewing the source code for rover, which I never used, I determined it was not possible from the existing code. </p> <p>I created a new extension for you, that has that functionality, it supports the ~ and ${HOME} syntax, (which are bash extensions and not part of the OS directly, that is why perl does not support them).</p> <p>code is here: <a href="https://github.com/h4ck3rm1k3/perl-rover/commit/2c78aefb97e819956bb665b04056763f8df1b242" rel="nofollow">https://github.com/h4ck3rm1k3/perl-rover/commit/2c78aefb97e819956bb665b04056763f8df1b242</a></p> <p>I have had a hard time testing it because I never used rover before<s>, and rover does not seem to support scp.</s>(I read it is supported,but could not test it yet.) Anyway, let me know if you like it. I will put more work into it if reasonably requested.</p> <h1>Update</h1> <p>Here is my example ruleset :</p> <h2>example ruleset</h2> <pre><code>[rulesets] test: { put_file_from_home put_file "~/find2.sh" "/tmp/" put_file_from_home put_file "${HOME}/find3.sh" "/tmp/" }, ; </code></pre> <h2>example output</h2> <p>Here is the example output, I cannot get rover to work. See the test case below.</p> <h1>Test output</h1> <pre><code>perl -I lib t/example2.t Local was ~/find2.sh and home was /home/mdupont at lib/Rover/CoreExtension.pm line 19. Local now /home/mdupont/find2.sh at lib/Rover/CoreExtension.pm line 22. Local was ${HOME}/find3.sh and home was /home/mdupont at lib/Rover/CoreExtension.pm line 19. Local now /home/mdupont/find3.sh at lib//Rover/CoreExtension.pm line 22. </code></pre> <h1>new config option for the new sshport option</h1> <pre><code>[hosts] someexample:{ os linux username myusername description 'myhost' sshport 12345 ftp_method_used sftp }; </code></pre> <h1>update2</h1> <p>Dont use quotes around the name, use a comma between the args,</p> <p>To git@github.com:h4ck3rm1k3/perl-rover.git 2207417..7637741 CoreExtension -> CoreExtension</p> <pre><code>[rulesets] test: { put_file_from_home ~/find2.sh,/tmp/ }, ; [hosts] localhost:{ os linux username mdupont description 'localhost' ftp_methods sftp ftp_method_used sftp }; </code></pre> <p>mike</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload