Module: OpsWalrus

Defined in:
lib/opswalrus/ops_file_script_dsl.rb,
lib/opswalrus.rb,
lib/opswalrus/app.rb,
lib/opswalrus/cli.rb,
lib/opswalrus/git.rb,
lib/opswalrus/zip.rb,
lib/opswalrus/cli2.rb,
lib/opswalrus/host.rb,
lib/opswalrus/errors.rb,
lib/opswalrus/bundler.rb,
lib/opswalrus/version.rb,
lib/opswalrus/ops_file.rb,
lib/opswalrus/inventory.rb,
lib/opswalrus/hosts_file.rb,
lib/opswalrus/invocation.rb,
lib/opswalrus/traversable.rb,
lib/opswalrus/package_file.rb,
lib/opswalrus/ops_file_script.rb,
lib/opswalrus/operation_runner.rb,
lib/opswalrus/runtime_environment.rb,
lib/opswalrus/interaction_handlers.rb

Overview

this file contains all of the logic associated with the invocation of the dynamically defined OpsFileScript#_invoke method

Defined Under Namespace

Modules: HostDSL, Invocation, OpsFileScriptDSL, Traversable Classes: AgeEncryption, AgeEncryptionCipher, App, Bundler, Cipher, Cli, Cli2, DirZipper, DirectoryReference, DynamicPackageImportReference, DynamicPackageReference, Error, Git, Host, HostProxy, HostsFile, ImportInvocationContext, ImportReference, Inventory, LoadPath, LocalImportInvocationContext, Namespace, OperationRunner, OpsCmd, OpsFile, OpsFileReference, OpsFileScript, PackageDependencyReference, PackageFile, PackageReference, PublicKey, RemoteImportInvocationContext, RemoteInvocation, RemoteInvocationError, RetriableRemoteInvocationError, RuntimeEnvironment, ScopedMappingInteractionHandler, Secret, SecretRef, SymbolResolutionError

Constant Summary collapse

Style =
Pastel.new(enabled: $stdout.tty?)
DefaultLookbackWindowCharCount =
2000
OPS_GEM =
"$HOME/.local/share/mise/shims/gem"
OPS_CMD =
"$HOME/.local/share/mise/shims/ops"
ExitCodeHostTemporarilyUnavailable =
11
VERSION =
"1.0.113"

Class Method Summary collapse

Class Method Details

.env_specified_age_idsObject



7
8
9
10
# File 'lib/opswalrus/cli.rb', line 7

def self.env_specified_age_ids()
  # ENV['AGE_ID'] || (ENV['OPSWALRUS_AGE_IDS'] && Dir.glob(ENV['OPSWALRUS_AGE_IDS']))
  ENV['OPSWALRUS_AGE_IDS'] && Dir.glob(ENV['OPSWALRUS_AGE_IDS'])
end