ADD TEST MODULE FILES

* gemfile and gemfile.lock to handle puppetlabs_spec_helper dependencies

* rakefile for the same

* testing init.pp and and file.erb
ADD Gemfile and Gemfile.lock TO USERS MODULE
ADD puppetlabs_spec_helper TO REPO
REMOVE guard-rspec FROM GEMFILE AND ADD guard-rake

now using 'bundle exec rake spec' instead of 'bundle exec rspec spec'. rakefile now takes
care of tasks and so guard needs to be able to run 'rake' instead of 'rspec'
UPDATE Gemfile AND Rakefile FOR USERS MODULE

* guard is now running 'rake' and not 'rspec'. rake now takes care of running rspec

* added puppetlabs_spec_helper to add colour, assist with adding/deleting site.pp

* unable to get puppetlabs_spec_helper to load from file so added the git repo url

* stopped the rakefile from running tests. it now forwards to puppetlabs_spec_helper
first stab at creating a defined type

tests work, but nodes are unable to compile it - unable to find class errors
CREATE_RESOURCES NOW WORKING WITH HIERA HASH

after much consternation. compilation errors were being thrown because of a hard tab in the hiera data. which was obviously invisible. error

Error: malformed format string - %S at /tmp/vagrant-puppet-1/modules-0/users/manifests/accounts.pp:3 on node

helpful - considering the error states the string is in the manifest.pp when it is in fact, in the hiera file.

TODO * refactor the module to be the right way around. init.pp should call the subclass, not the other way around.
refactor users class-init.pp now calls accounts.pp
UPGRADE HOSTS MODULE

tests fail but module works on vagrant box

TODO * fix tests
Merge branch 'master' into mod-hosts
UPDATE HOSTS MODULE WITH TESTS, DEFINED TYPE ETC

add test - but still unable to test for existence of the class. we can only test for existence of (mocked) created resources.

hiera-ified

use create_resources to itterate over the creation of resources pulled from hiera
UPDATE REPOS  MODULE WITH TESTS, DEFINED TYPE ETC
UPDATE REPOS  MODULE WITH TESTS, DEFINED TYPE ETC
UPDATE MAN MODULE. USED .fixtures.yml & LOCAL GEM

use .fixtures.yml file to auto load the stdlib module when running test. this negates the need to clone it from github.com each time the test is run.

alter Gemfile to find the rspec-puppet gem locally instead of trying to clone it from the interwebs on first use. currently pointing to a .bundler path.

TODO git clone the rspec-puppet gem into somewhere suitable and point the gemfile there instead of the .bundler folder. or maybe not?? - see if the .bundler folder dynamially changes on update.
UPDATED NTP CLASS TESTS, GEMS, RAKE & .FIXTURES
UPDATED VMWARETOOLS MODULE WITH ALL THE GOODNES
update base and site.pp's
ADD $update VARIABLE TO THE NTP MODULE
Merge branch 'master' into mod-ntp
Merge branch 'master' into mod-ntp