From: Tony Hirst Date: Thu, 22 Jan 2015 15:06:16 +0000 (+0000) Subject: Set puppet class names to lower case X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=ba8d4676663afcd83f27d04f7dd286cc69eccee5;p=tm351-notebooks.git Set puppet class names to lower case --- diff --git a/Vagrantfile b/Vagrantfile index 61da809..d8819d4 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -27,20 +27,20 @@ Vagrant.configure("2") do |config| /usr/local/lib/node_modules/tty.js/bin/tty.js --port 3000 --daemonize SH - config.vm.define :tm351LTS do |tm351LTS| - tm351LTS.vm.hostname = "tm351LTS" - tm351LTS.vm.provider :virtualbox do |virtualbox| + config.vm.define :tm351lts do |tm351lts| + tm351lts.vm.hostname = "tm351lts" + tm351lts.vm.provider :virtualbox do |virtualbox| virtualbox.name = "tm351LTS-d2-user" #virtualbox.memory = 2048 #virtualbox.cpus = 1 # virtualbox.gui = true end #ipython notebook - tm351LTS.vm.network :forwarded_port, guest: 8888, host: 8888, auto_correct: true + tm351lts.vm.network :forwarded_port, guest: 8888, host: 8888, auto_correct: true #openrefine - tm351LTS.vm.network :forwarded_port, guest: 3334, host: 3334, auto_correct: true + tm351lts.vm.network :forwarded_port, guest: 3334, host: 3334, auto_correct: true #tty.js - tm351LTS.vm.network :forwarded_port, guest: 3000, host: 3000, auto_correct: true + tm351lts.vm.network :forwarded_port, guest: 3000, host: 3000, auto_correct: true end ######### diff --git a/modules/tm351_modules/manifests/box/tm351LTS.pp b/modules/tm351_modules/manifests/box/tm351LTS.pp index 15084ac..c83dce3 100644 --- a/modules/tm351_modules/manifests/box/tm351LTS.pp +++ b/modules/tm351_modules/manifests/box/tm351LTS.pp @@ -1,7 +1,7 @@ #The class defined here will simply start services running and not update any libraries #If you want to run the build script, comment out this class and uncomment the classes below -class tm351_modules::box::tm351LTS { +class tm351_modules::box::tm351lts { file { '/etc/init.d/ipython3-notebook':