Extract value of owner_name, owner_email and comment to the kickstart template

How can I expose the owner_name, owner_email and comment to the kickstart
template

host YAML

··· --- classes: ntp: servers: - 1.1.1.1 - time1.example.com stdlib: timezone: timezone: America/Chicago parameters: puppetmaster: testhost.example.com domainname: example.com hostgroup: NP location: US organization: Example root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71 puppet_ca: rsat.example.com comment: This is a test foreman_env: development owner_name: Bernz Me owner_email: benrzme@example.com kt_cv: EL5 kt_env: development kt_org: Example kt_activation_keys: NP-CentOS5 environment: puppet_development ---

The <%= @host.location %> is ok but not the @host.owner_name I got the
error below

There was an error rendering the Example Kickstart template: undefined method ‘owner_name’ for Host::Managed::Jail (Host::Managed)

Thanks
Ryan

> How can I expose the owner_name, owner_email and comment to the kickstart
> template
>
> host YAML
> —
> classes:
> ntp:
> servers:
> - 1.1.1.1
> - time1.example.com
> stdlib:
> timezone:
> timezone: America/Chicago
> parameters:
> puppetmaster: testhost.example.com
> domainname: example.com
> hostgroup: NP
> location: US
> organization: Example
> root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71
> puppet_ca: rsat.example.com
> comment: This is a test
> foreman_env: development
> owner_name: Bernz Me
> owner_email: benrzme@example.com
> kt_cv: EL5
> kt_env: development
> kt_org: Example
> kt_activation_keys: NP-CentOS5
> environment: puppet_development
> —
>
> The <%= @host.location %> is ok but not the @host.owner_name I got the
> error below
>
> There was an error rendering the Example Kickstart template: undefined method 'owner_name' for Host::Managed::Jail (Host::Managed)

http://projects.theforeman.org/projects/foreman/wiki/templatewriting

I think this will do it:
<%= @host.params['owner_name'] %>

··· On Tue, Mar 17, 2015 at 12:33:30AM -0700, Ryan Mindaña wrote:

Thanks
Ryan


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Best Regards,

Stephen Benjamin
Red Hat Engineering

Hi Ryan,

By default, you cannot use @host.owner_name in a kickstart. The
Safemode jail will prevent you from using non approved attributes. You
can see a list of the valid attributes in [1].

You can either submit a pull request to Foreman core on Github (I think
it get accepted) where you add owner to the list of accepted attributes,
or you can just disable safemode render:

  • Go to Administer > Settings > Provisioning
  • Set safemode_render to false

[1] https://github.com/theforeman/foreman/blob/develop/app/models/host/managed.rb#L59

··· On 03/17, Ryan Mindaña wrote: > How can I expose the owner_name, owner_email and comment to the kickstart > template > > host YAML > --- > classes: > ntp: > servers: > - 1.1.1.1 > - time1.example.com > stdlib: > timezone: > timezone: America/Chicago > parameters: > puppetmaster: testhost.example.com > domainname: example.com > hostgroup: NP > location: US > organization: Example > root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71 > puppet_ca: rsat.example.com > comment: This is a test > foreman_env: development > owner_name: Bernz Me > owner_email: benrzme@example.com > kt_cv: EL5 > kt_env: development > kt_org: Example > kt_activation_keys: NP-CentOS5 > environment: puppet_development > --- > > The <%= @host.location %> is ok but not the @host.owner_name I got the > error below > > There was an error rendering the Example Kickstart template: undefined method 'owner_name' for Host::Managed::Jail (Host::Managed) > > > Thanks > Ryan > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@eLobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

Tried that and its just giving me empty value. Even if safe rendering is
false.

