How to update a repo?

22 views
Skip to first unread message

Alex Scoble

unread,
Aug 10, 2016, 6:43:48 PM8/10/16
to puppet-razor
Hello all,

I can't find this answered in the docs or in the group. I'm trying to figure out how to update a repo with a new ISO.

Anyone have any ideas? We have far too many policies in place to change the repos they point to. There should be a way that a repo can simply be updated when a new ISO version comes out.

Thanks,

Alex

Scott McClellan

unread,
Aug 10, 2016, 7:26:29 PM8/10/16
to puppet...@googlegroups.com
Hi Alex,

There is currently no in-place update for a repo's source (url, iso-url, or no-content), partially because a source like `iso-url` would have a limbo period where the repo is still pointing to the old ISO's contents but is downloading the new ISO.

With that in mind, my best suggestion I can offer is to download the ISO contents and place them in the repo root folder manually, over the existing contents. The `iso-url` property on a repo is used for the download only, so the new contents will be used for future installs.

We do have a ticket to create an `update-policy-repo` command to make this easier to change a policy's referenced repo, but nothing for an `update-repo-source` command (if that limbo period can be handled). 

Hope the above solution will work out for you for now!

Scott

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

Alex Scoble

unread,
Aug 11, 2016, 2:56:17 PM8/11/16
to puppet...@googlegroups.com
Hi Scott,

That is actually exactly what I needed. Thanks,

Alex

On Wed, Aug 10, 2016 at 4:26 PM, Scott McClellan <scott.m...@puppet.com> wrote:
Hi Alex,

There is currently no in-place update for a repo's source (url, iso-url, or no-content), partially because a source like `iso-url` would have a limbo period where the repo is still pointing to the old ISO's contents but is downloading the new ISO.

With that in mind, my best suggestion I can offer is to download the ISO contents and place them in the repo root folder manually, over the existing contents. The `iso-url` property on a repo is used for the download only, so the new contents will be used for future installs.

We do have a ticket to create an `update-policy-repo` command to make this easier to change a policy's referenced repo, but nothing for an `update-repo-source` command (if that limbo period can be handled). 

Hope the above solution will work out for you for now!

Scott

On Wed, Aug 10, 2016 at 5:43 PM Alex Scoble <bloggi...@gmail.com> wrote:
Hello all,

I can't find this answered in the docs or in the group. I'm trying to figure out how to update a repo with a new ISO.

Anyone have any ideas? We have far too many policies in place to change the repos they point to. There should be a way that a repo can simply be updated when a new ISO version comes out.

Thanks,

Alex

--
You received this message because you are subscribed to the Google Groups "puppet-razor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-razor+unsubscribe@googlegroups.com.

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

--
You received this message because you are subscribed to a topic in the Google Groups "puppet-razor" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-razor/cYYlYrrpWgk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-razor+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages