aboutsummaryrefslogtreecommitdiff
path: root/manifests/image.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-03 14:45:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-03 14:45:15 -0300
commit66934f65a4f057f49ab7c793f0ec78530c0c237e (patch)
treed0393700f90c7e918f9cb351e2d95c528a215e1a /manifests/image.pp
parente7cd367782c3d149e961bffcb93a5b1d5b710369 (diff)
downloadbootless-66934f65a4f057f49ab7c793f0ec78530c0c237e.tar.gz
bootless-66934f65a4f057f49ab7c793f0ec78530c0c237e.tar.bz2
Adds puppet manifests
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'],
+ }
+}