# Revision history [back]

I'm not sure how your hostname structure is setup within your network or your puppet configuration. One possible way to do this (depending on your setup, ofc) is via the puppet-sudo module.

With a pretty simple setup you can use the node matching via Regular expressions and that way deploy your configuration to the nodes.

This might - however - limit you in your future growth and expanding of the configuration. Today I'd probably use roles and profiles or an ENC (external node classifier) like Hiera.

I'm not sure how your hostname structure is setup within your network or your puppet configuration. One possible way to do this (depending on your setup, ofc) is via the puppet-sudo[saz/sudo}(https://forge.puppetlabs.com/saz/sudo module.

With a pretty simple setup you can use the node matching via Regular expressions and that way deploy your configuration to the nodes.

This might - however - limit you in your future growth and expanding of the configuration. Today I'd probably use roles and profiles or an ENC (external node classifier) like Hiera.

I'm not sure how your hostname structure is setup within your network or your puppet configuration. One possible way to do this (depending on your setup, ofc) is via the [saz/sudo}(https://forge.puppetlabs.com/saz/sudosaz/sudo module.

With a pretty simple setup you can use the node matching via Regular expressions and that way deploy your configuration to the nodes.

This might - however - limit you in your future growth and expanding of the configuration. Today I'd probably use roles and profiles or an ENC (external node classifier) like Hiera.