Skip to content

Instantly share code, notes, and snippets.

@supercow
Created September 25, 2012 22:30
Show Gist options
  • Save supercow/3784859 to your computer and use it in GitHub Desktop.
Save supercow/3784859 to your computer and use it in GitHub Desktop.
file { 'long_ass_filename':
ensure => file,
path => '/var/www/some/really/freaking/long/path/name/do_you_want_to_repeat.html',
}
service { 'some_service':
ensure => running,
subscribe => File['long_ass_filename'],
}
file { '/var/www/some/really/freaking/long/path/name/do_you_want_to_repeat.html':
ensure => file,
}
service { 'some_service':
ensure => running,
subscribe => File['/var/www/some/really/freaking/long/path/name/do_you_want_to_repeat.html'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment