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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdc168a7279aa4fcb35e1c3b46169e79501ab5ad
4
- data.tar.gz: a897a503f1d6153abf3459905cafe126fbdf3194
3
+ metadata.gz: 7162d2d7d19c2f758cceeebfc3bf7b71d688327c
4
+ data.tar.gz: 303c229d89f2f3f298f4e8892ce8804ed4f89c2a
5
5
  SHA512:
6
- metadata.gz: 2165a93ed5c000147b22a3b9ba7e0fe4b4f0c478b92a76029f5512acd35684e0cd83c81853b17b55e0c8843e4b5fcd47568c2fedabb00929f321db4a0726b3dd
7
- data.tar.gz: e5a3989b717a68c7f29b2ad4ad7fed561894f945ea6aaebe99151f4b8f633a41e788c94209316352cbeb76ced7b644668ff74c1d9ffd9e9bdbf5f8205ad398dd
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
- - add pinner group apps
3
- - complete configuration of backblaze
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
- - vim not finding colorscheme on first run
5
+
@@ -1,8 +1,8 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'ahalogy-automation'
3
- gem.version = '0.0.6'
3
+ gem.version = '0.0.7'
4
4
  gem.licenses = ['MIT']
5
- gem.date = '2015-05-27'
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, :designer
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.6
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-05-27 00:00:00.000000000 Z
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