Add missing license files
License check shows missing licenses. This is needed for the package review to add puppet-barbican to OPM. Change-Id: I1ecf714101ae69d0ff620a95ce29750e9403e9c3
This commit is contained in:
parent
a0437e48c4
commit
acdec1b596
lib/puppet
provider
type
spec
acceptance
classes
barbican_api_logging_spec.rbbarbican_api_spec.rbbarbican_client_spec.rbbarbican_config_spec.rbbarbican_db_mysql_spec.rbbarbican_db_postgresql_spec.rbbarbican_db_spec.rbbarbican_keystone_auth_spec.rbbarbican_keystone_authtoken_spec.rbbarbican_keystone_notification_spec.rbbarbican_plugins_dogtag_spec.rbbarbican_plugins_kmip_spec.rbbarbican_plugins_p11_crypto_spec.rbbarbican_plugins_simple_crypto_spec.rbbarbican_policy_spec.rbbarbican_quota_spec.rbbarbican_wsgi_apache_spec.rb
shared_examples.rbspec_helper.rbspec_helper_acceptance.rbunit
provider
type
@ -1,3 +1,20 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
Puppet::Type.type(:barbican_api_paste_ini).provide(
|
Puppet::Type.type(:barbican_api_paste_ini).provide(
|
||||||
:ini_setting,
|
:ini_setting,
|
||||||
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
|
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
Puppet::Type.type(:barbican_config).provide(
|
Puppet::Type.type(:barbican_config).provide(
|
||||||
:openstackconfig,
|
:openstackconfig,
|
||||||
:parent => Puppet::Type.type(:openstack_config).provider(:ruby)
|
:parent => Puppet::Type.type(:openstack_config).provider(:ruby)
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
Puppet::Type.newtype(:barbican_api_paste_ini) do
|
Puppet::Type.newtype(:barbican_api_paste_ini) do
|
||||||
|
|
||||||
ensurable
|
ensurable
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
Puppet::Type.newtype(:barbican_config) do
|
Puppet::Type.newtype(:barbican_config) do
|
||||||
|
|
||||||
ensurable
|
ensurable
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Acceptance test for barbican::api class
|
||||||
|
#
|
||||||
require 'spec_helper_acceptance'
|
require 'spec_helper_acceptance'
|
||||||
describe 'barbican::api basic test class' do
|
describe 'barbican::api basic test class' do
|
||||||
context 'default parameters' do
|
context 'default parameters' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::api::logging class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::api::logging' do
|
describe 'barbican::api::logging' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::api class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::api' do
|
describe 'barbican::api' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::client class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::client' do
|
describe 'barbican::client' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::config class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::config' do
|
describe 'barbican::config' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::db::mysql class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::db::mysql' do
|
describe 'barbican::db::mysql' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::db::postgresql class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::db::postgresql' do
|
describe 'barbican::db::postgresql' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::db class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::db' do
|
describe 'barbican::db' do
|
||||||
|
@ -1,7 +1,22 @@
|
|||||||
#
|
#
|
||||||
# Unit tests for barbican::keystone::auth
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::keystone::auth class
|
||||||
#
|
#
|
||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::keystone::auth' do
|
describe 'barbican::keystone::auth' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::keystone::authtoken class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::keystone::authtoken' do
|
describe 'barbican::keystone::authtoken' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::keystone::notification class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::keystone::notification' do
|
describe 'barbican::keystone::notification' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::plugins::dogtag class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::plugins::dogtag' do
|
describe 'barbican::plugins::dogtag' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::plugins::kmip class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::plugins::kmip' do
|
describe 'barbican::plugins::kmip' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::plugins::p11_crypto class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::plugins::p11_crypto' do
|
describe 'barbican::plugins::p11_crypto' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::plugins::simple_crypto class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::plugins::simple_crypto' do
|
describe 'barbican::plugins::simple_crypto' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::policy class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::policy' do
|
describe 'barbican::policy' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::quota class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::quota' do
|
describe 'barbican::quota' do
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican::wsgi::apache class
|
||||||
|
#
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'barbican::wsgi::apache' do
|
describe 'barbican::wsgi::apache' do
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
shared_examples_for "a Puppet::Error" do |description|
|
shared_examples_for "a Puppet::Error" do |description|
|
||||||
it "with message matching #{description.inspect}" do
|
it "with message matching #{description.inspect}" do
|
||||||
expect { is_expected.to have_class_count(1) }.to raise_error(Puppet::Error, description)
|
expect { is_expected.to have_class_count(1) }.to raise_error(Puppet::Error, description)
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
require 'puppetlabs_spec_helper/module_spec_helper'
|
require 'puppetlabs_spec_helper/module_spec_helper'
|
||||||
require 'shared_examples'
|
require 'shared_examples'
|
||||||
|
|
||||||
|
@ -1 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
require 'puppet-openstack_spec_helper/beaker_spec_helper'
|
require 'puppet-openstack_spec_helper/beaker_spec_helper'
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican_api_paste_ini provider class
|
||||||
|
#
|
||||||
$LOAD_PATH.push(
|
$LOAD_PATH.push(
|
||||||
File.join(
|
File.join(
|
||||||
File.dirname(__FILE__),
|
File.dirname(__FILE__),
|
||||||
|
@ -1,4 +1,22 @@
|
|||||||
#
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican_config provider class
|
||||||
|
#
|
||||||
# these tests are a little concerning b/c they are hacking around the
|
# these tests are a little concerning b/c they are hacking around the
|
||||||
# modulepath, so these tests will not catch issues that may eventually arise
|
# modulepath, so these tests will not catch issues that may eventually arise
|
||||||
# related to loading these plugins.
|
# related to loading these plugins.
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2016 Red Hat Inc. <licensing@redhat.com>
|
||||||
|
#
|
||||||
|
# Author: Ade Lee <alee@redhat.com>
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
#
|
||||||
|
# Unit tests for barbican_api_paste_ini type class
|
||||||
|
#
|
||||||
require 'puppet'
|
require 'puppet'
|
||||||
require 'puppet/type/barbican_api_paste_ini'
|
require 'puppet/type/barbican_api_paste_ini'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user