A library for writing host-specific, single-binary configuration management and deployment tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
468 B

7 years ago
7 years ago
8 years ago
7 years ago
5 years ago
7 years ago
8 years ago
7 years ago
7 years ago
5 years ago
7 years ago
7 years ago
  1. use async_trait::async_trait;
  2. use std::error::Error;
  3. // Symbol
  4. #[async_trait(?Send)]
  5. pub trait Symbol {
  6. async fn target_reached(&self) -> Result<bool, Box<dyn Error>>;
  7. async fn execute(&self) -> Result<(), Box<dyn Error>>;
  8. }
  9. pub mod acme;
  10. pub mod concat;
  11. pub mod cron;
  12. pub mod dir;
  13. pub mod file;
  14. pub mod git;
  15. pub mod mariadb;
  16. pub mod npm;
  17. pub mod owner;
  18. pub mod postgresql;
  19. pub mod saved_directory;
  20. pub mod systemd;
  21. pub mod tls;
  22. pub mod user;
  23. pub mod wordpress;