bartavelle / language-puppet

A library to work with Puppet manifests, test them and eventually replace everything ruby.
BSD 3-Clause "New" or "Revised" License
51 stars 8 forks source link

Enable else after unless keyword #280

Closed jfroche closed 5 years ago

jfroche commented 5 years ago

example:

node default  {
  $bar = true
  unless $bar {
    $foo = 'present'
  } else {
    $foo = 'absent'
  }
}