Commit Graph

32 Commits

Author SHA1 Message Date
Thibault Jouan 0ba12bfb90 Implement `yaml_write' action 2014-10-11 00:47:16 +00:00
Thibault Jouan 3cc52bb1a8 Fail when `sh' misses arguments 2014-10-09 20:14:44 +00:00
Thibault Jouan 3f82b923b7 Fail when `mkdir' misses arguments 2014-10-09 20:12:44 +00:00
Thibault Jouan fdfd5df26f Fail when `file_replace_content' misses arguments 2014-10-09 20:06:15 +00:00
Thibault Jouan 7bdb778159 Refactor action arguments checks 2014-10-09 19:54:43 +00:00
Thibault Jouan 5549ebc676 Fail when `file_append' misses some arguments 2014-10-09 19:47:52 +00:00
Thibault Jouan 770f4df51e Output all arguments in `echo' action 2014-10-09 19:44:07 +00:00
Thibault Jouan 61c262a9f1 Fail when `file_write' misses some arguments 2014-10-09 19:11:16 +00:00
Thibault Jouan 3c4bcc1a4b Refactor actions with Action#setup 2014-10-09 01:06:42 +00:00
Thibault Jouan c4006416e4 Support `file_write' status attributes 2014-10-08 22:36:32 +00:00
Thibault Jouan a84b34b7ca Support `mkdir' status attributes 2014-10-08 22:36:27 +00:00
Thibault Jouan 2e6625d444 Simplify Actions::Mkdir#apply 2014-10-08 08:44:25 +00:00
Thibault Jouan 25935f8302 Improve mkdir so that permissions will be forced:
SFTP will honor umask on server side, and new directories won't get
expected permissions. We need to explicitly set permissions metadata for
new entries.
2014-09-25 21:35:06 +00:00
Thibault Jouan bd66ec25e4 Allow `mkdir' action to work recursively 2014-09-25 21:28:12 +00:00
Thibault Jouan 429b9f9ad2 Refactor mkdir action 2014-09-25 20:35:30 +00:00
Thibault Jouan db91eb06cd Forward standard error stream from remote execution 2014-07-24 17:38:13 +00:00
Thibault Jouan 8291f1bcfd Implement verbose mode 2014-05-25 12:14:22 +00:00
Thibault Jouan 94f6bbb4aa Accept mode as argument in `mkdir' action 2014-04-25 00:33:27 +00:00
Thibault Jouan 5cb6296057 Accept mode as argument in `file_write' action 2014-04-25 00:33:24 +00:00
Thibault Jouan 3610427c74 Improve `file_append' when file doesn't exist 2014-04-23 20:39:19 +00:00
Thibault Jouan bf25b05adb Remote extra record separator from `sh' task action 2014-03-05 06:45:56 +00:00
Thibault Jouan db3644a3e6 Write output from `sh' task action directly:
* Accept output as argument in Remote#execute;
* Modify ShellCommand so that env output is directly handled.
2014-03-05 06:06:42 +00:00
Thibault Jouan 387f37f3f5 Implement `file_append' task action 2014-03-05 02:41:28 +00:00
Thibault Jouan d22b023ff4 Implement `file_replace_content' task action 2014-03-05 02:02:52 +00:00
Thibault Jouan 7f5d1a4085 Implement `mkdir' task action 2014-01-21 15:50:07 +00:00
Thibault Jouan cdc3128727 Implement Action#remote (delegates to remote.fs) 2014-01-09 00:51:16 +00:00
Thibault Jouan 29c26ab961 Implement Action#remote (delegates to env.remote) 2014-01-09 00:45:26 +00:00
Thibault Jouan e567c61e4e Implement Action#output (delegates to env.output) 2014-01-09 00:43:01 +00:00
Thibault Jouan d670d5dbdd Replace env.output interface with an IO like object 2013-12-23 23:31:15 +00:00
Thibault Jouan 892a9862fc Implement `file_write' action 2013-12-20 06:26:21 +00:00
Thibault Jouan a675c9c910 Implement `echo' task action 2013-08-14 23:43:36 +00:00
Thibault Jouan f10914c7d7 Implement basic `sh' task action feature:
* Executes a command on the remote host;
* Forwards remote standard output.
2013-08-07 16:16:40 +00:00