Skip to content

Commit

Permalink
fix rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
g.chouet committed Dec 1, 2023
1 parent 5ebb11d commit bb00bdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/credentials_secret_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@

class Chef
class Resource::JenkinsSecretFileCredentials < Resource::JenkinsUserCredentials
resource_name :jenkins_secret_file_credentials # Still needed for Chef 15 and below
provides :jenkins_secret_file_credentials

attribute :description,
kind_of: String,
default: lazy { |new_resource| "Credentials for #{new_resource.filename} - created by Chef" }
Expand All @@ -38,7 +41,6 @@ class Resource::JenkinsSecretFileCredentials < Resource::JenkinsUserCredentials

class Chef
class Provider::JenkinsSecretFileCredentials < Provider::JenkinsUserCredentials
resource_name :jenkins_secret_file_credentials # Still needed for Chef 15 and below
provides :jenkins_secret_file_credentials

def load_current_resource
Expand Down

0 comments on commit bb00bdb

Please sign in to comment.