Puppet Version: 5.5.3
Puppet Server Version: 5.3.4
OS Name/Version: Ubuntu 16.04
There is one puppet environment "production" with the the stdlib module. There is another puppet environment accountmanagement without the stdlib module. The command "puppet module list" lists all modules in the production environment and no modules in
/etc/puppetlabs/code/modules (no modules installed)
/opt/puppetlabs/puppet/modules (no modules installed)
In the environment accountmanagement I'm trying to use the function file_line from the stdlib module. The catatalog compiles successfully and the agent produces no error but also shows no hint regarding the file_line resource in the puppet code.
After adding the stdlib module to the puppet environment accountmanagement all works fine.
The basemodulepath looks fine and is default.
root@machine123:~# puppet config print basemodulepath
The desired behavior is getting an error during compilation of the catalog with the stdlib module.
The current behavior is that puppet compiles and executes a catalog with a resource file_line without any trace in debug or error.