Contextual is an idea that a few friends of mine and I were prototyping but it turned out that there was a patent on the idea.
All the code will be added to github just for reuse purposes. Any feedback on how to improve this is welcome, i'm new to it and trying to learn.
To use this environment you will need:
Download and install vagrant from here
Download and install VirtualBox from here
-
-
Ensure you have ruby installed by typing this command in the terminal.
ruby -v
If it doesnt give you a ruby version then you can download and install ruby from here
-
Simply enter this command in the terminal.
-
Install gems
Simply enter this command in the terminal.
bundle install
-
-
Run librarian-puppet
Run the command from this cloned projects directory in the terminal.
bundle exec librarian-puppet install
-
When all of the requirements are install, all you have to do to run the project is go to the directory in the terminal and run:
vagrant up
-
To delete everything after doing a vagrant up do a
vagrant destroy
-
If you make a change to a .pp file and want to test it do a
vagrant provision
-
If you make a change to the vagrant file do a
vagrant reload --provision
and as always Google is your friend.