diff --git a/src/builder.rs b/src/builder.rs index ef00da2..fddb7fa 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -137,13 +137,13 @@ impl ImplementationBuilder> for DefaultBuilder { Cert(resource.0.clone()) } - type Implementation = ConcatSymbol<[Rc; 1], Rc, Rc>; + type Implementation = (); fn create( _resource: &CertChain, - target: & as Resource>::Artifact, - cert: ::Artifact, + _target: & as Resource>::Artifact, + _cert: ::Artifact, ) -> Self::Implementation { - ConcatSymbol::new([cert.clone_rc()], target.clone_rc()) + () } } diff --git a/src/locator.rs b/src/locator.rs index a1b139e..277566b 100644 --- a/src/locator.rs +++ b/src/locator.rs @@ -90,17 +90,11 @@ impl> ResourceLocator> for DefaultLocator

{ } impl> ResourceLocator> for DefaultLocator

{ - type Prerequisites = Dir>; + type Prerequisites = >>::Prerequisites; fn locate( resource: &CertChain, ) -> ( as Resource>::Artifact, Self::Prerequisites) { - ( - PathArtifact::from(format!( - "/etc/ssl/local_certs/{}.chained.crt", - resource.0.as_ref() - )), - Dir::new("/etc/ssl/local_certs"), - ) + >>::locate(&Cert(&resource.0)) } }