Skip to content

Commit

Permalink
Disable production builds for development server
Browse files Browse the repository at this point in the history
  • Loading branch information
Coenego committed Jun 4, 2015
1 parent a5703a5 commit b886b05
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion environments/dev/hiera/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,4 @@
/* Apache directives */
"ghservice::apache::version": "",
"ghservice::apache::enable_basic_auth": "true"

}
1 change: 0 additions & 1 deletion environments/local/hiera/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,4 @@
/* Apache directives */
"ghservice::apache::version": "",
"ghservice::apache::enable_basic_auth": "false"

}
4 changes: 2 additions & 2 deletions modules/ui/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Create a command for generating the production build
$production_build_cmd = hiera('do_production_build') ? {
'true' => 'npm install -d && node ./node_modules/.bin/grunt',
'false' => './etc/scripts/compileCSS.sh',
default => 'true',
'false' => 'npm install -d && node ./node_modules/.bin/grunt exec:compileCSS',
'default' => true
}

class { "::ui::install::${install_method}":
Expand Down

0 comments on commit b886b05

Please sign in to comment.