Ask Your Question

Revision history [back]

You should take a look at theMetaparameter Reference

If I am understanding you correctly, something like this show work:

file { 'includefile':
  ensure => present,
  content => template('foo/bar.erb')
}

zonefiledefine { 'zone':
  ensure => 'present',
  content => 'foo',
  subscribe => File['includefile']
}

This is assuming that I understand your dilemma.

You should take a look at thethe Metaparameter Reference

If I am understanding you correctly, something like this show work:

file { 'includefile':
  ensure => present,
  content => template('foo/bar.erb')
}

zonefiledefine { 'zone':
  ensure => 'present',
  content => 'foo',
  subscribe => File['includefile']
}

This is assuming that I understand your dilemma.