aboutsummaryrefslogtreecommitdiff
path: root/manifests/image.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/image.pp')
-rw-r--r--manifests/image.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/image.pp b/manifests/image.pp
new file mode 100644
index 0000000..dd093c6
--- /dev/null
+++ b/manifests/image.pp
@@ -0,0 +1,9 @@
+define bootless::image(
+ $path,
+) {
+ exec { "bootless-image-${name}":
+ command => "/usr/local/bin/bootless image ${::bootless::folder} ${path}"
+ owner => ${::bootless::owner},
+ require => Exec['bootless-init'],
+ }
+}