Question about foreman puppet classes

Hi Guys,

I'm new to foreman and puppet, I'm trying to set the 2 of them to manage my
infrastructure, i've got a simple question but i canot find an easy answer
in the internet

I 've installed a module like

which says
that i have to enter something like that
in the class logrotate::file

logrotate::file {
'puppet':
log => '/var/log/puppet/*log',
options => [ 'missingok', 'notifempty', 'create 0644 puppet puppet',
'sharedscripts', 'weekly' ],
postrotate => [ '[ -e /etc/init.d/puppetmaster ] &&
/etc/init.d/puppetmaster condrestart >/dev/null 2>&1 || true',
'[ -e /etc/init.d/puppet ] && /etc/init.d/puppet
reload > /dev/null 2>&1 || true' ],
ensure => 'present';
}

Could someone tell how can i use that in Smart class parameter
i.e i've checked the override button
but i can't find what to enter as Parameter type ?
and what should i eneter as default value

Regards
john

Auto Generated Inline Image 1 (11.5 KB)

You can't instantiate Puppet defines (as opposed to classes) directly from
an ENC (which is what Foreman is). See
http://projects.theforeman.org/projects/foreman/wiki/Instantiate_Puppet_resources
for various approaches to this.

Greg