Skip to content

Instantly share code, notes, and snippets.

@kjetilho
Created December 17, 2020 20:51
Show Gist options
  • Save kjetilho/f0f47cbf2822ead2afc3e77c0b41b781 to your computer and use it in GitHub Desktop.
Save kjetilho/f0f47cbf2822ead2afc3e77c0b41b781 to your computer and use it in GitHub Desktop.
plussignment
class a {
file { ['/a', '/b']: }
file{"/xx": ensure => absent, require => File['/a'] }
}
class b inherits a {
File["/xx"]{ require +> File['/b']}
}
include b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment