Skip to content

Script to build Puppet modules which can then be imported into Katello

Notifications You must be signed in to change notification settings

bilkoh/build-puppet-modules-for-katello

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

build-puppet-modules-for-katello

Script to build local Puppet modules which can then be imported in to Katello. No need for Git repository or Puppet Forge.

Katello Repository

A Katello repository may be a plain directory containing a Pulp manifest and packaged Puppet modules. According to the Pulp project documentation, the Pulp manifest is a file listing each Puppet module contained in the directory. Each module is listed on a separate line which has the following format: name,checksum,size.

The name is the file name, the checksum is SHA256 digest of the file, and the size is the size of the file in bytes. The Pulp manifest must be named PULP_MANIFEST.

Having this knowledge, we can build Puppet modules manually, generate a Pulp manifest and import everything in to Katello.

Katello Separate Lifecycle for Puppet Modules

https://www.lisenet.com/2018/katello-separate-lifecycle-for-puppet-modules/

bilk0h's fork

The guide on Lisenet was designed was designed for puppet 5.x but I was running 6.16.0. Puppet 6.x uses pdk build instead of puppet module build. If anyone else following the guide was in my position, this will work for you instead.

About

Script to build Puppet modules which can then be imported into Katello

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%