Skip to content

Provides a tree view of Puppet Modules according to Puppet's Roles-Profiles-Pattern

License

Notifications You must be signed in to change notification settings

booboo-at-gluga-de/puppet-modules-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

puppet-modules-graph

Provides a tree view of Puppet Modules according to Puppet's Roles-Profiles-Pattern

If you are using the Roles-Profiles-Pattern for assigning Puppet modules to you systems, you might be looking for a simple overview:

Which role includes which profiles? And which (leaf) modules are used in these profiles?

This little script looks for exactly these informations and displays a tree on the console.

Call the script without any parameters if your current working directory (cwd) is your modules directory. Otherwise give the path of your modules directory as the only parameter:

~# ./puppet-modules-graph ~/puppet-modules

role::owncloud_server
|
+--profile::gallien_common
|      class 'gallien_default_users'
|      class 'openssh'
|      class 'trusted_certs' 
|      class 'send_nsca'
|
+--profile::owncloud_server
       class 'owncloud'

role::puppet_server
|
+--profile::gallien_common
|      class 'gallien_default_users'
|      class 'openssh'
|      class 'trusted_certs' 
|      class 'send_nsca'
|
+--profile::puppet_server
       class 'puppet_master'

[...]

About

Provides a tree view of Puppet Modules according to Puppet's Roles-Profiles-Pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages