Skip to content

Commit c50c107

Browse files
committed
refac(function): move to local namespace
1 parent a7fc1a9 commit c50c107

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ facter -p letsencrypt_directory
365365
366366
## Puppet Functions
367367
368-
This module profiles a custom puppet function `letsencrypt_lookup` which allows you to load information about your certificates into puppet.
368+
This module profiles a custom puppet function `letsencrypt::letsencrypt_lookup` which allows you to load information about your certificates into puppet.
369369
This returns the same information as in the facts but for a particular domain. It accepts a single argument for your domain or wildcard domain.
370370
371371
## Development

lib/puppet/functions/letsencrypt_lookup.rb renamed to lib/puppet/functions/letsencrypt/letsencrypt_lookup.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Puppet::Functions.create_function(:letsencrypt_lookup) do
1+
Puppet::Functions.create_function(:'letsencrypt::letsencrypt_lookup') do
22
def letsencrypt_lookup(cn)
33
domain = cn.split('.', 2)[1]
44
wildcard = "*.#{domain}"

0 commit comments

Comments
 (0)