Good day, I am attempting to create a profile manifest for installation of one of our windows applications. The application upon install creates multiple services and equivalent exe. The current structure we use is as shown below
class profile::application { ## Install application package package { 'application': ensure => installed, source => //server/share/application.msi, } -> file {'C:/Program Files (x86)/application/app1.exe': ensure => present, } ~> service {'app1': ensure => 'running', enable => true, } } This is our normal, however since this application creates multiple exe and services I need to ensure all are present and running. But want to ensure all files are present before moving to the service. class profile::application { ## Install application package package { 'application': ensure => installed, source => //server/share/application.msi, } -> file {'C:/Program Files (x86)/application/app1.exe': ensure => present, } file {'C:/Program Files (x86)/application/app2.exe': ensure => present, } ~> service {'app1': ensure => 'running', enable => true, } service {'app2': ensure => 'running', enable => true, } } If I were to do it the way above will it ensure all files are present then move to service validation or ensure app2.exe is present then move to services? Any help or guidance is appreciated. Thank you -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/fd7208e9-d711-4600-9b49-41742e03065f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.