Had to do something drastic to rename file: git mv --force tm351LTS.pp tm351lts.pp
authorTony Hirst <tony.hirst@gmail.com>
Thu, 22 Jan 2015 15:13:57 +0000 (15:13 +0000)
committerTony Hirst <tony.hirst@gmail.com>
Thu, 22 Jan 2015 15:13:57 +0000 (15:13 +0000)
modules/tm351_modules/manifests/box/tm351LTS.pp [deleted file]
modules/tm351_modules/manifests/box/tm351lts.pp [new file with mode: 0644]

diff --git a/modules/tm351_modules/manifests/box/tm351LTS.pp b/modules/tm351_modules/manifests/box/tm351LTS.pp
deleted file mode 100644 (file)
index c83dce3..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#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 {
-
-  file {
-    '/etc/init.d/ipython3-notebook':
-      source => 'puppet:///modules/tm351_modules/etc/init.d/ipython3-notebook',
-      owner  => root,
-      group  => root,
-      mode   => '0744';
-
-    '/etc/init/ipython3-notebook.conf':
-      source => 'puppet:///modules/tm351_modules/etc/init/ipython3-notebook.conf',
-      owner  => root,
-      group  => root,
-      mode   => '0644';
-  }
-
-  service {
-    'ipython3-notebook':
-      ensure   => running,
-      enable   => true,
-      provider => 'upstart';
-  }
-
-  File['/etc/init.d/ipython3-notebook'] -> Service[ipython3-notebook]
-  File['/etc/init/ipython3-notebook.conf'] -> Service[ipython3-notebook]
-  
-  service {
-    'mongodb': ensure => running;
-  }
-
-  file {
-    '/root/postgresql.setup':
-      source => 'puppet:///modules/tm351_modules/root/postgresql.setup',
-      owner  => root,
-      group  => root,
-      mode   => '0744';
-  }
-  
-  exec {
-    'setup-postgresql':
-      cwd     => '/root',
-      command => '/root/postgresql.setup',
-      creates => '/root/postgresql.done',
-         require => Service['postgresql'];
-  }
-
-  service {
-    'postgresql':
-      require=>File['/root/postgresql.setup'],
-      ensure => running,
-      enable => true;
-  }
-
-
-}
-
diff --git a/modules/tm351_modules/manifests/box/tm351lts.pp b/modules/tm351_modules/manifests/box/tm351lts.pp
new file mode 100644 (file)
index 0000000..c83dce3
--- /dev/null
@@ -0,0 +1,59 @@
+#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 {
+
+  file {
+    '/etc/init.d/ipython3-notebook':
+      source => 'puppet:///modules/tm351_modules/etc/init.d/ipython3-notebook',
+      owner  => root,
+      group  => root,
+      mode   => '0744';
+
+    '/etc/init/ipython3-notebook.conf':
+      source => 'puppet:///modules/tm351_modules/etc/init/ipython3-notebook.conf',
+      owner  => root,
+      group  => root,
+      mode   => '0644';
+  }
+
+  service {
+    'ipython3-notebook':
+      ensure   => running,
+      enable   => true,
+      provider => 'upstart';
+  }
+
+  File['/etc/init.d/ipython3-notebook'] -> Service[ipython3-notebook]
+  File['/etc/init/ipython3-notebook.conf'] -> Service[ipython3-notebook]
+  
+  service {
+    'mongodb': ensure => running;
+  }
+
+  file {
+    '/root/postgresql.setup':
+      source => 'puppet:///modules/tm351_modules/root/postgresql.setup',
+      owner  => root,
+      group  => root,
+      mode   => '0744';
+  }
+  
+  exec {
+    'setup-postgresql':
+      cwd     => '/root',
+      command => '/root/postgresql.setup',
+      creates => '/root/postgresql.done',
+         require => Service['postgresql'];
+  }
+
+  service {
+    'postgresql':
+      require=>File['/root/postgresql.setup'],
+      ensure => running,
+      enable => true;
+  }
+
+
+}
+