Skip to content

Commit db6f436

Browse files
author
Gabriel Monroy
committed
set devmode to true for Vagrant controller
1 parent 8b69f4b commit db6f436

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Berksfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"deis": {
1313
"locked_version": "0.3.0",
1414
"git": "https://github.com/opdemand/deis-cookbook.git",
15-
"ref": "33acc37909a4e57ed0728fa0fd7384ff2c1234fa"
15+
"ref": "1a568da5e40e4dd0a47772fe1cb4657313a616f6"
1616
}
1717
}
1818
}

contrib/vagrant/provision-controller.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,8 @@ if [ $? -eq 0 ]; then
118118
fi
119119
popd
120120

121+
echo_color "Setting devmode flag on 'deis-controller'..."
122+
knife exec -E 'nodes.transform("name:deis-controller") {|n| n.normal_attrs["deis"]["devmode"] = true; n.save }
123+
121124
# Need Chef admin permission in order to add and remove nodes and clients
122125
echo -e "\033[35mPlease ensure that \"deis-controller\" is added to the Chef \"admins\" group.\033[0m"

0 commit comments

Comments
 (0)