··· On Tuesday, March 17, 2015 at 5:44:27 PM UTC+8, Stephen Benjamin wrote: > > On Tue, Mar 17, 2015 at 12:33:30AM -0700, Ryan Mindaña wrote: > > How can I expose the owner_name, owner_email and comment to the > kickstart > > template > > > > host YAML > > --- > > classes: > > ntp: > > servers: > > - 1.1.1.1 > > - time1.example.com > > stdlib: > > timezone: > > timezone: America/Chicago > > parameters: > > puppetmaster: testhost.example.com > > domainname: example.com > > hostgroup: NP > > location: US > > organization: Example > > root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71 > > puppet_ca: rsat.example.com > > comment: This is a test > > foreman_env: development > > owner_name: Bernz Me > > owner_email: ben...@example.com > > kt_cv: EL5 > > kt_env: development > > kt_org: Example > > kt_activation_keys: NP-CentOS5 > > environment: puppet_development > > --- > > > > The <%= @host.location %> is ok but not the @host.owner_name I got the > > error below > > > > There was an error rendering the Example Kickstart template: undefined > method 'owner_name' for Host::Managed::Jail (Host::Managed) > > > http://projects.theforeman.org/projects/foreman/wiki/templatewriting > > I think this will do it: > <%= @host.params['owner_name'] %> > > > > > > > > > Thanks > > Ryan > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Best Regards, > > Stephen Benjamin > Red Hat Engineering >

Btw below is the packages version:

yum list installed foreman* pulp* katello*

Installed Packages
foreman.noarch 1.6.0.53-1.el6sat
@rhel-6-server-satellite-6.0-rpms
foreman-compute.noarch 1.6.0.53-1.el6sat
@rhel-6-server-satellite-6.0-rpms
foreman-gce.noarch 1.6.0.53-1.el6sat
@rhel-6-server-satellite-6.0-rpms
foreman-libvirt.noarch 1.6.0.53-1.el6sat
@rhel-6-server-satellite-6.0-rpms
foreman-ovirt.noarch 1.6.0.53-1.el6sat
@rhel-6-server-satellite-6.0-rpms
foreman-postgresql.noarch 1.6.0.53-1.el6sat
@rhel-6-server-satellite-6.0-rpms
foreman-proxy.noarch 1.6.0.33-1.el6sat
@rhel-6-server-satellite-6.0-rpms
foreman-selinux.noarch 1.6.0.14-1.el6sat
@rhel-6-server-satellite-6.0-rpms
foreman-vmware.noarch 1.6.0.53-1.el6sat
@rhel-6-server-satellite-6.0-rpms
katello.noarch 1.5.0-30.el6sat
@rhel-6-server-satellite-6.0-rpms
katello-certs-tools.noarch 1.5.6-1.el6sat
@rhel-6-server-satellite-6.0-rpms
katello-default-ca.noarch 1.0-1
installed
katello-installer.noarch 0.0.67-1.el6sat
@rhel-6-server-satellite-6.0-rpms
katello-server-ca.noarch 1.0-1
installed
pulp-katello.noarch 0.3-4.el6sat
@rhel-6-server-satellite-6.0-rpms
pulp-nodes-common.noarch 2.4.4-1.el6sat
@rhel-6-server-satellite-6.0-rpms
pulp-nodes-parent.noarch 2.4.4-1.el6sat
@rhel-6-server-satellite-6.0-rpms
pulp-puppet-plugins.noarch 2.4.4-1.el6sat
@rhel-6-server-satellite-6.0-rpms
pulp-puppet-tools.noarch 2.4.4-1.el6sat
@rhel-6-server-satellite-6.0-rpms
pulp-rpm-plugins.noarch 2.4.4-1.1.el6sat
@rhel-6-server-satellite-6.0-rpms
pulp-selinux.noarch 2.4.4-1.el6sat
@rhel-6-server-satellite-6.0-rpms
pulp-server.noarch 2.4.4-1.el6sat
@rhel-6-server-satellite-6.0-rpms

Thanks
Ryan

