Created
November 11, 2013 19:48
-
-
Save mattieb/7419220 to your computer and use it in GitHub Desktop.
Puppet manifest for octothorpe development in a Vagrant VM (currently broken)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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