puppet-keystone/tests/site.pp
Iury Gregory Melo Ferreira dbde71b855 Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-Deprecated verbose for logging and init
-Remove verbose in examples and README
-Remove verbose from tests.

If this option is not set explicitly, there is no such warning.

Change-Id: I2f554c07f71458894aaa5d8079285ac92d0f04a3
2016-05-16 11:23:13 -03:00

66 lines
1.6 KiB
Puppet

Exec { logoutput => 'on_failure' }
package { 'curl': ensure => present }
# example of how to build a single node
# keystone instance backed by sqlite
# with all of the default admin roles
node 'keystone_sqlite' {
class { '::keystone':
debug => true,
catalog_type => 'sql',
admin_token => 'admin_token',
}
class { '::keystone::roles::admin':
email => 'example@abc.com',
password => 'ChangeMe',
}
class { '::keystone::endpoint':
public_url => "http://${::fqdn}:5000/",
admin_url => "http://${::fqdn}:35357/",
}
}
node keystone_mysql {
class { '::mysql::server': }
class { '::keystone::db::mysql':
password => 'keystone',
}
class { '::keystone':
debug => true,
database_connection => 'mysql://keystone:keystone@127.0.0.1/keystone',
catalog_type => 'sql',
admin_token => 'admin_token',
}
class { '::keystone::roles::admin':
email => 'test@puppetlabs.com',
password => 'ChangeMe',
}
}
# keystone with mysql on another node
node keystone {
class { '::keystone':
debug => true,
database_connection => 'mysql://keystone:password@127.0.0.1/keystone',
catalog_type => 'sql',
admin_token => 'admin_token',
}
class { '::keystone::db::mysql':
password => 'keystone',
}
class { '::keystone::roles::admin':
email => 'example@abc.com',
password => 'ChangeMe',
}
class { '::keystone::endpoint':
public_url => "http://${::fqdn}:5000/",
admin_url => "http://${::fqdn}:35357/",
}
}
node default {
fail("could not find a matching node entry for ${clientcert}")
}