··· On Tuesday, March 17, 2015 at 5:44:27 PM UTC+8, Stephen Benjamin wrote: > > On Tue, Mar 17, 2015 at 12:33:30AM -0700, Ryan Mindaña wrote: > > How can I expose the owner_name, owner_email and comment to the > kickstart > > template > > > > host YAML > > --- > > classes: > > ntp: > > servers: > > - 1.1.1.1 > > - time1.example.com > > stdlib: > > timezone: > > timezone: America/Chicago > > parameters: > > puppetmaster: testhost.example.com > > domainname: example.com > > hostgroup: NP > > location: US > > organization: Example > > root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71 > > puppet_ca: rsat.example.com > > comment: This is a test > > foreman_env: development > > owner_name: Bernz Me > > owner_email: ben...@example.com > > kt_cv: EL5 > > kt_env: development > > kt_org: Example > > kt_activation_keys: NP-CentOS5 > > environment: puppet_development > > --- > > > > The <%= @host.location %> is ok but not the @host.owner_name I got the > > error below > > > > There was an error rendering the Example Kickstart template: undefined > method 'owner_name' for Host::Managed::Jail (Host::Managed) > > > http://projects.theforeman.org/projects/foreman/wiki/templatewriting > > I think this will do it: > <%= @host.params['owner_name'] %> > > > > > > > > > Thanks > > Ryan > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Best Regards, > > Stephen Benjamin > Red Hat Engineering >

> Tried that and its just giving me empty value. Even if safe rendering is
> false.

Maybe try <%= @host.info['owner_name'] %> instead

··· On Tue, Mar 17, 2015 at 02:50:39AM -0700, Ryan Mindaña wrote:

On Tuesday, March 17, 2015 at 5:44:27 PM UTC+8, Stephen Benjamin wrote:

On Tue, Mar 17, 2015 at 12:33:30AM -0700, Ryan Mindaña wrote:

How can I expose the owner_name, owner_email and comment to the
kickstart
template

host YAML

classes:
ntp:
servers:
- 1.1.1.1
- time1.example.com
stdlib:
timezone:
timezone: America/Chicago
parameters:
puppetmaster: testhost.example.com
domainname: example.com
hostgroup: NP
location: US
organization: Example
root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71
puppet_ca: rsat.example.com
comment: This is a test
foreman_env: development
owner_name: Bernz Me
owner_email: ben...@example.com <javascript:>
kt_cv: EL5
kt_env: development
kt_org: Example
kt_activation_keys: NP-CentOS5
environment: puppet_development

The <%= @host.location %> is ok but not the @host.owner_name I got the
error below

There was an error rendering the Example Kickstart template: undefined
method ‘owner_name’ for Host::Managed::Jail (Host::Managed)

TemplateWriting - Foreman

I think this will do it:
<%= @host.params[‘owner_name’] %>

Thanks
Ryan


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-user...@googlegroups.com <javascript:>.
To post to this group, send email to forema...@googlegroups.com
<javascript:>.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Best Regards,

Stephen Benjamin
Red Hat Engineering


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Best Regards,

Stephen Benjamin
Red Hat Engineering

> Hi Ryan,
>
> By default, you cannot use @host.owner_name in a kickstart. The
> Safemode jail will prevent you from using non approved attributes. You
> can see a list of the valid attributes in [1].
>
> You can either submit a pull request to Foreman core on Github (I think
> it get accepted) where you add owner to the list of accepted attributes,
> or you can just disable safemode render:
> * Go to Administer > Settings > Provisioning
> * Set safemode_render to false

But info is allowed though, which should contain owner_name but it
doesn't seem to, that may be a bug.

··· On Wed, Mar 18, 2015 at 09:13:16AM +0200, Daniel Lobato Garcia wrote:

[1] https://github.com/theforeman/foreman/blob/develop/app/models/host/managed.rb#L59

On 03/17, Ryan Mindaña wrote:

How can I expose the owner_name, owner_email and comment to the kickstart
template

host YAML

classes:
ntp:
servers:
- 1.1.1.1
- time1.example.com
stdlib:
timezone:
timezone: America/Chicago
parameters:
puppetmaster: testhost.example.com
domainname: example.com
hostgroup: NP
location: US
organization: Example
root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71
puppet_ca: rsat.example.com
comment: This is a test
foreman_env: development
owner_name: Bernz Me
owner_email: benrzme@example.com
kt_cv: EL5
kt_env: development
kt_org: Example
kt_activation_keys: NP-CentOS5
environment: puppet_development

The <%= @host.location %> is ok but not the @host.owner_name I got the
error below

There was an error rendering the Example Kickstart template: undefined method ‘owner_name’ for Host::Managed::Jail (Host::Managed)

Thanks
Ryan


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@eLobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Best Regards,

Stephen Benjamin
Red Hat Engineering

