Building puppet agent for ARM - looking for info on config settings

6 views
Skip to first unread message

JonY

unread,
Aug 12, 2019, 8:15:30 PM8/12/19
to Puppet Users
I have some belief that I've successfully assembled the various bits for 'puppet-runtime' (v6.4). Now Im trying to build the puppet-agent (also v6.4).
  
At the end of the runtime build I have these 4 files:

-rw-r--r--  1 pocl root   514 Aug 11 12:53 agent-runtime-6.4.x-201906190.debian-9-arm-bill-of-materials

-rw-r--r--  1 pocl root  2538 Aug 11 12:52 agent-runtime-6.4.x-201906190.debian-9-arm.json

-rw-r--r--  1 pocl root  4752 Aug 11 12:53 agent-runtime-6.4.x-201906190.debian-9-arm.tar.gz

-rw-r--r--  1 pocl root    99 Aug 11 12:53 agent-runtime-6.4.x-201906190.debian-9-arm.tar.gz.sha1


In the agent build files "puppet-agent.rb" appears to be looking for a file called "#{proj.settings[:puppet_runtime_basename]}.settings.yaml'  but I don't see any reference to this in the runtime Makefile. 
Im trying to work around this omission but am wondering what to use for these settings:  


  proj.setting(:puppet_configdir, File.join(proj.sysconfdir, 'puppet'))

  proj.setting(:puppet_codedir, File.join(proj.sysconfdir, 'code'))


  # Target directory for vendor modules

  proj.setting(:module_vendordir, File.join(proj.prefix, 'vendor_modules'))  

Molly Waggett

unread,
Aug 14, 2019, 4:34:26 PM8/14/19
to puppet...@googlegroups.com
Hi!

How are you building puppet-runtime? If you're using a recent version of vanagon, I would expect you to have an agent-runtime-6.4.x-201906190.debian-9-arm.settings.yaml file in addition to the files you listed.

Otherwise, many of the settings used to build puppet-agent (like sysconfdir) are inherited from puppet-runtime here: https://github.com/puppetlabs/puppet-runtime/blob/master/configs/projects/_shared-agent-settings.rb. So you can determine the appropriate values for your other setting from that.

Hope that helps!

--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7359e31b-6fbc-462c-a942-0daf63f56084%40googlegroups.com.


--
Molly Waggett
she/her/hers
Release Engineer @ Puppet, Inc.
Join us for Puppetize PDX 9-10 October.
Reply all
Reply to author
Forward
0 new messages