opswalrus 1.0.4 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,113 +1,113 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opswalrus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Ellis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-16 00:00:00.000000000 Z
11
+ date: 2023-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: citrus
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gli
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '2.21'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '2.21'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: git
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.18'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.18'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubyzip
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '2.3'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '2.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bcrypt_pbkdf
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '1.1'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '1.1'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: ed25519
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '1.3'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '1.3'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sshkit
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '1.21'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: '1.21'
111
111
  description: opswalrus is a tool that runs scripts against a fleet of hosts hosts.
112
112
  It's kind of like Ansible, but aims to be simpler to use.
113
113
  email:
@@ -118,20 +118,20 @@ extensions: []
118
118
  extra_rdoc_files: []
119
119
  files:
120
120
  - ".rspec"
121
+ - Dockerfile
121
122
  - Gemfile
122
123
  - Gemfile.lock
123
124
  - LICENSE
124
125
  - README.md
125
126
  - Rakefile
127
+ - build.ops
126
128
  - exe/ops
127
129
  - lib/opswalrus.rb
128
130
  - lib/opswalrus/app.rb
129
131
  - lib/opswalrus/bootstrap.sh
130
- - lib/opswalrus/bootstrap_linux_host1.sh
131
- - lib/opswalrus/bootstrap_linux_host2.sh
132
- - lib/opswalrus/bootstrap_linux_host3.sh
133
132
  - lib/opswalrus/bundler.rb
134
133
  - lib/opswalrus/cli.rb
134
+ - lib/opswalrus/git.rb
135
135
  - lib/opswalrus/host.rb
136
136
  - lib/opswalrus/hosts_file.rb
137
137
  - lib/opswalrus/interaction_handlers.rb
@@ -150,7 +150,8 @@ files:
150
150
  - opswalrus.gemspec
151
151
  - sig/opswalrus.rbs
152
152
  homepage: https://github.com/opswalrus/opswalrus
153
- licenses: []
153
+ licenses:
154
+ - EPL-2.0
154
155
  metadata:
155
156
  homepage_uri: https://github.com/opswalrus/opswalrus
156
157
  source_code_uri: https://github.com/opswalrus/opswalrus
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # update package list
4
- sudo apt update -y
5
-
6
- # update OS
7
- # sudo DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-confdef" dist-upgrade -q -y --allow-downgrades --allow-remove-essential --allow-change-held-packages
8
-
9
- if [ -f /var/run/reboot-required ]; then
10
- echo 'A system reboot is required!'
11
- sudo reboot
12
- fi
@@ -1,37 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # there are probably some services that need restarting because they're using old libraries, so we'll just do the easy thing and reboot
4
- sudo DEBIAN_FRONTEND=noninteractive apt install -yq needrestart
5
-
6
- # install basic development tools
7
- sudo DEBIAN_FRONTEND=noninteractive apt install -yq build-essential
8
-
9
- # install ruby dependencies
10
- sudo DEBIAN_FRONTEND=noninteractive apt install -yq autoconf patch rustc libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev uuid-dev
11
-
12
- # restart services that need it
13
- sudo needrestart -q -r a
14
-
15
- # vagrant@ubuntu-jammy:~$ sudo needrestart -q -r a
16
- # systemctl restart unattended-upgrades.service
17
-
18
- # vagrant@ubuntu-jammy:~$ sudo needrestart -r l
19
- # Scanning processes...
20
- # Scanning candidates...
21
- # Scanning linux images...
22
- #
23
- # Running kernel seems to be up-to-date.
24
- #
25
- # Services to be restarted:
26
- #
27
- # Service restarts being deferred:
28
- # systemctl restart unattended-upgrades.service
29
- #
30
- # No containers need to be restarted.
31
- #
32
- # No user sessions are running outdated binaries.
33
- #
34
- # No VM guests are running outdated hypervisor (qemu) binaries on this host.
35
-
36
- # reboot just in case
37
- # sudo reboot
@@ -1,21 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # install homebrew
4
- NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
5
- eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
6
-
7
- # install gcc, rust, ruby
8
- brew install gcc
9
- brew install rust
10
- brew install ruby
11
-
12
- # brew install rtx
13
- # eval "$(rtx activate bash)" # register a shell hook
14
- # rtx use -g ruby@3.2 # install ruby via rtx
15
-
16
- # download frum for ruby version management
17
- # curl -L -o frum.tar.gz https://github.com/TaKO8Ki/frum/releases/download/v0.1.2/frum-v0.1.2-x86_64-unknown-linux-musl.tar.gz
18
- # tar -zxf frum.tar.gz
19
- # mv frum-v0.1.2-x86_64-unknown-linux-musl/frum ~/bin
20
- # chmod 755 ~/bin/frum
21
-