Missing provisioning templates

Hi, I was reorganizing my foreman configuration, then an environment
was eliminated. In doing so the provisioning templates associated with
that hostgroup/environment disappeared. Is this normal behavior? Can I
recover those templates from somewhere?

Thanks!

> Hi, I was reorganizing my foreman configuration, then an environment
> was eliminated. In doing so the provisioning templates associated with
> that hostgroup/environment disappeared. Is this normal behavior? Can I
> recover those templates from somewhere?
>

Afaik, deleting an environment will not delete any templates, if it does,
please open a bug…

at the moment its not possible to retrieve a deleted template ( unless you
had a backup of your database), but it does make sense to have some sort of
versioning around templating withing foreman… please consider adding a
feature request for that…

if it was based on the original templates, then they are available on the
file system, under app/views/unattended directory.

Ohad

··· On Mon, Apr 25, 2011 at 11:41 AM, Juaningan wrote:

Thanks!


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

OK. I will open a bug then…

Thanks for the "original templates" tip. Now I have something for restart.

··· On Mon, Apr 25, 2011 at 2:16 PM, Ohad Levy wrote:

On Mon, Apr 25, 2011 at 11:41 AM, Juaningan juanjop@gmail.com wrote:

Hi, I was reorganizing my foreman configuration, then an environment
was eliminated. In doing so the provisioning templates associated with
that hostgroup/environment disappeared. Is this normal behavior? Can I
recover those templates from somewhere?

Afaik, deleting an environment will not delete any templates, if it does,
please open a bug…

at the moment its not possible to retrieve a deleted template ( unless you
had a backup of your database), but it does make sense to have some sort of
versioning around templating withing foreman… please consider adding a
feature request for that…

if it was based on the original templates, then they are available on the
file system, under app/views/unattended directory.

Ohad

Thanks!


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.