~orchestra-puppet-recipes/orchestra-puppet-recipes/trunk

« back to all changes in this revision

Viewing changes to puppet/modules/orchestra-debconf/manifests/set_selections.pp

  • Committer: Juan L. Negron
  • Date: 2011-06-08 03:51:05 UTC
  • Revision ID: juan.negron@canonical.com-20110608035105-3tce48dbcrfytj6p
* puppet/modules/orchestra-debconf/manifests/set_selections.pp:
  - Applying patch by Adam Gandelman <adam.gandelman@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
  exec{ "${name}":
5
5
    command => "/bin/echo debconf ${selection} ${value_type} ${value} | /usr/bin/debconf-set-selections",
6
6
    require => Package["debconf"],
 
7
    unless => "/usr/bin/debconf-get-selections | /bin/egrep 'debconf[[:space:]]+${selection}+[[:space:]]+${value_type}+[[:space:]]+${value}'",
7
8
  }
8
9
9
10