Permalink
Browse files

use basic layer package options instead of relying on the install hook.

  • Loading branch information...
1 parent e662e95 commit c66183ce52e9cefe188af32facf5929406aacce5 @kwmonroe kwmonroe committed Jan 12, 2016
Showing with 7 additions and 3 deletions.
  1. +7 −0 layer.yaml
  2. +0 −3 reactive/ubuntu-devenv.py
View
@@ -1 +1,8 @@
includes: ['layer:basic', 'interface:java']
+options:
+ basic:
+ packages:
+ - bzr
+ - cvs
+ - git
+ - subversion
@@ -10,7 +10,4 @@
@hook('install')
def install():
- ''' Install VCS tooling '''
- status_set('maintenance', 'Installing VCS tools')
- check_call(['apt-get', 'install', '-y', 'bzr', 'cvs', 'git', 'subversion'])
status_set('active', 'Ubuntu Dev Env ready!')

0 comments on commit c66183c

Please sign in to comment.