-#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;
- }
-
-
-}
-