Skip to content

Instantly share code, notes, and snippets.

@mattieb
Created November 11, 2013 19:48
Show Gist options
  • Save mattieb/7419220 to your computer and use it in GitHub Desktop.
Save mattieb/7419220 to your computer and use it in GitHub Desktop.
Puppet manifest for octothorpe development in a Vagrant VM (currently broken)
class {'asterisk':
configs => false,
}
file {'/etc/asterisk':
require => Class['asterisk'],
ensure => link,
target => '/vagrant/etc/asterisk',
force => true,
}
service {'asterisk':
require => Class['asterisk'],
ensure => running
}
package { 'epel-release':
provider => rpm,
source => 'http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm',
ensure => installed,
}
->
yumrepo { 'epel':
enabled => 1,
includepkgs => 'python-virtualenv python-pip', # others can conflict with asterisk
}
package { 'python-virtualenv':
require => Yumrepo['epel'],
ensure => installed,
}
package { 'python-pip':
require => Yumrepo['epel'],
ensure => installed,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment