On Tue, Oct 11, 2016 at 12:08 AM, Dominic Cleal <[email protected]> wrote:
> On 11/10/16 02:44, Stefan Lasiewski wrote: > > [root@puppet ~]# foreman-rake templates:purge > > rake aborted! > > Don't know how to build task 'templates:purge' > > It's unlikely that the version you have installed contains this feature. > It appears to be in version 3.0.0, but it was released for Foreman 1.12 > and higher. You can check your version from the About page or by running > `foreman-rake plugin:list`. > Ah, I see. I'm running 2.1.0: ``` # foreman-rake plugin:list ... Foreman plugin: foreman_templates, 2.1.0, Greg Sutcliffe, Engine to synchronise provisioning templates from GitHub ``` The `templates:purge` command was added just over a month ago, and the documentation is available in an older version of https://github.com/theforeman/foreman_templates. I was able to get the correct version of my templates by specifying the correct foreman branch, like this: foreman-rake templates:sync branch=1.11-stable I was expecting `foreman-rake templates:sync` to sync to the `1.11-stable` branch, but instead appears to sync to a newer version instead, and those templates are not compatible with 1.11. Thanks for the help. -= Stefan -- Stefan Lasiewski Email: [email protected] Computer System Engineer III Email: [email protected] NERSC Data Infrastructure Group National Energy Research Scientific Computing Center (NERSC <http://nersc.gov>) Lawrence Berkeley National Laboratory -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