Thanks for the information, even if safemode_render is set to false it is
still not working, below is the exact error when it is set to false using
@host.owner_name:

There was an error rendering the Example Kickstart template:
uninitialized constant Owner

Regards,
Ryan

Hi Stephen, it still return an empty value. Thanks

··· On Tuesday, March 17, 2015 at 6:07:40 PM UTC+8, Stephen Benjamin wrote: > > On Tue, Mar 17, 2015 at 02:50:39AM -0700, Ryan Mindaña wrote: > > Tried that and its just giving me empty value. Even if safe rendering is > > false. > > Maybe try <%= @host.info['owner_name'] %> instead > > > > > > On Tuesday, March 17, 2015 at 5:44:27 PM UTC+8, Stephen Benjamin wrote: > > > > > > On Tue, Mar 17, 2015 at 12:33:30AM -0700, Ryan Mindaña wrote: > > > > How can I expose the owner_name, owner_email and comment to the > > > kickstart > > > > template > > > > > > > > host YAML > > > > --- > > > > classes: > > > > ntp: > > > > servers: > > > > - 1.1.1.1 > > > > - time1.example.com > > > > stdlib: > > > > timezone: > > > > timezone: America/Chicago > > > > parameters: > > > > puppetmaster: testhost.example.com > > > > domainname: example.com > > > > hostgroup: NP > > > > location: US > > > > organization: Example > > > > root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71 > > > > puppet_ca: rsat.example.com > > > > comment: This is a test > > > > foreman_env: development > > > > owner_name: Bernz Me > > > > owner_email: ben...@example.com > > > > kt_cv: EL5 > > > > kt_env: development > > > > kt_org: Example > > > > kt_activation_keys: NP-CentOS5 > > > > environment: puppet_development > > > > --- > > > > > > > > The <%= @host.location %> is ok but not the @host.owner_name I got > the > > > > error below > > > > > > > > There was an error rendering the Example Kickstart template: > undefined > > > method 'owner_name' for Host::Managed::Jail (Host::Managed) > > > > > > > > > http://projects.theforeman.org/projects/foreman/wiki/templatewriting > > > > > > I think this will do it: > > > <%= @host.params['owner_name'] %> > > > > > > > > > > > > > > > > > > > > > Thanks > > > > Ryan > > > > > > > > -- > > > > You received this message because you are subscribed to the Google > > > Groups "Foreman users" group. > > > > To unsubscribe from this group and stop receiving emails from it, > send > > > an email to foreman-user...@googlegroups.com . > > > > To post to this group, send email to forema...@googlegroups.com > > > . > > > > Visit this group at http://groups.google.com/group/foreman-users. > > > > For more options, visit https://groups.google.com/d/optout. > > > > > > > > > -- > > > Best Regards, > > > > > > Stephen Benjamin > > > Red Hat Engineering > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > -- > Best Regards, > > Stephen Benjamin > Red Hat Engineering >

> > Hi Ryan,
> >
> > By default, you cannot use @host.owner_name in a kickstart. The
> > Safemode jail will prevent you from using non approved attributes. You
> > can see a list of the valid attributes in [1].
> >
> > You can either submit a pull request to Foreman core on Github (I think
> > it get accepted) where you add owner to the list of accepted attributes,
> > or you can just disable safemode render:
> > * Go to Administer > Settings > Provisioning
> > * Set safemode_render to false
>
> But info is allowed though, which should contain owner_name but it
> doesn't seem to, that may be a bug.

Almost that, it's @host.info['parameters']['owner_name'] and
@host.info['parameters']['owner_email'], that works, you're right.

No need to turn off safemode, although if you want the login you would
have to turn it off to run @host.owner.login.

Hope that helps

