├── .gitignore ├── .rspec ├── .travis.yml ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── TODO.md ├── infra_operator.gemspec ├── lib ├── infra_operator.rb └── infra_operator │ ├── backends │ ├── base.rb │ ├── exec.rb │ └── native.rb │ ├── command_result.rb │ ├── commands │ ├── base.rb │ ├── ruby.rb │ └── shell.rb │ ├── host.rb │ ├── platforms │ ├── base.rb │ └── osx │ │ └── common.rb │ ├── providers │ ├── base.rb │ ├── cron │ │ └── common.rb │ └── file │ │ └── bsd.rb │ ├── service_proxy.rb │ ├── specinfra1_compat │ └── command_result.rb │ ├── utils │ └── shell_builder.rb │ └── version.rb ├── script ├── console └── setup └── spec ├── backends └── exec_spec.rb ├── host_spec.rb ├── platforms └── base_spec.rb ├── service_proxy_spec.rb ├── spec_helper.rb └── utils └── shell_builder_spec.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/Rakefile -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/TODO.md -------------------------------------------------------------------------------- /infra_operator.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/infra_operator.gemspec -------------------------------------------------------------------------------- /lib/infra_operator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator.rb -------------------------------------------------------------------------------- /lib/infra_operator/backends/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/backends/base.rb -------------------------------------------------------------------------------- /lib/infra_operator/backends/exec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/backends/exec.rb -------------------------------------------------------------------------------- /lib/infra_operator/backends/native.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/backends/native.rb -------------------------------------------------------------------------------- /lib/infra_operator/command_result.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/command_result.rb -------------------------------------------------------------------------------- /lib/infra_operator/commands/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/commands/base.rb -------------------------------------------------------------------------------- /lib/infra_operator/commands/ruby.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/commands/ruby.rb -------------------------------------------------------------------------------- /lib/infra_operator/commands/shell.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/commands/shell.rb -------------------------------------------------------------------------------- /lib/infra_operator/host.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/host.rb -------------------------------------------------------------------------------- /lib/infra_operator/platforms/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/platforms/base.rb -------------------------------------------------------------------------------- /lib/infra_operator/platforms/osx/common.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/platforms/osx/common.rb -------------------------------------------------------------------------------- /lib/infra_operator/providers/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/providers/base.rb -------------------------------------------------------------------------------- /lib/infra_operator/providers/cron/common.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/providers/cron/common.rb -------------------------------------------------------------------------------- /lib/infra_operator/providers/file/bsd.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/providers/file/bsd.rb -------------------------------------------------------------------------------- /lib/infra_operator/service_proxy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/service_proxy.rb -------------------------------------------------------------------------------- /lib/infra_operator/specinfra1_compat/command_result.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/specinfra1_compat/command_result.rb -------------------------------------------------------------------------------- /lib/infra_operator/utils/shell_builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/lib/infra_operator/utils/shell_builder.rb -------------------------------------------------------------------------------- /lib/infra_operator/version.rb: -------------------------------------------------------------------------------- 1 | module InfraOperator 2 | VERSION = "0.1.0" 3 | end 4 | -------------------------------------------------------------------------------- /script/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/script/console -------------------------------------------------------------------------------- /script/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/script/setup -------------------------------------------------------------------------------- /spec/backends/exec_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/spec/backends/exec_spec.rb -------------------------------------------------------------------------------- /spec/host_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/spec/host_spec.rb -------------------------------------------------------------------------------- /spec/platforms/base_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/spec/platforms/base_spec.rb -------------------------------------------------------------------------------- /spec/service_proxy_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/spec/service_proxy_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) 2 | require 'infra_operator' 3 | -------------------------------------------------------------------------------- /spec/utils/shell_builder_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sorah/infra_operator/HEAD/spec/utils/shell_builder_spec.rb --------------------------------------------------------------------------------