Hi Guys,

My manifest code looks pretty much like below:

------------
  exec { 'sync-business-logic':
    path           => "/usr/bin:/bin:${bl_path}",
    cwd           => $bl_path,
    command   => 'sync-bl.pl',
    refreshonly => true,
    subscribe   => File[$sync_bl_files],
  }

  file { $sync_bl_files:
    ensure  => file,
    require => Package[$dpx::package_name],
  }
-------------

As you can see, my File[$sync_bl_files] resource does not have any source, 
because these files are installed by a package. These files change with a 
new version of the package. What I need is to be able to refresh the 
Exec['sync-business-logic'] resource when $sync_bl_files change.

It does not seem to work if there is no "source =>" specified.

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/8HftW4tMIKIJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to