#/etc/puppet/modules/profile/manifests/linux/config/cert.pp #class { 'profile::linux::config::cert': arg => 'http://myrep/certs/myCA.pem' class profile::linux::config::cert ($arg = '',){ $buf = basename($arg) include ca_cert ca_cert::ca { $buf : ensure => present, source => $arg, } }