··· On 03/18, Stephen Benjamin wrote: > On Wed, Mar 18, 2015 at 09:13:16AM +0200, Daniel Lobato Garcia wrote: > > > > > > > [1] https://github.com/theforeman/foreman/blob/develop/app/models/host/managed.rb#L59 > > > > On 03/17, Ryan Mindaña wrote: > > > How can I expose the owner_name, owner_email and comment to the kickstart > > > template > > > > > > host YAML > > > --- > > > classes: > > > ntp: > > > servers: > > > - 1.1.1.1 > > > - time1.example.com > > > stdlib: > > > timezone: > > > timezone: America/Chicago > > > parameters: > > > puppetmaster: testhost.example.com > > > domainname: example.com > > > hostgroup: NP > > > location: US > > > organization: Example > > > root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71 > > > puppet_ca: rsat.example.com > > > comment: This is a test > > > foreman_env: development > > > owner_name: Bernz Me > > > owner_email: benrzme@example.com > > > kt_cv: EL5 > > > kt_env: development > > > kt_org: Example > > > kt_activation_keys: NP-CentOS5 > > > environment: puppet_development > > > --- > > > > > > The <%= @host.location %> is ok but not the @host.owner_name I got the > > > error below > > > > > > There was an error rendering the Example Kickstart template: undefined method 'owner_name' for Host::Managed::Jail (Host::Managed) > > > > > > > > > Thanks > > > Ryan > > > > > > -- > > > You received this message because you are subscribed to the Google Groups "Foreman users" group. > > > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > > > To post to this group, send email to foreman-users@googlegroups.com. > > > Visit this group at http://groups.google.com/group/foreman-users. > > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > Daniel Lobato Garcia > > > > @eLobatoss > > blog.daniellobato.me > > daniellobato.me > > > > GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 > > Keybase: https://keybase.io/elobato > > > > -- > > You received this message because you are subscribed to the Google Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > > To post to this group, send email to foreman-users@googlegroups.com. > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Best Regards, > > Stephen Benjamin > Red Hat Engineering > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@eLobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

Oohhh yeah it works!! thanks for your help guys :slight_smile:

Regards,
Ryan

··· On Thu, Mar 19, 2015 at 3:53 PM, Daniel Lobato Garcia wrote:

On 03/18, Stephen Benjamin wrote:

On Wed, Mar 18, 2015 at 09:13:16AM +0200, Daniel Lobato Garcia wrote:

Hi Ryan,

By default, you cannot use @host.owner_name in a kickstart. The
Safemode jail will prevent you from using non approved attributes. You
can see a list of the valid attributes in [1].

You can either submit a pull request to Foreman core on Github (I think
it get accepted) where you add owner to the list of accepted
attributes,

or you can just disable safemode render:

  • Go to Administer > Settings > Provisioning
  • Set safemode_render to false

But info is allowed though, which should contain owner_name but it
doesn’t seem to, that may be a bug.

Almost that, it’s @host.info[‘parameters’][‘owner_name’] and
@host.info[‘parameters’][‘owner_email’], that works, you’re right.

No need to turn off safemode, although if you want the login you would
have to turn it off to run @host.owner.login.

Hope that helps

[1]
https://github.com/theforeman/foreman/blob/develop/app/models/host/managed.rb#L59

On 03/17, Ryan Mindaña wrote:

How can I expose the owner_name, owner_email and comment to the
kickstart

template

host YAML

classes:
ntp:
servers:
- 1.1.1.1
- time1.example.com
stdlib:
timezone:
timezone: America/Chicago
parameters:
puppetmaster: testhost.example.com
domainname: example.com
hostgroup: NP
location: US
organization: Example
root_pw: $1$dLNDF9UC$2h1dqsd1GvhCnijZf9/D71
puppet_ca: rsat.example.com
comment: This is a test
foreman_env: development
owner_name: Bernz Me
owner_email: benrzme@example.com
kt_cv: EL5
kt_env: development
kt_org: Example
kt_activation_keys: NP-CentOS5
environment: puppet_development

The <%= @host.location %> is ok but not the @host.owner_name I got
the

error below

There was an error rendering the Example Kickstart template:
undefined method ‘owner_name’ for Host::Managed::Jail (Host::Managed)

Thanks
Ryan


You received this message because you are subscribed to the Google
Groups “Foreman users” group.

To unsubscribe from this group and stop receiving emails from it,
send an email to foreman-users+unsubscribe@googlegroups.com.

To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@eLobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato


You received this message because you are subscribed to the Google
Groups “Foreman users” group.

To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com.

To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Best Regards,

Stephen Benjamin
Red Hat Engineering


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@eLobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/iDxi6AvQEcU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.