Hello,

I would like to use files outside my module, their paths are given as 
parameters of my openldap class, but I have some issues

Issue for files:

In my openldap module, I would like to permit the addition of custom 
schemas without modifying the module. These schemas are files. The idea I 
had was to put them inside the "global" files directory and to declare 
their path as parameters of my class:

* usage example of my class:

node 'default' {
        class { 'openldap':
                         base_dn => 'dc=example,dc=org',
                         custom_schemas => [ 
'puppet:///files/openldap/schemas/my_custom_schema.ldif', ],
        }

* path to my_custom_schema.ldif:

/etc/puppet/files/openldap/schemas/my_custom_schema.ldif

it works, but I have this deprecated warning in my logs that worrying me:

notice: DEPRECATION NOTICE: Files found in modules without specifying 
'modules' in file path will be deprecated in the next major release. 
 Please fix module 'openldap' when no 0.24.x clients are present

I don't know if this message is relevant in my case because my file is not 
inside a module.

I quite new to puppet, I don't know if it's even the best way to do this 
kind of things (I also do this kind of things with templates).

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to