Jira (PUP-10409) Device ignores its own libdir and uses that of the agent instead

7 views
Skip to first unread message

Jonas Verhofsté

unread,
Apr 2, 2020, 8:22:03 PM4/2/20
to puppe...@googlegroups.com
Jonas Verhofsté created an issue
 
Puppet / Bug PUP-10409
Device ignores its own libdir and uses that of the agent instead
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/04/02 5:21 PM
Priority: Normal Normal
Reporter: Jonas Verhofsté

At the beginning of every run, puppet device does it's pluginsync as expected. (to /opt/puppetlabs/puppet/cache/device/$devicename/lib). However, when applying the actual manifest, device suddenly starts using the libdir of the agent (/opt/puppetlabs/puppet/cache/lib), completely ignoring what it had synced seconds ago.

This makes it impossible to use a different puppet-environment than the one of the agent, or to have your individual devices on different environments.

Device does respect its --libdir flag, but that on its turn disables the pluginsync, so that's not a solution in the long run.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Jonas Verhofsté

unread,
Apr 2, 2020, 8:25:03 PM4/2/20
to puppe...@googlegroups.com
Jonas Verhofsté updated an issue
Change By: Jonas Verhofsté
Agent OS: RHEL 7 (x86_64)
Master Config: Monolithic
Affects Version/s: PUP 6.14.0
At the beginning of every run, puppet device does it's pluginsync as expected. (to {{/opt/puppetlabs/puppet/cache/device/$devicename/lib}}). However, when applying the actual manifest, device suddenly starts using the libdir of the agent ({{/opt/puppetlabs/puppet/cache/lib}}), completely ignoring what it had synced seconds ago.


This makes it impossible to use a different puppet-environment than the one of the agent, or to have your individual devices on different environments.

Device does respect its {{--libdir}} flag, but that on its turn disables the pluginsync, so that's not a solution in the long run.


Tested on both RHEL 7 and Debian Jessie.

Josh Cooper (Jira)

unread,
Apr 3, 2020, 11:40:03 AM4/3/20
to puppe...@googlegroups.com

Jonas Verhofsté

unread,
Apr 6, 2020, 7:58:03 PM4/6/20
to puppe...@googlegroups.com
Jonas Verhofsté commented on Bug PUP-10409
 
Re: Device ignores its own libdir and uses that of the agent instead

Hmm, seems like device also uses the environment that is configured for the agent in puppet.conf...

Reply all
Reply to author
Forward
0 new messages