puppet-masterless 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/puppet-masterless +7 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0ed8aface71827a69d18e16e18084a12cd1549e
|
4
|
+
data.tar.gz: 82d1779ed59128a21005e193e9de7fe560ff1034
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49e7baee997edcc61bbc3d1e3b9e46bce2713848c8bd45bad16bbbd8b4f5512c1aaf543257c4e59bc8ee402433ec0be9bba01ef250deba9702ef64b1d4a31600
|
7
|
+
data.tar.gz: 57725f0ca6efc3c9fbf15e48ac637a5a26de792e6301f34e9543f13147cf8dbd003ef09dfead79eafda5b62c3b3d0e958e64e3a30f9c80b305a827224210682d
|
data/bin/puppet-masterless
CHANGED
@@ -153,13 +153,14 @@ module PuppetMasterless
|
|
153
153
|
|
154
154
|
def create_distribution
|
155
155
|
File.open(@output, 'w') do |o|
|
156
|
-
o.puts(
|
157
|
-
o.puts(
|
158
|
-
o.puts(
|
159
|
-
o.puts("
|
156
|
+
o.puts('#!/bin/sh -e')
|
157
|
+
o.puts('umask 077')
|
158
|
+
o.puts('cd "$(dirname "$0")"')
|
159
|
+
o.puts('sed "0,/^# EOF$/d" "$0" | gunzip -f | tar -xf-')
|
160
|
+
o.puts('cd ' << @path.shellescape)
|
160
161
|
o.puts(local_apply_command)
|
161
|
-
o.puts(
|
162
|
-
o.puts(
|
162
|
+
o.puts('exit 1')
|
163
|
+
o.puts('# EOF')
|
163
164
|
o.chmod(0755)
|
164
165
|
end
|
165
166
|
|