Remove facter ec2 fact from example file

This is so that the nova example can be built in
ec2.

Currently, it re-reoutes calls to the metadata server
to its own internal server, thus breaking ec2 metadata on
ec2 instances running openstack.

This fact removes the facter source file so that puppet can still
run once a node is in this state.
This commit is contained in:
Dan Bode 2012-03-19 11:17:42 -07:00
parent 6cfb887d8d
commit 265cfb09eb
1 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,13 @@ resources { 'nova_config':
purge => true,
}
# this is a hack that I have to do b/c openstack nova
# sets up a route to reroute calls to the metadata server
# to its own server which fails
file { '/usr/lib/ruby/1.8/facter/ec2.rb':
ensure => absent,
}
node db {
class { 'mysql::server':
config_hash => {