Remove devstack_host puppet module

The spec:
http://specs.openstack.org/openstack-infra/infra-specs/specs/puppet-modules.html

Change-Id: Ie6dc7a8e745b9446c0ecc7d56cafd17b49c060a6
This commit is contained in:
Mikhail S Medvedev 2015-01-29 09:40:04 -06:00
parent 28763cb29b
commit 535b56d663
2 changed files with 0 additions and 45 deletions

View File

@ -1,4 +0,0 @@
# This file is managed by puppet
# Use localhost in the node name so that we don't need to
# touch /etc/hosts or use dns
NODENAME=rabbit@localhost

View File

@ -1,41 +0,0 @@
# == Class: devstack_host
#
# A machine ready to run devstack
class devstack_host {
package { 'linux-headers-virtual':
ensure => present,
}
package { 'mysql-server':
ensure => present,
}
package { 'rabbitmq-server':
ensure => present,
require => File['/etc/rabbitmq/rabbitmq-env.conf'],
}
file { '/etc/rabbitmq':
ensure => directory,
}
file { '/etc/rabbitmq/rabbitmq-env.conf':
ensure => present,
group => 'root',
mode => '0444',
owner => 'root',
require => File['/etc/rabbitmq'],
source => 'puppet:///modules/devstack_host/rabbitmq-env.conf',
}
# TODO: We should be using existing mysql functions do this.
exec { 'Set MySQL server root password':
command => 'mysqladmin -uroot password secret',
path => '/bin:/usr/bin',
refreshonly => true,
subscribe => Package['mysql-server'],
unless => 'mysqladmin -uroot -psecret status',
}
}
# vim:sw=2:ts=2:expandtab:textwidth=79