ahalogy-automation 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +44 -0
- data/TODO +4 -7
- data/ahalogy-automation.gemspec +2 -2
- data/bin/a5y-configure +3 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7162d2d7d19c2f758cceeebfc3bf7b71d688327c
|
4
|
+
data.tar.gz: 303c229d89f2f3f298f4e8892ce8804ed4f89c2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfcb69d6be95208dea1793430906a47124ccb9772a04854436bef80d9cbb722900828093fdf925957de5f10afd58dd0173200734fa871d115e383ed0ffb36163
|
7
|
+
data.tar.gz: 6a0ad6e9e143b16838f69147a19c8f038591098416157a8b612cbf33892318277f9cdd4e1792d269ba012adc21c18f647ba3a232af72cb05fa2918286ad3d41d
|
data/README.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# it-automation
|
2
|
+
Scripts for setting up user machines
|
3
|
+
|
4
|
+
This script is to be used for automated builds of new machines and updating existing machines. There are several groups and options to tailor the build for the correct user. The script installs the standard package of applications plus any group specific apps required. The available groups are developer, pinner, cs, designer, and systems-manager. Additionally, it can install the remote client for the systems manager, turn on FileVault, add your ssh key to your GitHub account, and install a local version of Xcode instead of our hosted current release.
|
5
|
+
|
6
|
+
Xcode CLI is required to run this script. This can be accomplished by:
|
7
|
+
|
8
|
+
`xcode-select --install`
|
9
|
+
|
10
|
+
This script is available as a gem and can be installed by:
|
11
|
+
|
12
|
+
`sudo gem install ahalogy-automation`
|
13
|
+
|
14
|
+
or updated
|
15
|
+
|
16
|
+
`sudo gem update ahalogy-automation`
|
17
|
+
|
18
|
+
The script requires sudo and can be run by:
|
19
|
+
|
20
|
+
`sudo a5y-configure`
|
21
|
+
|
22
|
+
This runs the default settings for a general user. No group specific apps are installed and it is not enrolled in the systems manager.
|
23
|
+
|
24
|
+
The script can be run for various groups by running:
|
25
|
+
|
26
|
+
`sudo a5y-configure --group`
|
27
|
+
|
28
|
+
Groups include `developer, pinner, cs, designer, systems-manager, and all`.
|
29
|
+
|
30
|
+
With it is the first run on a machine, the group `--systems-manager` should be used to install the systems manager remote client.
|
31
|
+
|
32
|
+
Several options can also be appended to the command.
|
33
|
+
|
34
|
+
`--skip-filevault` Skip configuration of FileVault.
|
35
|
+
|
36
|
+
`--skip-github` Skip configuration of GitHub sshkey.
|
37
|
+
|
38
|
+
`-a` or `--ask` Ask to confirm settings stored in settings database.
|
39
|
+
|
40
|
+
`--xcode FILE` Use local xcode dmg file for install.
|
41
|
+
|
42
|
+
`-d` or `--debug` Enable debug messaging.
|
43
|
+
|
44
|
+
`-b` or `--battery` Enable battery mode(temporarily suspends sleep).
|
data/TODO
CHANGED
@@ -1,8 +1,5 @@
|
|
1
|
-
features:
|
2
|
-
|
3
|
-
|
4
|
-
- add local vimrc section so user customizations are not clobbered
|
5
|
-
- add sshkey generated to github account
|
6
|
-
- automatically clone required repos for developers (?)
|
1
|
+
features:in
|
2
|
+
Need to add a way to manage filevault recovery keys that removes end users from having to remember a password or save a recovery key. Either an institutional key needs to be added (but not viewable in the script code) or store the personal key that is generated in a secure bucket.
|
3
|
+
Also pow seems to be a bit convoluted, maybe install it without brew or at least automate the rest of the set up steps now that the script is run with sudo
|
7
4
|
issues:
|
8
|
-
|
5
|
+
|
data/ahalogy-automation.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'ahalogy-automation'
|
3
|
-
gem.version = '0.0.
|
3
|
+
gem.version = '0.0.7'
|
4
4
|
gem.licenses = ['MIT']
|
5
|
-
gem.date = '2015-
|
5
|
+
gem.date = '2015-06-26'
|
6
6
|
gem.summary = 'Scripts to handle IT automation.'
|
7
7
|
gem.description = 'Scripts that install applications on Ahalogy Mac computers.'
|
8
8
|
gem.authors = ['Zan Loy', 'Brian Cerchio']
|
data/bin/a5y-configure
CHANGED
@@ -229,6 +229,8 @@ begin
|
|
229
229
|
mkdir '~/.nvm'
|
230
230
|
add_line_to_file '~/.zshrc', 'export NVM_DIR=~/.nvm'
|
231
231
|
add_line_to_file '~/.zshrc', 'source $(brew --prefix nvm)/nvm.sh'
|
232
|
+
# install ember-cli
|
233
|
+
run_cmd 'npm install -g ember-cli', 'Installing ember-cli...'
|
232
234
|
# Setup pow
|
233
235
|
unless File.directory? File.expand_path('~/Library/Application Support/Pow/Hosts')
|
234
236
|
run_cmd 'mkdir -p ~/Library/Application\ Support/Pow/Hosts', 'Creating support directory for pow hosts...'
|
@@ -263,7 +265,7 @@ begin
|
|
263
265
|
|
264
266
|
# Sets power settings to default profiles
|
265
267
|
if options[:battery_mode]
|
266
|
-
unless options[:groups].include? :developer
|
268
|
+
unless options[:groups].include? :developer
|
267
269
|
run_cmd 'pmset -c 2 -b 1 -u 1', 'Restoring sleep defaults.'
|
268
270
|
end
|
269
271
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ahalogy-automation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zan Loy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colorize
|
@@ -108,6 +108,7 @@ executables:
|
|
108
108
|
extensions: []
|
109
109
|
extra_rdoc_files: []
|
110
110
|
files:
|
111
|
+
- README.md
|
111
112
|
- Rakefile
|
112
113
|
- TODO
|
113
114
|
- ahalogy-automation.gemspec
|