Skip to content

Instantly share code, notes, and snippets.

@thattommyhall
Last active October 5, 2015 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thattommyhall/3facc6f6d9ae5e194dec to your computer and use it in GitHub Desktop.
Save thattommyhall/3facc6f6d9ae5e194dec to your computer and use it in GitHub Desktop.
WTF Puppet
file { '/etc/sphinxsearch/sphinx.conf':
ensure => link,
target => "${cm_path}/sphinx/sphinx.conf",
notify => Service['sphinxsearch'],
require => Package['sphinxsearch'],
}
$cm_path = "/cgi-perl/cm"
$cm_path = "/cgi-perl/cm"
file { '/etc/sphinxsearch/sphinx.conf':
ensure => link,
target => "${cm_path}/sphinx/sphinx.conf",
notify => Service['sphinxsearch'],
require => Package['sphinxsearch'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment