diff --git a/.fixtures.yml b/.fixtures.yml index cac4d89..e3b2f23 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -1,7 +1,6 @@ fixtures: repositories: stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git" - remote_file: "https://github.com/lwf/puppet-remote_file.git" puppet_archive: "https://github.com/voxpupuli/puppet-archive.git" symlinks: ca_cert: "#{source_dir}" diff --git a/spec/defines/ca_spec.rb b/spec/defines/ca_spec.rb index 2fbb35b..b9e66fb 100644 --- a/spec/defines/ca_spec.rb +++ b/spec/defines/ca_spec.rb @@ -138,7 +138,7 @@ end it { - is_expected.to contain_remote_file(DEBIAN_CA_FILE).with( + is_expected.to contain_archive(DEBIAN_CA_FILE).with( 'ensure' => 'present', 'source' => HTTP_URL, ) @@ -199,7 +199,7 @@ end it { - is_expected.to contain_remote_file(REDHAT_CA_FILE).with( + is_expected.to contain_archive(REDHAT_CA_FILE).with( 'ensure' => 'present', 'source' => HTTP_URL, ) @@ -243,7 +243,7 @@ end it { - is_expected.to contain_remote_file(DISTRUSTED_REDHAT_CA_FILE).with( + is_expected.to contain_archive(DISTRUSTED_REDHAT_CA_FILE).with( 'ensure' => 'present', 'source' => HTTP_URL, ) @@ -270,7 +270,7 @@ end it { - is_expected.to contain_remote_file(SUSE_11_CA_FILE).with( + is_expected.to contain_archive(SUSE_11_CA_FILE).with( 'ensure' => 'present', 'source' => SUSE_11_HTTP_URL, ) @@ -344,7 +344,7 @@ end it { - is_expected.to contain_remote_file(SUSE_12_CA_FILE).with( + is_expected.to contain_archive(SUSE_12_CA_FILE).with( 'ensure' => 'present', 'source' => HTTP_URL, ) @@ -390,7 +390,7 @@ end it { - is_expected.to contain_remote_file(DISTRUSTED_SUSE_12_CA_FILE).with( + is_expected.to contain_archive(DISTRUSTED_SUSE_12_CA_FILE).with( 'ensure' => 'present', 'source' => HTTP_URL, )