diff --git a/manifests/init.pp b/manifests/init.pp index c2c60ac4..71832351 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -74,7 +74,7 @@ This node is under the control of Puppet ${::puppetversion}. if $::osfamily == 'RedHat' and $rhn_registration { create_resources('rhn_register', { - $::hostname => $rhn_registration + "${::hostname}" => $rhn_registration } ) } }