-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puppet (apply) provisioning plugin #629
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😻
libioc/Provisioning/puppet.py
Outdated
self.url = url | ||
self.name = name | ||
|
||
_pkgs = ['puppet6'] # make this a Global Varialbe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can make the 6
a provisioning.puppet.version=6
default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
help with nomenclature please
1669aa9
to
43fd53a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a lot of potential here
0fa7f04
to
ad92f11
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
provisioning plugins: dedicated dataset for caching / sharing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
bf347cb
to
f87af03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
provisioning.name has been re-removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local
control-repo no longer works.
1a079e3
to
68857fb
Compare
6e18f7f
to
67081a4
Compare
@igalic we still have to test remote repositories. Also it would be nice to provide authentication information for remote sources. Any ideas? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
filepath=path, | ||
resource=self.jail | ||
) | ||
self.jail._require_relative_path(path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a method so important for security could be made public…
f6c00b9
to
b911599
Compare
@gronke wrote:
so, right now, the repo i'm using is on gitlab and is only accessible with the correct SSH keys however, it has no secretes and i could expose it publicly as for authentication: the easiest way would be to mount an (root's?) |
Nein! We need proper key management to allow authenticated sources. How about an |
b911599
to
91f1bed
Compare
this is mostly copied from the iX plugin and renames / removes a bunch of things we don't need. There's still a lot of confusion wrt the naming. We also need to generalize the plugin so we'll be able to work with both `puppet apply` and `puppet agent`
address review by @gronke
regardless of what type of plugin it was created from
use these for generate_postscript which, so far, is still just a hollow ghost.
let r10k handle the rest! and, to let r10k handle the rest, we need to mount the dataset as rw
This fixes a regression with previous functionality!
…t/bin globally in Jail.env
- do *not* git clone the control repo - instead, let r10k do the work - do do so, install git(-lite) Finally, fix r10k's config location (create dir), name (yml -> yaml), and content (indentation)
bf1f327
to
a0f8d2a
Compare
This patch introduces Puppet (apply) as provisioning method, addressing #625
So far the design requires a (unique) name, a source (the control-repo) and an optional list of packages to be pre-installed.
By default that List of packages is
puppet6
, and if the source is a git repo,rubygem-r10k
.To begin the provisioning, we
we could also consider to run puppet more than once, to guarantee idempotence.