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
require 'spec_helper' | |
describe 'quantum::plugins::cisco' do | |
let :pre_condition do | |
"class { 'quantum::server': auth_password => 'password'}" | |
end | |
let (:params_required) { | |
{ :keystone_username => 'quantum', |
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
--- | |
:backends: | |
- yaml | |
:yaml: | |
:datadir: /etc/puppet/data/hiera_data | |
:hierarchy: | |
- "hostname/%{hostname}" | |
- "client/%{clientcert}" | |
- user | |
- "user.%{scenario}" |
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
define galera::validate( | |
$user, | |
$password, | |
$host, | |
$retries = 10, | |
$delay = 10, | |
$action = 'select user,host from mysql.user;' | |
$catch = 'ERROR' | |
) | |
{ |
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 openstacklib::openstack::regions( | |
$regions_hash, | |
$keystone_user_pw, | |
$nova_user_pw, | |
$neutron_user_pw, | |
$glance_user_pw, | |
$heat_user_pw, | |
$cinder_user_pw, | |
$ceilometer_user_pw | |
$admin_email = 'openstack@localhost', |
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
[root@control1 ~]# puppet apply testing.pp | |
Notice: Compiled catalog for control1.domain.name in environment production in 1.07 seconds | |
Notice: /Stage[main]/Openstacklib::Openstack::Regions/Openstacklib::Openstack::Region_auth[RegionOne]/Openstacklib::Openstack::Service_auth[RegionOne/cinder]/Keystone_service[cinder]/ensure: created | |
Notice: /Stage[main]/Openstacklib::Openstack::Regions/Openstacklib::Openstack::Region_auth[RegionOne]/Openstacklib::Openstack::Service_auth[RegionOne/cinder]/Keystone_endpoint[RegionOne/cinder]/ensure: created | |
Notice: /Stage[main]/Openstacklib::Openstack::Regions/Openstacklib::Openstack::Region_auth[shared]/Openstacklib::Openstack::Service_auth[shared/cinder]/Keystone_endpoint[shared/cinder]/ensure: created | |
Notice: /Stage[main]/Openstacklib::Openstack::Regions/Openstacklib::Openstack::Region_auth[RegionOne]/Openstacklib::Openstack::Service_auth[RegionOne/neutron]/Keystone_service[neutron]/ensure: created | |
Notice: /Stage[main]/Openstacklib::Openstack::Regions/Openstacklib::Openstack: |
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
[root@localhost ~]# puppet apply test.pp | |
Notice: Scope(Backends[volume]): ceph2 lvm1 ceph1 | |
Notice: Compiled catalog for localhost.localdomain.domain.name in environment production in 0.03 seconds | |
Notice: Finished catalog run in 0.05 seconds |
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
[root@control1 ~]# puppet apply test.pp | |
Notice: Compiled catalog for control1.domain.name in environment production in 0.09 seconds | |
Notice: /Stage[main]/Main/Nova_aggregate[test_agg]/ensure: created | |
Notice: Finished catalog run in 3.08 seconds | |
[root@control1 ~]# nova aggregate-remove-host test_agg compute1 | |
Host compute1 has been successfully removed from aggregate 3 | |
+----+----------+-------------------+-------+-------------------------+ | |
| Id | Name | Availability Zone | Hosts | Metadata | | |
+----+----------+-------------------+-------+-------------------------+ | |
| 3 | test_agg | - | | 'gpu=False', 'ssd=True' | |
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
apache::vhost { 'blah': | |
} | |
if $::osfamily == 'RedHat' { | |
File<| title == '/var/log/httpd' |> { | |
owner => 'apache' | |
group => 'apache' | |
} | |
} |
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
~ | |
~ | |
1,1 All | |
# mirror-dstdomain.conf | |
# | |
# network destinations that are allowed by this cache | |
# default ubuntu and ubuntu country archive mirrors | |
.archive.ubuntu.com | |
ports.ubuntu.com |
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
Monday: | |
Tristan: Morning | |
Kavit: Morning | |
** redacted ** | |
Tuesday: | |
Tristan: Morning | |
Kavit: Morning |
OlderNewer