Skip to content

Instantly share code, notes, and snippets.

@caseydentinger
Created May 22, 2015 21:41
Show Gist options
  • Save caseydentinger/12b911eec7cb52aa1e0f to your computer and use it in GitHub Desktop.
Save caseydentinger/12b911eec7cb52aa1e0f to your computer and use it in GitHub Desktop.
cdentinger@cdentinger-UX301LAA:~/vagrant$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: puppet/modules/role/settings/fundraising.yaml
no changes added to commit (use "git add" and/or "git commit -a")
cdentinger@cdentinger-UX301LAA:~/vagrant$ git diff
diff --git a/puppet/modules/role/settings/fundraising.yaml b/puppet/modules/role/settings/fundraising.yaml
index 70a9263..8c47b43 100644
--- a/puppet/modules/role/settings/fundraising.yaml
+++ b/puppet/modules/role/settings/fundraising.yaml
@@ -2,4 +2,4 @@ vagrant_ram: 512
# ActiveMQ admin UI
forward_ports:
- 8161: 8161
+ 8161: 8161
cdentinger@cdentinger-UX301LAA:~/vagrant$ git checkout puppet/modules/role/settings/fundraising.yaml
cdentinger@cdentinger-UX301LAA:~/vagrant$ vagrant provision
Vagrant failed to initialize at a very early stage:
There is a syntax error in the following Vagrantfile. The syntax error
message is reproduced below for convenience:
(/home/cdentinger/vagrant/puppet/modules/role/settings/fundraising.yaml): found character that cannot start any token while scanning for the next token at line 5 column 1
cdentinger@cdentinger-UX301LAA:~/vagrant$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment